claw-code/rust/crates/tools
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
..
src fix(team): read provider().model() not feature model for sub-agent default 2026-06-17 13:09:06 -05:00
tests Keep G002 path-scope tests aligned with enforced denials 2026-05-14 17:33:47 +09:00
.gitignore fix: auto compaction threshold default 200k tokens 2026-04-01 03:55:00 +00:00
Cargo.toml feat(tools): add LoggingAspect to unified tool dispatch entry point 2026-05-25 11:22:45 +09:00
GIT_TOOLS_README.md feat: git-aware context tools 2026-05-25 11:24:37 +09:00
MULTI_TOOL_README.md feat: SubAgent tool for fast sub-agent delegation 2026-06-10 16:49:33 -05:00