Claus Ibsen created CAMEL-23929:
-----------------------------------

             Summary: camel-langchain4j-agent - Expose tool-calling options as 
@UriParam on endpoint configuration
                 Key: CAMEL-23929
                 URL: https://issues.apache.org/jira/browse/CAMEL-23929
             Project: Camel
          Issue Type: Improvement
          Components: camel-langchain4j-agent
            Reporter: Claus Ibsen


Follow-up from CAMEL-23928.

After CAMEL-23928 adds tool-calling options (maxToolCallingRoundTrips, 
compensateOnToolErrors, etc.) to AgentConfiguration, the simple scalar options 
should also be exposed as @UriParam on LangChain4jAgentConfiguration for 
URI-level convenience.

This would allow users to set these options directly in the endpoint URI (e.g. 
langchain4j-agent:myAgent?maxToolCallingRoundTrips=5) without having to create 
a separate AgentConfiguration bean, following the same pattern used for tags, 
jsonSchema, and outputClass.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to