Commit 9928680
committed
agents: include allow-list hint in disallowed model override error
Mirror the existing helpful hint from
src/auto-reply/reply/get-reply-directives-apply.ts:72 onto the
parallel error thrown in src/agents/agent-command.ts when an
explicit model override is rejected by the visibility policy.
Existing test (src/commands/agent.test.ts:1068) uses toThrow(string)
substring matching, so appending the hint is backward compatible
and no test changes are required.
See #82979 review thread for the broader context: this PR was
originally larger but ClawSweeper correctly pointed out that
#82864 already lands the routing fixes I had documented as a
workaround, so the docs hunks have been dropped.1 parent 1f6abab commit 9928680
1 file changed
Lines changed: 1 addition & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
923 | 923 | | |
924 | 924 | | |
925 | 925 | | |
926 | | - | |
| 926 | + | |
927 | 927 | | |
928 | 928 | | |
929 | 929 | | |
| |||
0 commit comments