Commit 5b21e93
committed
Use ResultSuccess/ResultError helpers in tasks and user_prompt tools
Replace raw ToolCallResult struct literals with the ResultSuccess and
ResultError helper functions in nextTask (tasks.go) and userPrompt
(user_prompt.go) for consistency with the rest of the codebase.
Assisted-By: docker-agent1 parent f3168fb commit 5b21e93
2 files changed
Lines changed: 2 additions & 7 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
459 | 459 | | |
460 | 460 | | |
461 | 461 | | |
462 | | - | |
463 | | - | |
464 | | - | |
| 462 | + | |
465 | 463 | | |
466 | 464 | | |
467 | 465 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
74 | 74 | | |
75 | 75 | | |
76 | 76 | | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
| 77 | + | |
81 | 78 | | |
82 | 79 | | |
83 | 80 | | |
| |||
0 commit comments