Commit f8f1ada
fix: detect model from tool.execution_complete in newer CLI sessions
Newer Copilot CLI sessions omit selectedModel from session.start. The
model now appears in tool.execution_complete events as data.model (e.g.
claude-sonnet-4.6). The pre-scan now falls through to the first such
event when session.start carries no selectedModel, fixing all turns
incorrectly showing gpt-4o.
Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com>1 parent 2bd1910 commit f8f1ada
1 file changed
Lines changed: 14 additions & 2 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4141 | 4141 | | |
4142 | 4142 | | |
4143 | 4143 | | |
4144 | | - | |
| 4144 | + | |
| 4145 | + | |
| 4146 | + | |
| 4147 | + | |
4145 | 4148 | | |
4146 | 4149 | | |
4147 | 4150 | | |
4148 | 4151 | | |
4149 | | - | |
| 4152 | + | |
| 4153 | + | |
| 4154 | + | |
| 4155 | + | |
4150 | 4156 | | |
| 4157 | + | |
| 4158 | + | |
| 4159 | + | |
| 4160 | + | |
| 4161 | + | |
| 4162 | + | |
4151 | 4163 | | |
4152 | 4164 | | |
4153 | 4165 | | |
| |||
0 commit comments