Repository navigation
Commit d0cdbc5
committed
fix(acp): read Copilot's shown effort before the new session can replace it
Copilot answers the model write with a config_option_update carrying the
new session's own effort, and T3 publishes that as the instance's live
configuration. Reading the shown effort after the model write therefore
saw the new session's value and sent no effort write. The adapter now
reads it before starting the session.
Refs #35172
AI-assisted; verified with the tests and tools listed above.1 parent 8a08403 commit d0cdbc5
2 files changed
Lines changed: 23 additions & 10 deletions
File tree
- apps/server/src/orchestration-v2/Adapters
- packages/provider-acp/src/server
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
552 | | - | |
| 552 | + | |
553 | 553 | | |
554 | 554 | | |
555 | 555 | | |
| |||
847 | 847 | | |
848 | 848 | | |
849 | 849 | | |
| 850 | + | |
| 851 | + | |
| 852 | + | |
| 853 | + | |
| 854 | + | |
| 855 | + | |
| 856 | + | |
| 857 | + | |
| 858 | + | |
| 859 | + | |
| 860 | + | |
| 861 | + | |
| 862 | + | |
| 863 | + | |
| 864 | + | |
850 | 865 | | |
851 | 866 | | |
852 | 867 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
7159 | 7159 | | |
7160 | 7160 | | |
7161 | 7161 | | |
| 7162 | + | |
| 7163 | + | |
7162 | 7164 | | |
7163 | 7165 | | |
7164 | 7166 | | |
| |||
7257 | 7259 | | |
7258 | 7260 | | |
7259 | 7261 | | |
7260 | | - | |
| 7262 | + | |
7261 | 7263 | | |
7262 | 7264 | | |
7263 | 7265 | | |
| |||
7351 | 7353 | | |
7352 | 7354 | | |
7353 | 7355 | | |
7354 | | - | |
7355 | | - | |
7356 | | - | |
7357 | | - | |
7358 | | - | |
7359 | | - | |
7360 | | - | |
| 7356 | + | |
| 7357 | + | |
| 7358 | + | |
7361 | 7359 | | |
7362 | 7360 | | |
7363 | 7361 | | |
| |||
7524 | 7522 | | |
7525 | 7523 | | |
7526 | 7524 | | |
7527 | | - | |
| 7525 | + | |
7528 | 7526 | | |
7529 | 7527 | | |
7530 | 7528 | | |
| |||
0 commit comments