zeroclaw/src/agent
Vasanth 58b98c59a8
feat(agent): add runtime model switching via model_switch tool (#3853)
Add support for switching AI models at runtime during a conversation.
The model_switch tool allows users to:
- Get current model state
- List available providers
- List models for a provider
- Switch to a different model

The switch takes effect immediately for the current conversation by
recreating the provider with the new model after tool execution.

Risk: Medium - internal state changes and provider recreation
2026-03-18 14:17:52 -04:00
..
agent.rs feat(gateway): persist WS chat sessions across restarts (#3813) 2026-03-17 14:26:39 -04:00
classifier.rs feat(agent): log query classification route decisions 2026-02-24 16:02:59 +08:00
dispatcher.rs fix(agent): prevent duplicate tool schema injection in XML dispatcher (#3744) 2026-03-16 18:38:44 -04:00
loop_.rs feat(agent): add runtime model switching via model_switch tool (#3853) 2026-03-18 14:17:52 -04:00
memory_loader.rs fix(memory): filter autosave noise and scope recall/store by session (#3695) 2026-03-16 16:36:35 -04:00
mod.rs feat(agent): add rule-based query classification for automatic model routing 2026-02-18 14:41:58 +08:00
prompt.rs fix(agent): add channel media markers to system prompt (#3459) 2026-03-14 06:58:40 -04:00
tests.rs fix(agent): prevent duplicate tool schema injection in XML dispatcher (#3744) 2026-03-16 18:38:44 -04:00