openclaw - 💡(How to fix) Fix [Bug]: 2026.4.29: Control UI accepts prompts but renders no assistant output, even after clean reinstall (OpenAI Responses / gpt-5-mini) [2 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#75994Fetched 2026-05-03 04:43:31
View on GitHub
Comments
2
Participants
2
Timeline
4
Reactions
2
Author
Timeline (top)
closed ×1commented ×1labeled ×1unsubscribed ×1

In OpenClaw 2026.4.29 (a448042), the Control UI accepts prompts and shows brief typing activity, but no assistant reply ever appears.

I spent quite a while narrowing this down. The important part is that this still reproduces after a clean reinstall of the same version with a minimal plugin/config baseline, which makes this look like an OpenClaw runtime/output-path bug rather than bad local config.

Error Message

In earlier phases of debugging, some hidden prompt-error events were recorded even when the UI looked blank.

Root Cause

In OpenClaw 2026.4.29 (a448042), the Control UI accepts prompts and shows brief typing activity, but no assistant reply ever appears.

I spent quite a while narrowing this down. The important part is that this still reproduces after a clean reinstall of the same version with a minimal plugin/config baseline, which makes this look like an OpenClaw runtime/output-path bug rather than bad local config.

Fix Action

Fix / Workaround

Regression/workaround note

I eventually restored the VM from snapshot to bring the older pre-upgrade instance back online, and the older instance is working again. So for now the practical workaround is rollback.

RAW_BUFFERClick to expand / collapse

Bug type

Behavior bug (incorrect output/state without crash)

Beta release blocker

No

Summary

In OpenClaw 2026.4.29 (a448042), the Control UI accepts prompts and shows brief typing activity, but no assistant reply ever appears.

I spent quite a while narrowing this down. The important part is that this still reproduces after a clean reinstall of the same version with a minimal plugin/config baseline, which makes this look like an OpenClaw runtime/output-path bug rather than bad local config.

Environment

  • OpenClaw version: 2026.4.29 (a448042)
  • Node: v22.22.1
  • Install type: global npm install under /usr/lib/node_modules/openclaw
  • Runtime OS: Linux VM
  • Gateway: root-owned instance under /root/.openclaw
  • Reverse proxy: nginx -> 127.0.0.1:18789
  • Model used for repro: openai/gpt-5-mini
  • Minimal plugin baseline after reinstall: openai + telegram

User-visible symptom

From the Control UI:

  • prompt is accepted
  • typing dots appear briefly
  • then nothing is rendered
  • no assistant text appears at all

In earlier phases of debugging, some hidden prompt-error events were recorded even when the UI looked blank.

Clean reinstall repro

I then did a clean reinstall/rebuild of 2026.4.29 and reproduced again.

Clean baseline after reinstall:

  • rebuilt service as proper root systemd unit
  • loopback bind behind nginx
  • explicit gateway.controlUi.allowedOrigins
  • gateway.trustedProxies = ['127.0.0.1', '::1']
  • default model openai/gpt-5-mini
  • timeout 300
  • only openai + telegram enabled

After that clean rebuild:

  1. open Control UI
  2. send a tiny prompt like reply with exactly OK
  3. UI shows activity but no visible assistant reply ever appears

What was ruled out

Not basic OpenAI/network failure

From the same VM, with the same API key/environment:

  • curl to OpenAI worked
  • direct authenticated responses API POST worked
  • OpenClaw’s bundled OpenAI SDK worked outside OpenClaw
  • both of these worked outside OpenClaw:
    • client.responses.stream(...)
    • client.responses.create({ ..., stream: true })

So the VM can talk to OpenAI fine, and streaming works outside OpenClaw.

Not stale poisoned session context

I reset the stuck main session and verified a fresh zero-context session on gpt-5-mini. The bug still reproduced.

Not primarily nginx / websocket access

There was an earlier access problem (1006) due to Control UI connection details, but that was fixed well enough to regain UI access. After that, the remaining bug persisted on the clean rebuild.

Not just plugin scan/event-loop starvation

I found and reduced a lot of bundled-extension scan churn during debugging. That improved responsiveness/startup behavior, but the blank-reply bug still reproduced afterward, including on the clean reinstall with a minimal plugin set.

Strongest technical clue

Inside OpenClaw’s runtime path, the request reaches the model layer, but the stream never seems to yield usable events/chunks to the assistant/output path.

During debugging on 2026.4.29, I instrumented the runtime and consistently saw behavior like:

  • client.responses.create(...) returned
  • OpenAI HTTP response status was 200
  • content-type: text/event-stream; charset=utf-8
  • response body existed as a ReadableStream
  • but no first chunk / no first event was observed in the OpenClaw path within the expected window

At the same time, the equivalent OpenAI SDK calls worked correctly outside OpenClaw on the same machine.

That makes this look like a bug in OpenClaw’s runtime/stream integration or assistant output handling on this build, not raw provider connectivity.

Additional observations

In prior runs, session transcript artifacts recorded hidden errors such as:

  • LLM idle timeout (120s): no response from model | ...
  • request timed out | request timed out

even when the UI only showed “typing then nothing”.

I also found that provider:"openclaw", model:"gateway-injected" messages were present in session files, but those appeared to be gateway-generated status/transcript messages, not the actual selected model for the failing run.

Regression/workaround note

I eventually restored the VM from snapshot to bring the older pre-upgrade instance back online, and the older instance is working again. So for now the practical workaround is rollback.

Steps to reproduce

Repro

Before clean reinstall

This reproduced even after:

  • forcing a fresh/low-context main session
  • switching default model to openai/gpt-5-mini
  • lowering thinking
  • increasing timeouts
  • resetting the wedged agent:main:main session state

Expected behavior

Assistant text should appear in the Control UI for trivial prompts.

Actual behavior

Prompt is accepted, brief typing indicator may appear, but no assistant message is rendered.

OpenClaw version

2026.04.29

Operating system

Ubuntu 24.02

Install method

npm

Model

chatgpt-5.4

Provider / routing chain

openclaw-->nginx-->LAN

Additional provider/model setup details

No response

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

extent analysis

TL;DR

The issue is likely due to a bug in OpenClaw's runtime/stream integration or assistant output handling, causing the assistant reply to not appear in the Control UI.

Guidance

  • Verify that the client.responses.create(...) call is correctly handling the response stream from OpenAI, and that the response body is being properly processed.
  • Check the OpenClaw runtime path for any issues with event chunk handling or output processing that may be causing the assistant reply to not be rendered.
  • Review the session transcript artifacts for any hidden errors or timeouts that may be related to the issue.
  • Consider implementing additional logging or debugging statements to help identify the root cause of the issue.

Example

No code example is provided as the issue is likely related to the OpenClaw runtime or assistant output handling, and not a specific code snippet.

Notes

The issue appears to be specific to OpenClaw version 2026.4.29 and may be related to changes in the runtime or stream integration. The fact that the equivalent OpenAI SDK calls work correctly outside OpenClaw suggests that the issue is not with the OpenAI API or network connectivity.

Recommendation

Apply workaround by rolling back to a previous version of OpenClaw, as the issue is not present in the older instance. This will allow for continued functionality while the root cause of the issue is investigated and resolved.

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

Assistant text should appear in the Control UI for trivial prompts.

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]: 2026.4.29: Control UI accepts prompts but renders no assistant output, even after clean reinstall (OpenAI Responses / gpt-5-mini) [2 comments, 2 participants]