You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@camel.apache.org by "Claus Ibsen (Jira)" <ji...@apache.org> on 2026/09/20 18:35:00 UTC
[jira] [Resolved] (CAMEL-24671) camel-openai: close the remaining gaps outside the Responses API
[ https://issues.apache.org/jira/browse/CAMEL-24671?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Claus Ibsen resolved CAMEL-24671.
---------------------------------
Resolution: Fixed
> camel-openai: close the remaining gaps outside the Responses API
> ----------------------------------------------------------------
>
> Key: CAMEL-24671
> URL: https://issues.apache.org/jira/browse/CAMEL-24671
> Project: Camel
> Issue Type: Improvement
> Components: camel-openai
> Reporter: Federico Mariani
> Assignee: Omar Atie
> Priority: Major
> Fix For: 4.23.0
>
>
> Follow-up of CAMEL-24670, which covers the Responses API. The items below exist in openai-java 4.55 (the version Camel uses) and in the OpenAI API spec, but not in camel-openai.
> * *PDF and audio input on chat-completion*: the API accepts {{file}} and {{input_audio}} content parts, but {{OpenAIProducer}} only sends text and images. A PDF body is rejected, or silently dropped when {{userMessage}} is set, the same bug CAMEL-24670 fixes for {{responses}}.
> * *Speaker-labelled transcription*: a {{diarized_json}} response falls through to {{response.toString()}}, and {{diarized_json}} is missing from the {{audioResponseFormat}} values. {{chunkingStrategy}} (required for {{gpt-4o-transcribe-diarize}} input over 30 seconds), {{knownSpeakerNames}} / {{knownSpeakerReferences}}, {{keywords}}, {{languages}} and {{include}} (logprobs) are not exposed.
> * *Audio upload filename*: a {{byte[]}} or {{InputStream}} body without {{CamelFileNameOnly}} is uploaded as {{audio}}, with no extension or content type, while the spec asks for both.
> * *Error metadata and observability*: the docs say {{CamelAiErrorCategory}} and {{CamelAiRetryAfterMillis}} are set when any OpenAI producer call fails, but audio-transcription, audio-translation, audio-speech, image-generation, image-edit and tool-execution never call {{GenAiErrorSupport}} and record no GenAI observation ({{GenAiOperationName}} has no audio or image value).
> _Claude Code on behalf of Federico Mariani (Croway)_
--
This message was sent by Atlassian Jira
(v8.20.10#820010)