"session": {
"model": {
"switchTo": {
this method in copilot SDK switches the model all right, but it doesn't seem to retain state.
I tried it with a session with gpt.4-1 and when switched to another model it didn't take the history.
If this doesn't work, then there is no need to "switch" the model, a new session might simply be created.