[
https://issues.apache.org/jira/browse/CAMEL-23929?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18107865#comment-18107865
]
Claus Ibsen commented on CAMEL-23929:
-------------------------------------
Fixed via https://github.com/apache/camel/pull/25512 (merged to main, 4.23.0).
_Claude Code on behalf of Claus Ibsen_
> 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
> Assignee: Omar Atie
> Priority: Minor
> Fix For: 4.23.0
>
>
> 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)