Skip to content

feat: Add reasoningContent to OpenAiChatModel chatResponse metadata#6103

Open
guanxuc wants to merge 1 commit into
spring-projects:mainfrom
guanxuc:openai-reasoningContent
Open

feat: Add reasoningContent to OpenAiChatModel chatResponse metadata#6103
guanxuc wants to merge 1 commit into
spring-projects:mainfrom
guanxuc:openai-reasoningContent

Conversation

@guanxuc
Copy link
Copy Markdown
Contributor

@guanxuc guanxuc commented May 21, 2026

Related Issues

Changes

  • Added reasoningContent to generation metadata, both for call and stream method.
  • Compatible reasoning_content(such as openai) and reasoning(such as vllm) property for reasoningContent.
  • Return the actual value instead of Optional wrapper for refusal and annotations property.

@guanxuc guanxuc changed the title feat: Add reasoning_content to OpenAiChatModel chatResponse metadata feat: Add reasoningContent to OpenAiChatModel chatResponse metadata May 21, 2026
@guanxuc guanxuc force-pushed the openai-reasoningContent branch from 27e99eb to dbed5b5 Compare May 21, 2026 10:54
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

OpenAiChatModel mesage parser maybe compatible reasoning and reasoning_content

1 participant