Claudio Miranda created CAMEL-22318:
---------------------------------------
Summary: integration-tests failures in camel-langchain4j modules
Key: CAMEL-22318
URL: https://issues.apache.org/jira/browse/CAMEL-22318
Project: Camel
Issue Type: Bug
Components: camel-ai
Reporter: Claudio Miranda
There are several integration-test erros in camel-ai modules
{code}
[ERROR]
org.apache.camel.component.langchain4j.tools.integration.LangChain4jToolMultipleMatchingGroupsIT.testSimpleInvocation
-- Time elapsed: 0.363 s <<< FAILURE!
java.lang.AssertionError:
Expecting actual:
"[SystemMessage { text = "You provide the requested information using the
functions you hava available. You can invoke the functions to obtain the
information you need to complete the answer.
" }, UserMessage { name = null contents = [TextContent { text = "What is the
name of the user 1 and what department he is part of?
" }] }]"
to contain:
"Paul McFly"
(ignoring case)
at
org.apache.camel.component.langchain4j.tools.LangChain4jToolMultipleMatchingGroupsTest.testSimpleInvocation(LangChain4jToolMultipleMatchingGroupsTest.java:116)
at java.base/java.lang.reflect.Method.invoke(Method.java:569)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
at java.base/java.util.ArrayList.forEach(ArrayList.java:1511)
{code}
{code}
[ERROR]
org.apache.camel.component.langchain4j.tools.integration.LangChain4jToolMultipleCallsIT.testSimpleInvocation()[9]
-- Time elapsed: 0.015 s <<< FAILURE!
org.opentest4j.AssertionFailedError:
Expecting value to be true but was false
{code}
[ERROR] Tests run: 1, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 61.99 s
<<< FAILURE! -- in
org.apache.camel.component.langchain4j.tools.integration.LangChain4jToolIT
[ERROR]
org.apache.camel.component.langchain4j.tools.integration.LangChain4jToolIT.testSimpleInvocation()[1]
-- Time elapsed: 0.013 s <<< FAILURE!
java.lang.AssertionError:
Expecting actual:
"[SystemMessage { text = "You provide the requested information using the
functions you hava available. You can invoke the functions to obtain the
information you need to complete the answer.
" }, UserMessage { name = null contents = [TextContent { text = "What is the
name of the user 1?
" }] }]"
{code}
{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)