fix(core) switching model appends model instructions (#10651)

## Summary
When switching models, we should append the instructions of the new
model to the conversation as a developer message.

## Test
- [x] Adds a unit test
This commit is contained in:
Dylan Hurd
2026-02-04 21:50:38 -08:00
committed by GitHub
parent a05aadfa1b
commit e482978261
7 changed files with 261 additions and 4 deletions

View File

@@ -84,6 +84,7 @@ mod live_cli;
mod live_reload;
mod model_info_overrides;
mod model_overrides;
mod model_switching;
mod model_tools;
mod models_cache_ttl;
mod models_etag_responses;