Skip to content

Honor disabled reasoning in tool history - #6984

Open
xujiantop-crypto wants to merge 1 commit into
spring-projects:mainfrom
xujiantop-crypto:fix/honor-include-reasoning
Open

xujiantop-crypto wants to merge 1 commit into
spring-projects:mainfrom
xujiantop-crypto:fix/honor-include-reasoning

Conversation

@xujiantop-crypto

Copy link
Copy Markdown

Summary

  • Respect extraBody.include_reasoning=false when replaying assistant reasoning content in tool history.
  • Preserve the existing default behavior for providers that require reasoning_content.
  • Keep tool calls intact when reasoning replay is disabled.

Verification

  • OpenAiChatModelTests: 47 tests passed.
  • git diff --check passed.

Fixes #6968

Respect the provider-level include_reasoning=false option when replaying assistant reasoning content, while preserving the existing default behavior for providers that require it.

Fixes spring-projects#6968

Signed-off-by: xujiantop-crypto <265865031+xujiantop-crypto@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Groq GPT-OSS tool calling fails on subsequent request because reasoning_content is replayed by ToolCallingAdvisor

2 participants