openclaw - 💡(How to fix) Fix [Bug]: Telegram /new and /reset reset context but still trigger empty OpenAI Responses API error [4 comments, 4 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#73803Fetched 2026-04-29 06:14:57
View on GitHub
Comments
4
Participants
4
Timeline
11
Reactions
0
Author
Timeline (top)
commented ×4labeled ×2mentioned ×2subscribed ×2

In OpenClaw 2026.4.26, Telegram /new and /reset reset the context according to /status, but still return an empty OpenAI Responses API error to Telegram.

Error Message

In OpenClaw 2026.4.26, Telegram /new and /reset reset the context according to /status, but still return an empty OpenAI Responses API error to Telegram. 5. Observe the OpenAI Responses API error in Telegram. 7. Observe that the context appears to have been reset despite the error. /new and /reset appear to reset the context successfully according to /status, but Telegram still receives this error: Telegram error shown after /new or /reset: 05:51:18+09:00 warn agent/embedded {"subsystem":"agent/embedded"} {"event":"embedded_run_agent_end","tags":["error_handling","lifecycle","agent_end","assistant_error"],"runId":"be644cab-63b8-458c-8b51-9eca26ff0ffa","isError":true,"error":"One of "input" or "previous_response_id"or 'prompt'or 'conversation_id' must be provided.","failoverReason":null,"model":"gpt-5.5","provider":"openai-codex","rawErrorPreview":"One of "input" or "previous_response_id"or 'prompt'or 'conversation_id' must be provided.","rawErrorHash":"sha256:f4df43227553","providerRuntimeFailureKind":"unclassified"} embedded run agent end

  • The error appears only after /new or /reset. Severity: Annoying / misleading. The context reset appears to succeed, but Telegram still shows a provider error. Consequence: Users may think the reset failed even though /status indicates the context was reset. It also creates noisy embedded runner error logs. This does not appear to be a general Telegram, Gateway, provider, or model outage because normal Telegram chat works before and after the error. reset succeeds according to /status, but an empty OpenAI Responses API error is still surfaced to Telegram

Root Cause

This does not appear to be a general Telegram, Gateway, provider, or model outage because normal Telegram chat works before and after the error.

Code Example

One of "input" or "previous_response_id"or 'prompt'or 'conversation_id' must be provided.

### OpenClaw version

2026.4.26

### Operating system

macOS on Mac mini

### Install method

npm global

### Model

gpt-5.5

### Provider / routing chain

openclaw -> openai-codex -> gpt-5.5

### Additional provider/model setup details

NOT_ENOUGH_INFO

### Logs, screenshots, and evidence

---

### Impact and severity

Affected: Telegram channel users on OpenClaw 2026.4.26 using `/new` or `/reset`.

Severity: Annoying / misleading. The context reset appears to succeed, but Telegram still shows a provider error.

Frequency: Observed on `/new` and `/reset`.

Consequence: Users may think the reset failed even though `/status` indicates the context was reset. It also creates noisy embedded runner error logs.

### Additional information

This does not appear to be a general Telegram, Gateway, provider, or model outage because normal Telegram chat works before and after the error.

The observed behavior is:
RAW_BUFFERClick to expand / collapse

Bug type

Behavior bug (incorrect output/state without crash)

Beta release blocker

No

Summary

In OpenClaw 2026.4.26, Telegram /new and /reset reset the context according to /status, but still return an empty OpenAI Responses API error to Telegram.

Steps to reproduce

  1. Run OpenClaw 2026.4.26 with Telegram enabled.
  2. Confirm that normal Telegram chat works.
  3. Run /status and note the current context/session state.
  4. Send /new or /reset in Telegram.
  5. Observe the OpenAI Responses API error in Telegram.
  6. Run /status again.
  7. Observe that the context appears to have been reset despite the error.
  8. Send a normal message and observe that normal chat still works.

Expected behavior

/new and /reset should reset the Telegram session/context and return a normal confirmation message without triggering an empty OpenAI Responses API request.

Actual behavior

/new and /reset appear to reset the context successfully according to /status, but Telegram still receives this error:

One of "input" or "previous_response_id"or 'prompt'or 'conversation_id' must be provided.

### OpenClaw version

2026.4.26

### Operating system

macOS on Mac mini

### Install method

npm global

### Model

gpt-5.5

### Provider / routing chain

openclaw -> openai-codex -> gpt-5.5

### Additional provider/model setup details

NOT_ENOUGH_INFO

### Logs, screenshots, and evidence

```shell
Telegram error shown after `/new` or `/reset`:


One of "input" or "previous_response_id"or 'prompt'or 'conversation_id' must be provided.


Relevant log:


05:51:18+09:00 warn agent/embedded {"subsystem":"agent/embedded"} {"event":"embedded_run_agent_end","tags":["error_handling","lifecycle","agent_end","assistant_error"],"runId":"be644cab-63b8-458c-8b51-9eca26ff0ffa","isError":true,"error":"One of \"input\" or \"previous_response_id\"or 'prompt'or 'conversation_id' must be provided.","failoverReason":null,"model":"gpt-5.5","provider":"openai-codex","rawErrorPreview":"One of \"input\" or \"previous_response_id\"or 'prompt'or 'conversation_id' must be provided.","rawErrorHash":"sha256:f4df43227553","providerRuntimeFailureKind":"unclassified"} embedded run agent end


Observed system state:

- Gateway is reachable.
- Telegram is OK.
- Normal Telegram chat works.
- `/status` indicates the context was reset after `/new` or `/reset`.
- The error appears only after `/new` or `/reset`.

Impact and severity

Affected: Telegram channel users on OpenClaw 2026.4.26 using /new or /reset.

Severity: Annoying / misleading. The context reset appears to succeed, but Telegram still shows a provider error.

Frequency: Observed on /new and /reset.

Consequence: Users may think the reset failed even though /status indicates the context was reset. It also creates noisy embedded runner error logs.

Additional information

This does not appear to be a general Telegram, Gateway, provider, or model outage because normal Telegram chat works before and after the error.

The observed behavior is:

reset succeeds according to /status, but an empty OpenAI Responses API error is still surfaced to Telegram

extent analysis

TL;DR

The issue can be fixed by modifying the /new and /reset commands to handle the OpenAI Responses API request correctly, ensuring that the required parameters are provided.

Guidance

  • Review the code handling the /new and /reset commands to ensure that they properly reset the context and provide the necessary parameters for the OpenAI Responses API request.
  • Verify that the input, previous_response_id, prompt, or conversation_id parameters are being passed correctly in the API request.
  • Check the error handling mechanism to prevent the empty OpenAI Responses API error from being surfaced to Telegram.
  • Consider adding logging to track the parameters being passed in the API request to help diagnose the issue.

Example

No code snippet can be provided without more information about the implementation, but the fix likely involves modifying the code that handles the /new and /reset commands to properly handle the OpenAI Responses API request.

Notes

The issue seems to be specific to the /new and /reset commands and does not affect normal Telegram chat functionality. The fix should focus on ensuring that these commands correctly handle the OpenAI Responses API request.

Recommendation

Apply a workaround to modify the /new and /reset commands to handle the OpenAI Responses API request correctly, as upgrading to a fixed version is not mentioned in the issue.

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

/new and /reset should reset the Telegram session/context and return a normal confirmation message without triggering an empty OpenAI Responses API request.

Still need to ship something?

×6

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

Back to top recommendations

TRENDING