openclaw - 💡(How to fix) Fix 启动问候语显示错误:声称使用默认模型但实际使用 runtime 模型 [1 comments, 2 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#51404Fetched 2026-04-08 01:11:34
View on GitHub
Comments
1
Participants
2
Timeline
1
Reactions
0
Author
Participants
Timeline (top)
commented ×1
RAW_BUFFERClick to expand / collapse

问题描述

新会话启动时,问候语显示「当前使用默认模型 minimax-portal/MiniMax-M2.5」,但实际 runtime 模型是 。

重现步骤

  1. 发送 /new 或 /reset 启动新会话
  2. 查看问候语和 /status 显示的模型

预期 vs 实际

  • 预期:问候语应显示实际 runtime 模型(如 volcengine/ark-code-latest),或先切换到默认模型再显示
  • 实际:问候语显示默认模型名称,但 runtime 实际使用的是另一个模型

环境信息

  • OpenClaw 版本:2026.3.13
  • 模型配置:default_model = minimax-portal/MiniMax-M2.5
  • Runtime 模型:volcengine/ark-code-latest

修复建议

  1. 方案A:问候语改为显示实际 runtime 模型(),而非
  2. 方案B:在生成问候语前先将模型切换到默认配置

需要确认启动流程中问候语的生成逻辑位置。

extent analysis

Fix Plan

To fix the issue, we will implement 方案A: modify the greeting message to display the actual runtime model.

Here are the steps:

  • Identify the code responsible for generating the greeting message.
  • Modify the code to retrieve the actual runtime model instead of the default model.
  • Update the greeting message to display the actual runtime model.

Example code:

# Assuming a function get_runtime_model() that returns the actual runtime model
def generate_greeting():
    runtime_model = get_runtime_model()
    greeting = f"当前使用模型 {runtime_model}"
    return greeting

Alternatively, if the runtime model is stored in a variable or configuration, you can directly access it:

runtime_model = "volcengine/ark-code-latest"  # or retrieve from config
greeting = f"当前使用模型 {runtime_model}"

Verification

To verify the fix, restart a new session and check the greeting message. It should display the actual runtime model (volcengine/ark-code-latest) instead of the default model (minimax-portal/MiniMax-M2.5).

Extra Tips

  • Make sure to update the documentation and tests to reflect the changes.
  • Consider adding a check to ensure the runtime model is correctly retrieved and displayed in the greeting message.

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…

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 启动问候语显示错误:声称使用默认模型但实际使用 runtime 模型 [1 comments, 2 participants]