claw-code/rust/crates
TheArchitectit 8beb1b8614 fix(team): read provider().model() not feature model for sub-agent default
load_main_model_from_config() read config.model() — the feature-config
model from settings.json (e.g. 'openai/glm-5.1-fast') — instead of
config.provider().model() — the /setup-saved active provider model
(e.g. 'custom/openclaw'). The latter is what the main session actually
connects with and what the status bar shows. Sub-agents inherited the
wrong model, which might not exist on the custom endpoint.

Fix: use config.provider().model() so sub-agents default to the same
provider that the user's main session is connected to.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
2026-06-17 13:09:06 -05:00
..
api fix(team): sub-agents honor resolved model + fall through on model-not-found 2026-06-17 12:32:00 -05:00
claw-analog
claw-rag-service
commands feat(team): port subagent_model, parallel tool exec, team coordination layer 2026-06-17 11:48:17 -05:00
compat-harness
mock-anthropic-service
plugins
runtime fix(team): read provider().model() not feature model for sub-agent default 2026-06-17 13:09:06 -05:00
rusty-claude-cli fix(team): read provider().model() not feature model for sub-agent default 2026-06-17 13:09:06 -05:00
telemetry
tools fix(team): read provider().model() not feature model for sub-agent default 2026-06-17 13:09:06 -05:00