-
-
Notifications
You must be signed in to change notification settings - Fork 79.1k
Bug: Discord streamed reply disappears after tool-call failure warning #83831
Copy link
Copy link
Closed
bugkill3r/openclaw
#1Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Metadata
Metadata
Assignees
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:fix-shape-clearClawSweeper found a clear likely implementation shape for this issue.ClawSweeper found a clear likely implementation shape for this issue.clawsweeper:queueable-fixClawSweeper marked this issue as an existing queue_fix_pr work candidate.ClawSweeper marked this issue as an existing queue_fix_pr work candidate.clawsweeper:source-reproClawSweeper found a high-confidence source-level issue reproduction.ClawSweeper found a high-confidence source-level issue reproduction.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.issue-rating: 🦞 diamond lobsterVery strong issue quality with high-confidence source-level or clear reproduction.Very strong issue quality with high-confidence source-level or clear reproduction.
Type
Fields
Give feedbackNo fields configured for issues without a type.
Bug: Discord streamed assistant reply disappears after a tool-call failure warning
Summary
In a Discord channel using the Pi runtime with Discord streaming enabled, an assistant final text reply can appear briefly and then disappear when the same turn also has a failed tool call. The only visible message left in Discord is the tool failure warning.
This looks like a Discord delivery/render lifecycle bug, not a model failure: the assistant generated and delivered text momentarily, but it was later replaced/removed after the failed tool notification finalized.
Environment
openai-codex/gpt-5.5provider=openai-codex/gpt-5.5 harness=pi configured=unspecifiedchannels.discord.streaming.mode = partialagentRuntime.id = pifor bothopenai/gpt-5.5andopenai-codex/gpt-5.5Repro
In Discord, ask the assistant to perform a harmless invalid lookup/tool call and then still reply with a normal text response.
The assistant runs a harmless invalid command:
The command fails in the agent tool runner. In this environment the shell output was:
The assistant then sends a normal final text reply:
Actual behavior
delivery survivedappeared in Discord momentarily.Then that assistant text disappeared.
The only message that remained visible was the tool failure warning:
Expected behavior
The tool failure warning should not remove or supersede the assistant final response. Both should remain visible, or the final assistant response should remain authoritative while the failure warning is shown separately.
Notes