[
https://issues.apache.org/jira/browse/CAMEL-23425?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Work on CAMEL-23425 started by Federico Mariani.
------------------------------------------------
> camel-openai - Add reasoning_content support and generic response header
> extraction
> -----------------------------------------------------------------------------------
>
> Key: CAMEL-23425
> URL: https://issues.apache.org/jira/browse/CAMEL-23425
> Project: Camel
> Issue Type: Improvement
> Components: camel-openai
> Affects Versions: 4.20.0
> Reporter: Federico Mariani
> Assignee: Federico Mariani
> Priority: Minor
> Fix For: 4.21.0
>
>
> The camel-openai component only reads message().content() from the chat
> completion response. Thinking models like Qwen3 and DeepSeek-R1 return their
> chain-of-thought reasoning in a separate reasoning_content field in the API
> response. When the model spends its entire output budget on reasoning,
> content comes back empty and downstream steps fail silently with no way to
> access the reasoning output.
> Implement:
> * reasoning_content extraction
> * Generic additionalResponseHeader option extraction
--
This message was sent by Atlassian Jira
(v8.20.10#820010)