Croway opened a new pull request, #23535:
URL: https://github.com/apache/camel/pull/23535

   ## Summary
   - Filter LLM tool argument field names against the tool's declared parameter 
schema before setting them as Exchange headers
   - Affects `camel-langchain4j-tools`, `camel-langchain4j-agent`, and 
`camel-spring-ai-tools`
   - Undeclared field names are logged at WARN level and skipped
   - If no parameters are declared, all fields pass through for backwards 
compatibility
   
   ## Test plan
   - [x] New test `testUndeclaredToolArgumentsAreNotPropagatedAsHeaders` 
verifies undeclared fields are filtered
   - [x] All existing tests pass (10/10 in camel-langchain4j-tools)
   - [x] All three modules compile cleanly
   
   _Claude Code on behalf of Federico Mariani_


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