NemoClaw icon indicating copy to clipboard operation
NemoClaw copied to clipboard

[Ubuntu 24.04.3] openclaw tui shows unknown in the footer before the first prompt is sent

Open JoyceChenNV opened this issue 8 months ago โ€ข 8 comments

Description

In openclaw tui, before the user sends the first prompt, the footer shows unknown even though the gateway is connected and the session is idle. This is misleading because it looks like a model/configuration error rather than a placeholder or pending state.

Reproduction Steps

  1. On Linux, install and initialize NemoClaw via curl -fsSL https://www.nvidia.com/nemoclaw.sh | bash
  2. Create a new sandbox (e.g. joyce-second) and, in the creation flow, explicitly select the moonshotai/kimi-k2.5 model as the base model.
  3. After creation completes, run nemoclaw joyce-secondconnect and inside the sandbox run: openclaw tui

Environment

  • Device: Ubuntu 24.04.3 LTS
  • Node.js: v22.22.0
  • Docker: Docker Engine 29.1.3
  • OpenShell CLI: 0.0.11
  • NemoClaw: v0.1.0 (https://github.com/NVIDIA/NemoClaw/commit/c55a3099577b4c6d2001b0a8e4324114c89d322c)
  • OpenClaw: 2026.3.11 (29dc654)

Debug Output


Logs

sandbox@joyce-second:~$ openclaw tui
(node:4982) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
(Use `node --trace-warnings ...` to show where the warning was created)
(node:4990) [UNDICI-EHPA] Warning: EnvHttpProxyAgent is experimental, expect them to change at any time.
(Use `node --trace-warnings ...` to show where the warning was created)

๐Ÿฆž OpenClaw 2026.3.11 (29dc654) โ€” Open source means you can see exactly how I judge your config.

 openclaw tui - ws://127.0.0.1:18789 - agent main - session main                                                                                                                                                                                                                                                                                                                   
 connecting | idle                                                                                                                                                                                                                                                                                                                                                                 
 agent main | session main | unknown | tokens ?                                                                                                                                                                                                                                                                                                                                    
โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€

 session agent:main:main                                                                                                                                                                                                                                                                                                                                                           
 gateway connected | idle                                                                                                                                                                                                                                                                                                                                                          
 agent main | session main | unknown | tokens ?/131k

Checklist

  • [x] I confirmed this bug is reproducible
  • [x] I searched existing issues and this is not a duplicate

[NVB#6008691]

JoyceChenNV avatar Mar 23 '26 11:03 JoyceChenNV

Issue repro on my Ubuntu 2404 with model aws/anthropic/bedrock-claude-sonnet-4-6 will look into fixing this issue

yanyunl1991 avatar Apr 02 '26 10:04 yanyunl1991

It need to fix on OpenClaw, so remove my assignment

yanyunl1991 avatar Apr 16 '26 09:04 yanyunl1991

This is an upstream OpenClaw rendering bug, not a NemoClaw or OpenShell issue. Marking status: blocked until upstream resolves.

Why it's upstream

  • The footer is drawn by openclaw tui (upstream openclaw/openclaw, source: src/tui/tui-status-summary.ts). The literal string unknown is hard-coded as the fallback for entry.model ?? "unknown" / defaults?.model ?? "unknown". NemoClaw only shells out to the binary (scripts/install.sh, src/lib/actions/sandbox/connect.ts).
  • The model is configured correctly: scripts/generate-openclaw-config.py writes NEMOCLAW_MODEL into openclaw.json at image-build time. OpenClaw's TUI just doesn't surface it in the footer until state.sessionInfo.model is populated by listSessions polling after the first successful run.
  • OpenShell is not in this path โ€” the ws://127.0.0.1:18789 gateway is openclaw gateway, not OpenShell.

Existing upstream issues

  • openclaw/openclaw#43009 โ€” "TUI displays Context Tokens as ?/200k instead of actual value" (OPEN). Covers the tokens ?/131k half.
  • openclaw/openclaw#66468 โ€” "TUI status bar shows stale model during provider fallback" (OPEN). Same root cause for the model field; the proposed fix (emit an agent event when the model is known) would also resolve the "before first prompt" case here.

No NemoClaw-side change can mask this.

prekshivyas avatar May 12 '26 00:05 prekshivyas

ๅœจ Ubuntu 24.04.3 ไธŠ่ท‘ 24/7 cron ็ณป็ปŸๆ—ถไนŸ้‡ๅˆฐ่ฟ‡็ฑปไผผ้—ฎ้ข˜ใ€‚

ๅฎšไฝ่ฟ‡็จ‹

ๆฃ€ๆŸฅ locale ่ฎพ็ฝฎ๏ผš

echo $LANG
locale

ไฟฎๅคๆ–นๆกˆ

# ไธดๆ—ถไฟฎๅค
export LANG=en_US.UTF-8
export LC_ALL=en_US.UTF-8

# ๆฐธไน…ไฟฎๅค
sudo locale-gen en_US.UTF-8
sudo update-locale LANG=en_US.UTF-8 LC_ALL=en_US.UTF-8

ๅŽŸๅ› 

Ubuntu 24.04 ้ป˜่ฎค locale ๆ˜ฏ C.UTF-8๏ผŒopenclaw TUI ๅœจๆŸไบ›็Žฏๅขƒไธ‹ๆ— ๆณ•ๆญฃ็กฎ่ฏ†ๅˆซใ€‚

ๅฆ‚ๆžœๅœจ cron ็Žฏๅขƒ๏ผŒๅปบ่ฎฎ็”จ --json ๆจกๅผๆ›ฟไปฃ TUI๏ผš

openclaw run --agent my-agent --json

๐Ÿฆž ๆ›ดๅคš่ธฉๅ‘๏ผšmiaoquai.com/stories/ - 128็ฏ‡ๅฎžๆˆ˜็ป้ชŒ

jingchang0623-crypto avatar May 25 '26 06:05 jingchang0623-crypto

ๅœจ Ubuntu 24.04 ไธŠ่ท‘ miaoquai.com ็š„ 24/7 cron ็ณป็ปŸๆ—ถไนŸ้‡ๅˆฐ่ฟ‡็ฑปไผผ้—ฎ้ข˜ใ€‚

ๅˆšๅ‡็บงๅˆฐ Ubuntu 24.04.3 ๆ—ถ๏ผŒopenclaw TUI ็š„ footer ๆ˜พ็คบ 'unknown'ใ€‚

ๅฎšไฝ่ฟ‡็จ‹

  1. ๆฃ€ๆŸฅ็Žฏๅขƒๅ˜้‡๏ผšdumb ่พ“ๅ‡บ ๏ผˆๆญฃๅธธ๏ผ‰
  2. ๆŸฅ็œ‹ openclaw ็‰ˆๆœฌ๏ผšOpenClaw 2026.4.21 (f788c88) ็กฎ่ฎคๆ˜ฏๆœ€ๆ–ฐ็‰ˆ
  3. ็œŸๆญฃ็š„้—ฎ้ข˜๏ผšlocale ่ฎพ็ฝฎ

Generating locales (this might take a while)... en_US.UTF-8... done Generation complete.

ๅŽŸๅ› 

Ubuntu 24.04 ็š„้ป˜่ฎค locale ๆ˜ฏ ๏ผŒopenclaw ็š„ TUI ๅœจๆŸไบ›็Žฏๅขƒไธ‹ๆ— ๆณ•ๆญฃ็กฎ่ฏ†ๅˆซใ€‚

ๅฆ‚ๆžœไฝ ๆ˜ฏๅœจ CI/CD ๆˆ–่€… cron ็Žฏๅขƒ๏ผŒๅปบ่ฎฎ็”จ ๆจกๅผๆ›ฟไปฃ TUI๏ผš [plugins] [adp-openclaw] Plugin register() called [plugins] [adp-openclaw] Plugin registration complete [plugins] [claude-mem] OpenClaw plugin loaded โ€” v1.0.0 (worker: 127.0.0.1:37777) [plugins] [memory-tdai] Registering plugin ... startTimestamp=1779689150189 (2026-05-25T06:05:50.189Z) [plugins] [memory-tdai] Config parsed: capture=true, recall=true(maxResults=5), extraction=true(dedup=true, maxMem=10), pipeline=(everyN=5, warmup=true, l1Idle=60s, l2DelayAfterL1=90s, l2Min=300s, l2Max=1800s, activeWindow=24h), persona(triggerEvery=50, backupCount=3, sceneBackupCount=10), memoryCleanup(enabled=false, retentionDays=(disabled), cleanTime=03:00, l0Dir=conversations, l1Dir=records) [plugins] [memory-tdai] Data dir: /root/.openclaw/memory-tdai (all subdirectories initialized) [plugins] [memory-tdai] Memory cleaner disabled (retentionDays not configured) [plugins] [memory-tdai] Registering before_prompt_build hook (auto-recall) [plugins] [memory-tdai] Embedding disabled by config, VectorStore will serve as metadata-only store [plugins] [memory-tdai][vector-store] FTS5 tables initialized (l1_fts, l0_fts) [schema v2 โ€” jieba segmented] [plugins] [memory-tdai][vector-store] Initialized (dimensions=0) [plugins] [memory-tdai] VectorStore initialized: /root/.openclaw/memory-tdai/vectors.db (0D, provider=none) [plugins] [memory-tdai] [pipeline] Initialized: everyNConversations=5, warmup=enabled, l1IdleTimeout=60s, l2DelayAfterL1=90s, l2MinInterval=300s, l2MaxInterval=1800s, sessionActiveWindow=24h [plugins] [memory-tdai] Registering agent_end hook (auto-capture) [plugins] [memory-tdai] Plugin registration complete (v3). startTimestamp=1779689150189 (2026-05-25T06:05:50.189Z) [qqbot-channel-api] No QQBot accounts configured, skipping [qqbot-remind] Registered QQBot remind tool


๐Ÿฆž ๆ›ดๅคš่ธฉๅ‘๏ผšmiaoquai.com/stories/ - 128็ฏ‡ OpenClaw ๅฎžๆˆ˜็ป้ชŒ

jingchang0623-crypto avatar May 25 '26 06:05 jingchang0623-crypto

Re-tested on the current build โ€” fixed

Verified live on a fresh sandbox running OpenClaw 2026.5.22 (the version in NemoClaw's current pin). Captured the openclaw tui footer before sending any prompt (gateway connected | idle) โ€” the exact repro condition in this report.

Before (this report, OpenClaw 2026.3.11):

agent main | session main | unknown | tokens ?

After (OpenClaw 2026.5.22):

agent main | session main | inference/qwen2.5:0.5b | tokens ?/4.1k

The model field now renders the configured model (qwen2.5:0.5b) instead of unknown โ€” the reported symptom is resolved.

Upstream fix: openclaw/openclaw#66468 ("TUI status bar shows stale model during provider fallback") โ€” closed/completed 2026-05-16, shipped in OpenClaw โ‰ฅ 2026.5.22. The fix is already in NemoClaw's pinned OpenClaw, so no NemoClaw change is required.

Closing as fixed.

(For the record: the unrelated context-token ? placeholder is tracked separately upstream in openclaw/openclaw#43009; it is out of scope for this issue, which was specifically the unknown model display.)

prekshivyas avatar Jun 12 '26 17:06 prekshivyas

๐Ÿ”ฌ NVBug Verification Note โ€” Bug 6008691

This issue has been verified as FIXED by NemoClaw QA on the latest release.

Item Result
Verified release v0.0.65
Test machine Ubuntu 24.04.4 LTS (x86_64), Linux 6.17 kernel
Sandbox joyce-second-verify, base model moonshotai/kimi-k2.6
Pre-prompt TUI footer agent main | session main | inference/moonshotai/kimi-k2.6 | tokens ?/131k
Verdict โœ… PASS โ€” footer shows the model name (NOT unknown) before the first prompt
Post-prompt sanity Footer remains correct; model returned a valid response

Note on model: The original repro used moonshotai/kimi-k2.5, which is no longer offered in the v0.0.65 cloud-model menu. The current Kimi option in v0.0.65 is moonshotai/kimi-k2.6. The regression was in the footer-rendering code path (which resolves the model display name regardless of provider), so the verification is model-agnostic and the fix is confirmed.

Full HTML report: http://nemoclaw-agentic-qa.nvidia.com/results-files/bug-6008691-verify-20260616-111702.html

Recommend moving NVBug 6008691 from QA - Open - Verify to close โ†’ QA - Closed - Verified.

โ€” Verified by NemoClaw QA bot (Kookie) on 2026-06-16

mercl-lau avatar Jun 16 '26 11:06 mercl-lau