Summary
The simpleToolInvocation test in Langchain4jAgentTest is disabled on camel-main because camel's CAMEL-23382 migrated tool discovery from CamelToolExecutorCache (langchain4j-tools) to AiToolRegistry (camel-ai-tool). The camel-ai-tool module has no Quarkus extension yet, so tools registered via langchain4j-tools: consumers are invisible to the langchain4j-agent producer.
Failing tests
Langchain4jAgentTest#simpleToolInvocation — disabled (@Disabled)
Langchain4jAgentIT#simpleToolInvocation — disabled (inherited)
What is needed
- Create a
camel-quarkus-ai-tool extension (runtime + deployment) for the camel-ai-tool component
- Update the
langchain4j-agent integration test route from langchain4j-tools: to ai-tool: consumer
- Add reflection registration in the deployment module for native mode support
- Update WireMock stubs if the tool name format changes
- Re-enable
simpleToolInvocation test
Context
Disabled in commit 27e4490735 with message:
Requires camel-quarkus-ai-tool extension and bridge from langchain4j-tools to ai-tool registry
Summary
The
simpleToolInvocationtest inLangchain4jAgentTestis disabled oncamel-mainbecause camel's CAMEL-23382 migrated tool discovery fromCamelToolExecutorCache(langchain4j-tools) toAiToolRegistry(camel-ai-tool). Thecamel-ai-toolmodule has no Quarkus extension yet, so tools registered vialangchain4j-tools:consumers are invisible to thelangchain4j-agentproducer.Failing tests
Langchain4jAgentTest#simpleToolInvocation— disabled (@Disabled)Langchain4jAgentIT#simpleToolInvocation— disabled (inherited)What is needed
camel-quarkus-ai-toolextension (runtime + deployment) for thecamel-ai-toolcomponentlangchain4j-agentintegration test route fromlangchain4j-tools:toai-tool:consumersimpleToolInvocationtestContext
Disabled in commit 27e4490735 with message: