orpiske commented on code in PR #19391:
URL: https://github.com/apache/camel/pull/19391#discussion_r2394360475
##########
components/camel-ai/camel-langchain4j-agent/src/main/java/org/apache/camel/component/langchain4j/agent/LangChain4jAgentConfiguration.java:
##########
@@ -88,4 +93,17 @@ public AgentFactory getAgentFactory() {
public void setAgentFactory(AgentFactory agentFactory) {
this.agentFactory = agentFactory;
}
+
+ /**
+ * Custom LangChain4j tools to be available to the agent
+ *
+ * @return the custom tools (instances of classes with @Tool methods)
+ */
+ public List<Object> getCustomTools() {
+ return customTools;
+ }
+
+ public void setCustomTools(List<Object> customTools) {
+ this.customTools = customTools;
+ }
Review Comment:
I think this is the only thing that we don't need. As the customTools seem
to come from the agent configuration, I believe these are unused. Right?
--
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]