Croway opened a new pull request, #22872: URL: https://github.com/apache/camel/pull/22872
## Summary - Add a new `audio-transcription` operation to the camel-openai component that transcribes audio files using OpenAI's speech-to-text models (Whisper, GPT-4o Transcribe) - Support `File`, `Path`, `InputStream`, and `byte[]` as input body types - Expose key parameters as endpoint options and headers: `audioModel`, `audioLanguage`, `audioPrompt`, `audioResponseFormat`, `audioTemperature`, `audioTimestampGranularities` - Extend mock test infrastructure (`OpenAIMock`, `OpenAIMockBuilder`, `OpenAIMockServerHandler`) to support audio transcription expectations - Include 6 mock tests covering all input types, header overrides, and missing model validation Jira: https://issues.apache.org/jira/browse/CAMEL-23390 ## Test plan - [x] 6 mock tests pass (`OpenAIAudioTranscriptionMockTest`) - [x] All 60 existing tests pass (no regressions) - [x] Verified against a local MLX Audio server with Granite Speech model - [ ] CI green _Claude Code on behalf of Federico Mariani_ -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
