Skip to content

Interleaving of thinking blocks with regular output should be preserved for models to continue conversation without errors #966

@Slava-256

Description

@Slava-256

What's happening?

Chatting with Anthropic Claude Opus 4.6, I received a response with 2 thinking blocks with short regular text output in between them.

When (or before) I submitted my next message in a chat, thinking blocks were moved next to each other and the text that was between them was pushed below:

(Show Reasoning)
(Show Reasoning)
<response text>

When I submitted my next message to the chat, I received the following error:

[Service Issue] Anthropic: Upstream responded with HTTP 400  -
messages.7.content.2: thinking or redacted_thinking blocks in the latest assistant message cannot be modified. These blocks must remain as they were in the original response.

If possible, regular output text and reasoning/thinking blocks order and interleaving (if any) should be preserved.

Where does this happen?

Big-AGI Pro (big-agi.com)

Impact on your workflow

High - Major feature broken

Environment (if applicable)

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    ValidateProposed solution waiting for owner to comment.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions