atiaomar1978-hub opened a new pull request, #25116: URL: https://github.com/apache/camel/pull/25116
## Summary - Adds `openai:responses` (non-streaming) calling the OpenAI Responses API with chat-like text/image input, `systemMessage` → `instructions`, structured output (`outputClass` / `jsonSchema`), and response headers (`CamelOpenAIResponseId`, token usage). - Server-side multi-turn via `previousResponseId` / `CamelOpenAIPreviousResponseId`; hosted tools via `builtinTools` (+ `fileSearchVectorStoreIds` for `file_search`) and JSON `hostedMcpTools` for Tool.Mcp pass-through. - Extends OpenAI mock test infra with `/v1/responses`; `OpenAIResponsesMockTest` (7 cases). Docs: `openai-responses.adoc`, component page, Camel 4.22 upgrade guide. ## JIRA https://issues.apache.org/jira/browse/CAMEL-23969 ## Out of scope (per ticket) - Streaming on `responses` (explicitly rejected with clear error; use `chat-completion` for streaming). - Camel-route function tools (deferred until CAMEL-23382 unified tool abstraction). ## Test plan - [x] `OpenAIResponsesMockTest` (local Maven, Java 21) - [ ] CI ## Reviews Local Bugbot + Grok review findings addressed (streaming header check, file_search vector store validation, finish-reason mapping, mock `input_text`, storeFullResponse property docs). _AI-generated PR description on behalf of @atiaomar1978-hub._ Made with [Cursor](https://cursor.com) -- 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]
