Commit 439f4fd
authored
fix(coderd/x/chatd): clarify the no-workspace tool error message (#29237)
The old message, "no workspace is associated with this chat," read like
a general chat error and did not make clear that the *tool call itself*
needed a workspace. Smaller/local models tend to misread vague tool
errors as a hard stop, so the new wording says directly what is missing
and what to do: "this tool requires a workspace and this chat does not
have one."
Fixes CODAGT-1029
> Generated by Coder Agents on behalf of @bpmct.1 parent e868204 commit 439f4fd
3 files changed
Lines changed: 3 additions & 3 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
623 | 623 | | |
624 | 624 | | |
625 | 625 | | |
626 | | - | |
| 626 | + | |
627 | 627 | | |
628 | 628 | | |
629 | 629 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
35 | 35 | | |
36 | 36 | | |
37 | 37 | | |
38 | | - | |
| 38 | + | |
39 | 39 | | |
40 | 40 | | |
41 | 41 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
159 | 159 | | |
160 | 160 | | |
161 | 161 | | |
162 | | - | |
| 162 | + | |
163 | 163 | | |
164 | 164 | | |
165 | 165 | | |
| |||
0 commit comments