-
-
Notifications
You must be signed in to change notification settings - Fork 80.7k
GPT-5.5 reasoning item schema error causes duplicate Discord messages via retry cascade #84484
Copy link
Copy link
Closed
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:needs-infoClawSweeper needs more reporter information before it can verify this issue.ClawSweeper needs more reporter information before it can verify this issue.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦐 gold shrimpDecent issue quality, but reproduction details are still incomplete.Decent issue quality, but reproduction details are still incomplete.
Description
Metadata
Metadata
Assignees
Labels
P1High-priority user-facing bug, regression, or broken workflow.High-priority user-facing bug, regression, or broken workflow.clawsweeper:needs-infoClawSweeper needs more reporter information before it can verify this issue.ClawSweeper needs more reporter information before it can verify this issue.impact:auth-providerAuth, provider routing, model choice, or SecretRef resolution may break.Auth, provider routing, model choice, or SecretRef resolution may break.impact:message-lossChannel message delivery can be lost, duplicated, or misrouted.Channel message delivery can be lost, duplicated, or misrouted.impact:session-stateSession, memory, transcript, context, or agent state can drift or corrupt.Session, memory, transcript, context, or agent state can drift or corrupt.issue-rating: 🦐 gold shrimpDecent issue quality, but reproduction details are still incomplete.Decent issue quality, but reproduction details are still incomplete.
Type
Fields
Priority
None yet
GPT-5.5 reasoning item schema error causes duplicate Discord messages via retry cascade
OpenClaw version
2026.5.18 (50a2481)
Environment
Description
When GPT-5.5 is the default model and a user sends a message on a Discord channel, OpenClaw often sends multiple near-identical responses (3-5 duplicates) to that channel. The root cause is a retry cascade triggered by an OpenAI API schema error, combined with the retry path not deduplicating by inbound Discord message_id.
Error chain
EmbeddedAttemptSessionTakeoverError(multiple retries racing on the same session file)o3: "Your organization must be verified to generate reasoning summaries"o3-deep-research: "Deep research models require at least one of 'web_search_preview', 'mcp', or 'file_search' tools"gpt-5.3-chat-latest: "Unsupported value: 'low' is not supported... Supported values are: 'medium'"Impact on a single day (May 20, 2026)
EmbeddedAttemptSessionTakeoverErrorsFailoverErrorsLog evidence
{ "event": "embedded_run_failover_decision", "provider": "openai", "model": "gpt-5.5", "rawErrorPreview": "400 Item 'msg_04aba82edd478513006a0c2071cc24819bb493a308058de9d6' of type 'message' was provided without its required 'reasoning' item: 'rs_04aba82edd478513006a0c206cb3b4819baea439c0527527c0'.", "providerRuntimeFailureKind": "schema" }Expected behavior
Workaround
Changed default model to
anthropic/claude-sonnet-4-6. GPT-5.5 moved to fallback list. No duplicate messages since the switch.