JiriOndrusek opened a new issue, #8914:
URL: https://github.com/apache/camel-quarkus/issues/8914

   ## 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
   
   1. Create a `camel-quarkus-ai-tool` extension (runtime + deployment) for the 
`camel-ai-tool` component
   2. Update the `langchain4j-agent` integration test route from 
`langchain4j-tools:` to `ai-tool:` consumer
   3. Add reflection registration in the deployment module for native mode 
support
   4. Update WireMock stubs if the tool name format changes
   5. 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


-- 
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]

Reply via email to