Repository navigation
Commit f9ce51f
committed
fix(server): ACP retries a config option whose write failed for a reason other than refusal
Only an invalid-params (-32602) answer to session/set_config_option is the
agent refusing the value; other errors now fail session configuration so the
next turn resends the option instead of recording it as applied.
Fixes #33117
AI-assisted; verified with the tests and tools listed above.1 parent d3598d1 commit f9ce51f
1 file changed
Lines changed: 7 additions & 5 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7391 | 7391 | | |
7392 | 7392 | | |
7393 | 7393 | | |
7394 | | - | |
7395 | | - | |
7396 | | - | |
7397 | | - | |
7398 | | - | |
| 7394 | + | |
| 7395 | + | |
| 7396 | + | |
| 7397 | + | |
| 7398 | + | |
| 7399 | + | |
| 7400 | + | |
7399 | 7401 | | |
7400 | 7402 | | |
7401 | 7403 | | |
| |||
0 commit comments