Skip to content

Commit 6c8e9a1

Browse files
committed
fix: improve task report tool complete status
1 parent 9db114d commit 6c8e9a1

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)