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>