Skip to content

Add test coverage for recent openai component enhancements #8858

Description

@jamesnetherton

Some features were added to the openai component recently. We should add coverage here, primarily to check that they work in native mode.

1. Test MCP tool integration / agentic loop for camel-openai

The camel-openai component supports an agentic loop via processNonStreamingAgentic() where the producer detects tool calls in chat completion responses, executes them via MCP servers, and loops back to the model. Related configuration options include mcpServer.*, autoToolExecution, maxToolIterations, mcpTimeout, mcpReconnect, and mcpProtocolVersions.

2. Audio transcription

See details here: https://camel.apache.org/components/next/others/openai-operations.html.

I don't think we need to cover all of the options. We just a test that exercises the core feature(s).

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions