Skip to content

Commit d44d8ab

Browse files
authored
fix: improve task report tool complete status (#18138)
1 parent 9b53e69 commit d44d8ab

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

codersdk/toolsdk/toolsdk.go

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -197,10 +197,9 @@ Bad Tasks
197197
- "I'm trying to implement <feature-name>"
198198
199199
Use the "state" field to indicate your progress. Periodically report
200-
progress to keep the user updated. It is not possible to send too many updates!
200+
progress with state "working" to keep the user updated. It is not possible to send too many updates!
201201
202-
After you complete your work, ALWAYS send a "complete" or "failure" state. Only report
203-
these states if you are finished, not if you are working on it.
202+
ONLY report a "complete" or "failure" state if you have FULLY completed the task.
204203
`,
205204
Schema: aisdk.Schema{
206205
Properties: map[string]any{

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy