apupier commented on issue #8153: URL: https://github.com/apache/camel-quarkus/issues/8153#issuecomment-3753302234
```
Caused by: [CIRCULAR REFERENCE:
dev.langchain4j.exception.ModelNotFoundException:
Request was not matched
=======================
-----------------------------------------------------------------------------------------------------------------------
| Closest stub | Request
|
-----------------------------------------------------------------------------------------------------------------------
|
api_chat |
|
POST | POST
/api/chat | /api/chat
|
[equalToJson] | {
<<<<< Body does not match
{ | "model" :
"granite4:3b",
"model" : "granite4:3b", | "messages" :
[ {
"messages" : [ { | "role" : "user",
"role" : "user", | "content" :
"Please list your
"content" : "Hello - my name is Alice" | available
tools. You MUST respond using ONLY valid JSON
} ], | with tool names
as an array. DO NOT add explanations. DO
"options" : { | NOT add
comments. DO NOT wrap in markdown."
"temperature" : 0.3, | } ],
"stop" : [ ] | "options" : {
}, |
"temperature" : 0.3,
"stream" : false, | "stop" : [ ]
"tools" : [ ] | },
} | "stream" :
false,
| "tools" : [ {
| "type" :
| "function",
| "function"
: {
| "name" :
|
"trigger-long-running-operation",
|
"description" :
| "Demonstrates a
long running operation with progress
| updates.",
|
"parameters" : {
| "type" :
| "object",
|
"properties" : {
|
"duration" :
| {
|
"type" : "number",
| "description" :
"Duration of the operation in seconds"
| },
|
"steps" : {
|
"type" : "number",
| "description" :
"Number of steps in the operation"
| }
| },
|
"required" : [ ]
| }
| }
| },
| {
| "type" :
"function",
| "function"
: {
| "name" : "echo",
|
"description" : "Echoes back the
| input string",
|
"parameters" : {
| "type" :
| "object",
|
"properties" : {
|
"message" :
| {
|
"type" : "string",
| "description" :
"Message to echo"
| }
| },
| "required" : [
"message" ]
| }
| }
| } ]
| }
|
-----------------------------------------------------------------------------------------------------------------------
```
--
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]
