Skip to content

[Returning Issue] Claude Sonnet Thinking Mode incompatible with tool use - "Expected thinking or redacted_thinking, but found text" error #245

@prestabucket

Description

@prestabucket

Claude Sonnet Thinking Mode incompatible with tool use (regression in v1.2.5)

Hello @mattapperson,

I'm reopening this issue as it has resurfaced in the latest version.

Summary

Issue #177 was successfully resolved in version 1.2.1, which fixed the Claude Sonnet compatibility with Reasoning mode and Tool use. However, maybe the changes introduced in version 1.2.5 have caused a regression and now Claude Sonnet gives the original error: `"Expected thinking or redacted_thinking, but found text" when Reasoning is used with Tools.

Issue Details

The commit "Add Google Gemini reasoning_details support and fix multi-turn preservation" successfully resolved the Gemini 3 Pro Preview Reasoning integration, and maybe reintroduced the Claude Sonnet issue.

References

It appears we now have a situation where Gemini 3 Pro Preview Reasoning with Tools works correctly, but Claude Sonnet has regressed to the original error: "Expected thinking or redacted_thinking, but found text".

Thank you for your attention to this matter.

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions