openclaw - 💡(How to fix) Fix Control UI: Active model name is not displaying in the session header [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#74957Fetched 2026-05-01 05:39:37
View on GitHub
Comments
1
Participants
2
Timeline
2
Reactions
2
Timeline (top)
closed ×1commented ×1

Root Cause

Root Cause: There appears to be a property name mismatch between the backend session object and the frontend UI code. The UI is looking for .modelName instead of .model.

Code Example

- <span class="session-model">{session.modelName}</span>
+ <span class="session-model">{session.model}</span>
RAW_BUFFERClick to expand / collapse

Description: In the Mission Control / Control UI dashboard, the active model name is missing or blank, even though the backend correctly registers the model (verified via /status or backend logs).

Root Cause: There appears to be a property name mismatch between the backend session object and the frontend UI code. The UI is looking for .modelName instead of .model.

Suggested Fix: In the file ui/src/components/SessionHeader.tsx:

- <span class="session-model">{session.modelName}</span>
+ <span class="session-model">{session.model}</span>

Environment:

  • OpenClaw Version: 2026.4.22
  • Interface: Control UI

extent analysis

TL;DR

Update the SessionHeader.tsx file to fix the property name mismatch by changing session.modelName to session.model.

Guidance

  • Verify the property name in the backend session object to confirm it is indeed .model and not .modelName.
  • Apply the suggested fix in ui/src/components/SessionHeader.tsx as shown in the provided diff.
  • After updating the code, refresh the Control UI dashboard to see if the active model name is now correctly displayed.
  • If issues persist, double-check that the backend correctly registers the model and that the session object is properly updated.

Example

- <span class="session-model">{session.modelName}</span>
+ <span class="session-model">{session.model}</span>

Notes

This fix assumes that the property name mismatch is the sole cause of the issue. If other factors are at play, additional debugging may be necessary.

Recommendation

Apply the workaround by updating the SessionHeader.tsx file, as this directly addresses the identified property name mismatch.

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 Control UI: Active model name is not displaying in the session header [1 comments, 2 participants]