openclaw - 💡(How to fix) Fix [Bug]: Sub-agent model override not working - always falls back to MiniMax-M2.7 [1 participants]

Official PRs (…)
ON THIS PAGE

Recommended Tools

×6

Utilities matched from this issue’s tags and category — try them while you read without losing context.

GitHub issue graph ai analysis

Paste a GitHub issue URL. We fetch that issue, discover linked issues from bodies/comments/timeline, collect linked pull requests, and produce a structured English report.

The report is written in English Markdown for sharing and archival.

Helpful · Quick feedback

Loading…
GitHub stats
openclaw/openclaw#61359Fetched 2026-04-08 02:59:29
View on GitHub
Comments
0
Participants
1
Timeline
2
Reactions
0
Author
Participants
Timeline (top)
labeled ×2

When spawning sub-agents with model parameter (e.g., model: "stepfun-plan/step-3.5-flash-2603"), the agent ignores the model and uses MiniMax-M2.7 instead, despite modelApplied: true showing in the spawn response.

Root Cause

When spawning sub-agents with model parameter (e.g., model: "stepfun-plan/step-3.5-flash-2603"), the agent ignores the model and uses MiniMax-M2.7 instead, despite modelApplied: true showing in the spawn response.

RAW_BUFFERClick to expand / collapse

Bug type

Behavior bug (incorrect output/state without crash)

Beta release blocker

No

Summary

When spawning sub-agents with model parameter (e.g., model: "stepfun-plan/step-3.5-flash-2603"), the agent ignores the model and uses MiniMax-M2.7 instead, despite modelApplied: true showing in the spawn response.

Steps to reproduce

  1. Configure stepfun-plan provider with step-3.5-flash-2603 model
  2. Set agents.defaults.subagents.model to "stepfun-plan/step-3.5-flash-2603"
  3. Spawn a sub-agent with model: "stepfun-plan/step-3.5-flash-2603" parameter
  4. Check sessions_history — shows "provider": "minimax", "model": "MiniMax-M2.7"

Expected behavior

Sub-agent should use the specified model (stepfun-plan/step-3.5-flash-2603).

Actual behavior

Sub-agent uses MiniMax-M2.7 regardless of model parameter.

OpenClaw version

2026.4.2

Operating system

Ubuntu 24.04

Install method

No response

Model

Stepfun/step-3.5-flash, Stepfun/step-3.5-flash-2603

Provider / routing chain

openclaw -> api.stepfun.ai/step_plan/v1 (OpenAI Completions API)

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

extent analysis

TL;DR

Verify the agents.defaults.subagents.model configuration and the model parameter in the sub-agent spawn request to ensure they match the expected model, "stepfun-plan/step-3.5-flash-2603".

Guidance

  • Check the agents.defaults.subagents.model configuration to confirm it is set to "stepfun-plan/step-3.5-flash-2603" and that this configuration is being applied correctly.
  • Review the sub-agent spawn request to ensure the model parameter is correctly specified as "stepfun-plan/step-3.5-flash-2603".
  • Investigate the provider configuration for openclaw and api.stepfun.ai/step_plan/v1 to verify that the model is properly registered and supported.
  • Confirm that the sessions_history log correctly reflects the expected model usage.

Example

No code example is provided due to the lack of specific implementation details in the issue.

Notes

The issue may be related to a configuration mismatch or an unsupported model in the provider setup. Further investigation into the OpenClaw version, provider configuration, and model registration is necessary to determine the root cause.

Recommendation

Apply workaround: Verify and correct the model configuration to ensure consistency across the sub-agent spawn request and the provider setup, as the issue seems to stem from a potential configuration discrepancy rather than a version-related problem.

Vote matrix · Quick signals

Works
Did the solution work? Tap to confirm.
Easy Fix
Was it a quick fix?
Time Saver
Did it save you time?
Blocking
Was it severely blocking?
Common Issue
Are others likely hitting this too?
Flaky / Intermittent
Is it intermittent?
Verified / Reproducible
Can you reproduce it reliably?
Loading…

FAQ

Expected behavior

Sub-agent should use the specified model (stepfun-plan/step-3.5-flash-2603).

Still need to ship something?

×6

Another batch ranked right after the header list — different links, same matching logic.

Back to top recommendations

TRENDING

openclaw - 💡(How to fix) Fix [Bug]: Sub-agent model override not working - always falls back to MiniMax-M2.7 [1 participants]