JiriOndrusek opened a new pull request, #9547:
URL: https://github.com/apache/camel-quarkus/pull/9547

   Fixes #9544
   
   - The `@CamelAiTools` tag is now looked up by AI service interface name in 
`TAG_MAP`, not via a ThreadLocal set by a CDI interceptor.
   - Why: for `Multi` returns called on the event loop, quarkus-langchain4j 
runs `provideTools` on a worker thread, so the tag was lost and all tools were 
offered.
   - Tests: new streaming AI service test fails on main, passes with the fix; 
ai-tool-langchain4j JVM and native IT pass.


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