This is an automated email from the ASF dual-hosted git repository.
jiriondrusek pushed a commit to branch camel-main
in repository https://gitbox.apache.org/repos/asf/camel-quarkus.git
The following commit(s) were added to refs/heads/camel-main by this push:
new 788d829d78 Regenrated langchain4j-agent woremocked data + small fix
788d829d78 is described below
commit 788d829d78063d09dc113004ea075dd66e83c323
Author: Jiri Ondrusek <[email protected]>
AuthorDate: Wed Jan 21 09:08:33 2026 +0100
Regenrated langchain4j-agent woremocked data + small fix
---
.../langchain4j/agent/it/Langchain4jAgentTest.java | 2 +-
...mbed-1e8084ee-91b3-4095-86b7-9845fe1480d6.json} | 2 +-
..._chat-23ec7f4e-5faf-4ce6-a45d-ff614ffec53e.json | 24 -------------------
...chat-2b0b28a2-8580-47f8-a2a9-d5f1a315c7ba.json} | 8 +++----
...chat-334a44c3-a293-4f2e-a358-d2de41f194d0.json} | 8 +++----
..._chat-3c82f8a7-b924-42cb-9126-70d5a4ff06eb.json | 27 ++++++++++++++++++++++
...chat-3cd813bc-486c-48ca-862d-5026f98fc91c.json} | 8 +++----
...chat-45682c8e-3456-4fc9-b941-6f702f1f087a.json} | 8 +++----
..._chat-4a9ef230-5deb-4eec-b1df-f072a9528a4f.json | 27 ----------------------
...chat-5cf2abf3-353d-47ae-a5ef-a093c49748c8.json} | 8 +++----
..._chat-64ccec1c-9992-4a1c-a437-c8103348e6d9.json | 24 +++++++++++++++++++
...chat-6fdb3b04-ba4c-4add-956c-e1c8ec82f799.json} | 8 +++----
..._chat-7abcebba-6417-4088-b392-d131060023ca.json | 24 -------------------
..._chat-7ac8e750-c3b8-4a7f-be22-4776aa5d8cad.json | 24 +++++++++++++++++++
...chat-7b64ea63-5c36-431c-ba20-f1ea5643cc06.json} | 10 ++++----
..._chat-938199ac-c67b-434b-a78f-4755ccb9fc00.json | 26 ---------------------
...chat-946ce08a-8829-4ffa-b425-6609cd8413e6.json} | 8 +++----
...chat-b311fa1d-c821-4031-b94d-d37cf3344deb.json} | 8 +++----
..._chat-b8cb81a6-f441-486c-9ae8-b6e0cecb7640.json | 26 +++++++++++++++++++++
...chat-b9e443eb-f523-43c5-b15a-5b481b00ad7e.json} | 8 +++----
...chat-c285552d-f27e-4cf3-a942-ff92a666e118.json} | 8 +++----
..._chat-c87426f7-7083-404e-9b93-fe92227645b2.json | 24 -------------------
...chat-d4f1693c-88e0-456f-b650-77a6bf6e543f.json} | 8 +++----
...chat-d71f7bb9-5a9e-4317-aecd-49cd95dbadb1.json} | 8 +++----
...chat-d9ade7be-8f94-4535-a552-9910f04cbbe0.json} | 8 +++----
..._chat-e42c2b42-065e-46fb-9376-1c291eda3604.json | 24 -------------------
..._chat-ed06950e-1368-45a1-a414-2a0c447e2ca6.json | 24 +++++++++++++++++++
...chat-f265676e-9355-40b6-9593-926440edd441.json} | 8 +++----
..._chat-f45a3c47-6000-4594-b413-de1ab5174897.json | 24 +++++++++++++++++++
...mbed-1e8084ee-91b3-4095-86b7-9845fe1480d6.json} | 8 +++----
...mbed-a75f0506-7e8e-453b-9ec8-bd62378fd23d.json} | 8 +++----
31 files changed, 220 insertions(+), 220 deletions(-)
diff --git
a/integration-tests/langchain4j-agent/src/test/java/org/apache/camel/quarkus/component/langchain4j/agent/it/Langchain4jAgentTest.java
b/integration-tests/langchain4j-agent/src/test/java/org/apache/camel/quarkus/component/langchain4j/agent/it/Langchain4jAgentTest.java
index 573a7d0815..b1a3d2c95a 100644
---
a/integration-tests/langchain4j-agent/src/test/java/org/apache/camel/quarkus/component/langchain4j/agent/it/Langchain4jAgentTest.java
+++
b/integration-tests/langchain4j-agent/src/test/java/org/apache/camel/quarkus/component/langchain4j/agent/it/Langchain4jAgentTest.java
@@ -237,7 +237,7 @@ class Langchain4jAgentTest {
.post("/langchain4j-agent/mcp/client")
.then()
.statusCode(200)
- .body(".",
containsInAnyOrder("trigger-long-running-operation", "echo"));
+ .body(".", containsInAnyOrder("add", "echo",
"longRunningOperation"));
RestAssured.given()
.body("Use your available tools to perform a long running
operation for 2 seconds with 2 steps. DO NOT use any markdown formatting in the
response.")
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/__files/api_embed-332d1a1b-9c67-405d-bf76-a0f701843036.json
b/integration-tests/langchain4j-agent/src/test/resources/__files/api_embed-1e8084ee-91b3-4095-86b7-9845fe1480d6.json
similarity index 99%
rename from
integration-tests/langchain4j-agent/src/test/resources/__files/api_embed-332d1a1b-9c67-405d-bf76-a0f701843036.json
rename to
integration-tests/langchain4j-agent/src/test/resources/__files/api_embed-1e8084ee-91b3-4095-86b7-9845fe1480d6.json
index 2dcb389e87..73198be1ed 100644
---
a/integration-tests/langchain4j-agent/src/test/resources/__files/api_embed-332d1a1b-9c67-405d-bf76-a0f701843036.json
+++
b/integration-tests/langchain4j-agent/src/test/resources/__files/api_embed-1e8084ee-91b3-4095-86b7-9845fe1480d6.json
@@ -1 +1 @@
-{"model":"nomic-embed-text","embeddings":[[-0.0009466486,0.037309933,-0.1915589,-0.023723029,0.05843722,-0.035545707,-0.0017817644,-0.015704276,-0.028122663,-0.0055035865,-0.052609082,0.04383919,0.00039316143,-0.023646308,0.069905564,-0.029778978,0.0077509126,-0.07298615,-0.06070862,0.091046594,-0.030032177,-0.0020017496,-0.0469251,-0.052244417,0.032175764,-0.011999858,-0.007285211,0.058825955,-0.051475406,-0.025669474,0.025158448,-0.008839627,0.04279815,-0.040296685,-0.07954074,-0.06699
[...]
\ No newline at end of file
+{"model":"nomic-embed-text","embeddings":[[-0.0009466486,0.037309933,-0.1915589,-0.023723029,0.05843722,-0.035545707,-0.0017817644,-0.015704276,-0.028122663,-0.0055035865,-0.052609082,0.04383919,0.00039316143,-0.023646308,0.069905564,-0.029778978,0.0077509126,-0.07298615,-0.06070862,0.091046594,-0.030032177,-0.0020017496,-0.0469251,-0.052244417,0.032175764,-0.011999858,-0.007285211,0.058825955,-0.051475406,-0.025669474,0.025158448,-0.008839627,0.04279815,-0.040296685,-0.07954074,-0.06699
[...]
\ No newline at end of file
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-23ec7f4e-5faf-4ce6-a45d-ff614ffec53e.json
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-23ec7f4e-5faf-4ce6-a45d-ff614ffec53e.json
deleted file mode 100644
index 3878e8f2dd..0000000000
---
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-23ec7f4e-5faf-4ce6-a45d-ff614ffec53e.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "id" : "23ec7f4e-5faf-4ce6-a45d-ff614ffec53e",
- "name" : "api_chat",
- "request" : {
- "url" : "/api/chat",
- "method" : "POST",
- "bodyPatterns" : [ {
- "equalToJson" : "{\n \"model\" : \"granite4:3b\",\n \"messages\" : [
{\n \"role\" : \"user\",\n \"content\" : \"Please list your available
tools. You MUST respond using ONLY valid JSON with tool names as an array. DO
NOT add explanations. DO NOT add comments. DO NOT wrap in markdown.\"\n } ],\n
\"options\" : {\n \"temperature\" : 0.3,\n \"stop\" : [ ]\n },\n
\"stream\" : false,\n \"tools\" : [ {\n \"type\" : \"function\",\n
\"function\" : {\n \"name\" [...]
- "ignoreArrayOrder" : true,
- "ignoreExtraElements" : false
- } ]
- },
- "response" : {
- "status" : 200,
- "body" :
"{\"model\":\"granite4:3b\",\"created_at\":\"2026-01-16T13:05:40.616076128Z\",\"message\":{\"role\":\"assistant\",\"content\":\"[\\n
\\\"trigger-long-running-operation\\\",\\n
\\\"echo\\\"\\n]\"},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":3603226656,\"load_duration\":46604599,\"prompt_eval_count\":273,\"prompt_eval_duration\":3016692754,\"eval_count\":14,\"eval_duration\":531047267}",
- "headers" : {
- "Date" : "Fri, 16 Jan 2026 13:05:40 GMT",
- "Content-Type" : "application/json; charset=utf-8"
- }
- },
- "uuid" : "23ec7f4e-5faf-4ce6-a45d-ff614ffec53e",
- "persistent" : true,
- "insertionIndex" : 14
-}
\ No newline at end of file
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-f3a945b7-525d-4677-a71c-2565ab7119e3.json
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-2b0b28a2-8580-47f8-a2a9-d5f1a315c7ba.json
similarity index 73%
rename from
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-f3a945b7-525d-4677-a71c-2565ab7119e3.json
rename to
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-2b0b28a2-8580-47f8-a2a9-d5f1a315c7ba.json
index d19d6a746f..8235301012 100644
---
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-f3a945b7-525d-4677-a71c-2565ab7119e3.json
+++
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-2b0b28a2-8580-47f8-a2a9-d5f1a315c7ba.json
@@ -1,5 +1,5 @@
{
- "id" : "f3a945b7-525d-4677-a71c-2565ab7119e3",
+ "id" : "2b0b28a2-8580-47f8-a2a9-d5f1a315c7ba",
"name" : "api_chat",
"request" : {
"url" : "/api/chat",
@@ -12,13 +12,13 @@
},
"response" : {
"status" : 200,
- "body" :
"{\"model\":\"orca-mini\",\"created_at\":\"2026-01-16T13:05:36.772833082Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
Sure, here's an example JSON object for John Doe:\\n\\n```json\\n{\\n
\\\"name\\\": \\\"John Doe\\\",\\n \\\"description\\\": \\\"An example person
with a unique name and a brief
description\\\"\\n}\\n```\"},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":2665987811,\"load_duration\":11681025,\"prompt_eval_count\":60,\"prompt_eval_duration\
[...]
+ "body" :
"{\"model\":\"orca-mini\",\"created_at\":\"2026-01-21T08:01:20.936033958Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
Sure, here's an example JSON object for John Doe:\\n\\n```json\\n{\\n
\\\"name\\\": \\\"John Doe\\\",\\n \\\"description\\\": \\\"An example person
with a unique name and a brief
description\\\"\\n}\\n```\"},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":2504619772,\"load_duration\":11930628,\"prompt_eval_count\":60,\"prompt_eval_duration\
[...]
"headers" : {
- "Date" : "Fri, 16 Jan 2026 13:05:36 GMT",
+ "Date" : "Wed, 21 Jan 2026 08:01:20 GMT",
"Content-Type" : "application/json; charset=utf-8"
}
},
- "uuid" : "f3a945b7-525d-4677-a71c-2565ab7119e3",
+ "uuid" : "2b0b28a2-8580-47f8-a2a9-d5f1a315c7ba",
"persistent" : true,
"insertionIndex" : 15
}
\ No newline at end of file
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-c04d734f-3c0a-4695-a64e-cae04777cd1b.json
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-334a44c3-a293-4f2e-a358-d2de41f194d0.json
similarity index 68%
rename from
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-c04d734f-3c0a-4695-a64e-cae04777cd1b.json
rename to
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-334a44c3-a293-4f2e-a358-d2de41f194d0.json
index a99c7498e8..08b32a4215 100644
---
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-c04d734f-3c0a-4695-a64e-cae04777cd1b.json
+++
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-334a44c3-a293-4f2e-a358-d2de41f194d0.json
@@ -1,5 +1,5 @@
{
- "id" : "c04d734f-3c0a-4695-a64e-cae04777cd1b",
+ "id" : "334a44c3-a293-4f2e-a358-d2de41f194d0",
"name" : "api_chat",
"request" : {
"url" : "/api/chat",
@@ -12,13 +12,13 @@
},
"response" : {
"status" : 200,
- "body" :
"{\"model\":\"orca-mini\",\"created_at\":\"2026-01-16T13:05:16.048761319Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
Hello, Alice. How can I assist you
today?\"},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":644615594,\"load_duration\":10916689,\"prompt_eval_count\":46,\"prompt_eval_duration\":198459669,\"eval_count\":12,\"eval_duration\":431738136}",
+ "body" :
"{\"model\":\"orca-mini\",\"created_at\":\"2026-01-21T08:00:57.311525014Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
Hello, Alice. How can I assist you
today?\"},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":622877906,\"load_duration\":11845848,\"prompt_eval_count\":46,\"prompt_eval_duration\":188038439,\"eval_count\":12,\"eval_duration\":419968471}",
"headers" : {
- "Date" : "Fri, 16 Jan 2026 13:05:16 GMT",
+ "Date" : "Wed, 21 Jan 2026 08:00:57 GMT",
"Content-Type" : "application/json; charset=utf-8"
}
},
- "uuid" : "c04d734f-3c0a-4695-a64e-cae04777cd1b",
+ "uuid" : "334a44c3-a293-4f2e-a358-d2de41f194d0",
"persistent" : true,
"scenarioName" : "scenario-2-api-chat",
"requiredScenarioState" : "Started",
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-3c82f8a7-b924-42cb-9126-70d5a4ff06eb.json
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-3c82f8a7-b924-42cb-9126-70d5a4ff06eb.json
new file mode 100644
index 0000000000..0678ca81b9
--- /dev/null
+++
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-3c82f8a7-b924-42cb-9126-70d5a4ff06eb.json
@@ -0,0 +1,27 @@
+{
+ "id" : "3c82f8a7-b924-42cb-9126-70d5a4ff06eb",
+ "name" : "api_chat",
+ "request" : {
+ "url" : "/api/chat",
+ "method" : "POST",
+ "bodyPatterns" : [ {
+ "equalToJson" : "{\n \"model\" : \"orca-mini\",\n \"messages\" : [ {\n
\"role\" : \"system\",\n \"content\" : \"You are a whimsical storyteller.
Your responses should be imaginative, descriptive, and always include a touch
of magic. Start every story with 'Once upon a starlit night...'\"\n }, {\n
\"role\" : \"user\",\n \"content\" : \"Write a short story about a lost
cat.\"\n } ],\n \"options\" : {\n \"temperature\" : 0.3,\n \"stop\" : [
]\n },\n \"stream\" [...]
+ "ignoreArrayOrder" : true,
+ "ignoreExtraElements" : false
+ } ]
+ },
+ "response" : {
+ "status" : 200,
+ "body" :
"{\"model\":\"orca-mini\",\"created_at\":\"2026-01-21T08:01:18.396026391Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
Once upon a starlit night, a curious little girl named Lily was out exploring
her neighborhood. She loved nothing more than to wander through the lush green
trees and colorful flowers that surrounded her home. As she wandered deeper
into the woods, she heard a faint meowing sound. Curiosity getting the better
of her, she followed the sound until she [...]
+ "headers" : {
+ "Date" : "Wed, 21 Jan 2026 08:01:18 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ }
+ },
+ "uuid" : "3c82f8a7-b924-42cb-9126-70d5a4ff06eb",
+ "persistent" : true,
+ "scenarioName" : "scenario-1-api-chat",
+ "requiredScenarioState" : "Started",
+ "newScenarioState" : "scenario-1-api-chat-2",
+ "insertionIndex" : 16
+}
\ No newline at end of file
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-2ec9a67a-419b-4220-8151-bd37a5439705.json
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-3cd813bc-486c-48ca-862d-5026f98fc91c.json
similarity index 62%
rename from
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-2ec9a67a-419b-4220-8151-bd37a5439705.json
rename to
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-3cd813bc-486c-48ca-862d-5026f98fc91c.json
index 77f223dec0..ec0f48fda1 100644
---
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-2ec9a67a-419b-4220-8151-bd37a5439705.json
+++
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-3cd813bc-486c-48ca-862d-5026f98fc91c.json
@@ -1,5 +1,5 @@
{
- "id" : "2ec9a67a-419b-4220-8151-bd37a5439705",
+ "id" : "3cd813bc-486c-48ca-862d-5026f98fc91c",
"name" : "api_chat",
"request" : {
"url" : "/api/chat",
@@ -12,13 +12,13 @@
},
"response" : {
"status" : 200,
- "body" :
"{\"model\":\"orca-mini\",\"created_at\":\"2026-01-16T13:05:49.595969998Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
Sure, here's an example JSON object for John Doe:\\n\\n```json\\n{\\n
\\\"name\\\": \\\"John Doe\\\",\\n \\\"description\\\": \\\"John Doe is a
person with a unique set of skills and experiences. He has worked in various
industries and has expertise in fields such as marketing, finance, and
technology.\\\"\\n}\\n```\"},\"done\":true,\"done_reason\":\ [...]
+ "body" :
"{\"model\":\"orca-mini\",\"created_at\":\"2026-01-21T08:01:33.067585999Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
Sure, here's an example JSON object for John Doe:\\n\\n```json\\n{\\n
\\\"name\\\": \\\"John Doe\\\",\\n \\\"description\\\": \\\"A person with a
unique name and a brief
description.\\\"\\n}\\n```\"},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":2473107200,\"load_duration\":12235280,\"prompt_eval_count\":90,\"prompt_eval_duration\":438293
[...]
"headers" : {
- "Date" : "Fri, 16 Jan 2026 13:05:49 GMT",
+ "Date" : "Wed, 21 Jan 2026 08:01:33 GMT",
"Content-Type" : "application/json; charset=utf-8"
}
},
- "uuid" : "2ec9a67a-419b-4220-8151-bd37a5439705",
+ "uuid" : "3cd813bc-486c-48ca-862d-5026f98fc91c",
"persistent" : true,
"insertionIndex" : 11
}
\ No newline at end of file
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-e5af20e3-b94e-4d35-9a12-98a72243816a.json
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-45682c8e-3456-4fc9-b941-6f702f1f087a.json
similarity index 76%
rename from
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-e5af20e3-b94e-4d35-9a12-98a72243816a.json
rename to
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-45682c8e-3456-4fc9-b941-6f702f1f087a.json
index a0519f8635..dc9b2512c2 100644
---
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-e5af20e3-b94e-4d35-9a12-98a72243816a.json
+++
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-45682c8e-3456-4fc9-b941-6f702f1f087a.json
@@ -1,5 +1,5 @@
{
- "id" : "e5af20e3-b94e-4d35-9a12-98a72243816a",
+ "id" : "45682c8e-3456-4fc9-b941-6f702f1f087a",
"name" : "api_chat",
"request" : {
"url" : "/api/chat",
@@ -12,13 +12,13 @@
},
"response" : {
"status" : 200,
- "body" :
"{\"model\":\"granite4:3b\",\"created_at\":\"2026-01-16T13:05:53.660875686Z\",\"message\":{\"role\":\"assistant\",\"content\":\"The
result of adding 10 and 5 is
**15**.\"},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":973346714,\"load_duration\":41645698,\"prompt_eval_count\":233,\"prompt_eval_duration\":355748423,\"eval_count\":15,\"eval_duration\":566263193}",
+ "body" :
"{\"model\":\"granite4:3b\",\"created_at\":\"2026-01-21T08:01:36.945337351Z\",\"message\":{\"role\":\"assistant\",\"content\":\"The
sum of 10 and 5 is
**15**.\"},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":977860704,\"load_duration\":45035949,\"prompt_eval_count\":233,\"prompt_eval_duration\":327764002,\"eval_count\":14,\"eval_duration\":595399685}",
"headers" : {
- "Date" : "Fri, 16 Jan 2026 13:05:53 GMT",
+ "Date" : "Wed, 21 Jan 2026 08:01:36 GMT",
"Content-Type" : "application/json; charset=utf-8"
}
},
- "uuid" : "e5af20e3-b94e-4d35-9a12-98a72243816a",
+ "uuid" : "45682c8e-3456-4fc9-b941-6f702f1f087a",
"persistent" : true,
"insertionIndex" : 9
}
\ No newline at end of file
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-4a9ef230-5deb-4eec-b1df-f072a9528a4f.json
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-4a9ef230-5deb-4eec-b1df-f072a9528a4f.json
deleted file mode 100644
index 74a39c40c1..0000000000
---
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-4a9ef230-5deb-4eec-b1df-f072a9528a4f.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
- "id" : "4a9ef230-5deb-4eec-b1df-f072a9528a4f",
- "name" : "api_chat",
- "request" : {
- "url" : "/api/chat",
- "method" : "POST",
- "bodyPatterns" : [ {
- "equalToJson" : "{\n \"model\" : \"orca-mini\",\n \"messages\" : [ {\n
\"role\" : \"system\",\n \"content\" : \"You are a whimsical storyteller.
Your responses should be imaginative, descriptive, and always include a touch
of magic. Start every story with 'Once upon a starlit night...'\"\n }, {\n
\"role\" : \"user\",\n \"content\" : \"Write a short story about a lost
cat.\"\n } ],\n \"options\" : {\n \"temperature\" : 0.3,\n \"stop\" : [
]\n },\n \"stream\" [...]
- "ignoreArrayOrder" : true,
- "ignoreExtraElements" : false
- } ]
- },
- "response" : {
- "status" : 200,
- "body" :
"{\"model\":\"orca-mini\",\"created_at\":\"2026-01-16T13:05:34.073640809Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
Once upon a starlit night, a curious little girl named Lily wandered through
the forest, searching for her missing cat. She had been searching for hours and
was about to give up when she heard a faint meowing sound coming from a nearby
bush. \\n\\nCuriosity getting the better of her, she cautiously approached the
bush and found a tiny kitten, shiveri [...]
- "headers" : {
- "Date" : "Fri, 16 Jan 2026 13:05:34 GMT",
- "Content-Type" : "application/json; charset=utf-8"
- }
- },
- "uuid" : "4a9ef230-5deb-4eec-b1df-f072a9528a4f",
- "persistent" : true,
- "scenarioName" : "scenario-1-api-chat",
- "requiredScenarioState" : "Started",
- "newScenarioState" : "scenario-1-api-chat-2",
- "insertionIndex" : 16
-}
\ No newline at end of file
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-a47ed0c7-2b67-4c96-85d2-205a2711578e.json
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-5cf2abf3-353d-47ae-a5ef-a093c49748c8.json
similarity index 72%
rename from
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-a47ed0c7-2b67-4c96-85d2-205a2711578e.json
rename to
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-5cf2abf3-353d-47ae-a5ef-a093c49748c8.json
index 3bec0cf5a5..dcbd0df0dd 100644
---
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-a47ed0c7-2b67-4c96-85d2-205a2711578e.json
+++
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-5cf2abf3-353d-47ae-a5ef-a093c49748c8.json
@@ -1,5 +1,5 @@
{
- "id" : "a47ed0c7-2b67-4c96-85d2-205a2711578e",
+ "id" : "5cf2abf3-353d-47ae-a5ef-a093c49748c8",
"name" : "api_chat",
"request" : {
"url" : "/api/chat",
@@ -12,13 +12,13 @@
},
"response" : {
"status" : 200,
- "body" :
"{\"model\":\"granite4:3b\",\"created_at\":\"2026-01-16T13:05:52.680794032Z\",\"message\":{\"role\":\"assistant\",\"content\":\"\",\"tool_calls\":[{\"id\":\"call_kqpsiiry\",\"function\":{\"index\":0,\"name\":\"addNumbers\",\"arguments\":{\"arg1\":5,\"arg0\":10}}}]},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":3050230312,\"load_duration\":46050267,\"prompt_eval_count\":193,\"prompt_eval_duration\":1902136007,\"eval_count\":28,\"eval_duration\":1086056525}",
+ "body" :
"{\"model\":\"granite4:3b\",\"created_at\":\"2026-01-21T08:01:35.959162737Z\",\"message\":{\"role\":\"assistant\",\"content\":\"\",\"tool_calls\":[{\"id\":\"call_ixnrpy7u\",\"function\":{\"index\":0,\"name\":\"addNumbers\",\"arguments\":{\"arg0\":10,\"arg1\":5}}}]},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":2857200262,\"load_duration\":43778600,\"prompt_eval_count\":193,\"prompt_eval_duration\":1576333093,\"eval_count\":28,\"eval_duration\":1222509432}",
"headers" : {
- "Date" : "Fri, 16 Jan 2026 13:05:52 GMT",
+ "Date" : "Wed, 21 Jan 2026 08:01:35 GMT",
"Content-Type" : "application/json; charset=utf-8"
}
},
- "uuid" : "a47ed0c7-2b67-4c96-85d2-205a2711578e",
+ "uuid" : "5cf2abf3-353d-47ae-a5ef-a093c49748c8",
"persistent" : true,
"insertionIndex" : 10
}
\ No newline at end of file
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-64ccec1c-9992-4a1c-a437-c8103348e6d9.json
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-64ccec1c-9992-4a1c-a437-c8103348e6d9.json
new file mode 100644
index 0000000000..93970beecf
--- /dev/null
+++
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-64ccec1c-9992-4a1c-a437-c8103348e6d9.json
@@ -0,0 +1,24 @@
+{
+ "id" : "64ccec1c-9992-4a1c-a437-c8103348e6d9",
+ "name" : "api_chat",
+ "request" : {
+ "url" : "/api/chat",
+ "method" : "POST",
+ "bodyPatterns" : [ {
+ "equalToJson" : "{\n \"model\" : \"orca-mini\",\n \"messages\" : [ {\n
\"role\" : \"user\",\n \"content\" : \"What is Apache Camel?\"\n } ],\n
\"options\" : {\n \"temperature\" : 0.3,\n \"stop\" : [ ]\n },\n
\"stream\" : false,\n \"tools\" : [ ]\n}",
+ "ignoreArrayOrder" : true,
+ "ignoreExtraElements" : false
+ } ]
+ },
+ "response" : {
+ "status" : 200,
+ "body" :
"{\"model\":\"orca-mini\",\"created_at\":\"2026-01-21T08:01:01.513231611Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
Apache Camel is an open-source project that provides a framework for building
and managing business processes that involve multiple services and systems. It
allows businesses to easily create their own pipelines that integrate data
between different applications and systems, and manage the flow of data in a
modular and scalable way. Camel supports a [...]
+ "headers" : {
+ "Date" : "Wed, 21 Jan 2026 08:01:01 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ }
+ },
+ "uuid" : "64ccec1c-9992-4a1c-a437-c8103348e6d9",
+ "persistent" : true,
+ "insertionIndex" : 17
+}
\ No newline at end of file
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-68c98680-0acb-4906-81d2-c929d7625547.json
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-6fdb3b04-ba4c-4add-956c-e1c8ec82f799.json
similarity index 63%
rename from
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-68c98680-0acb-4906-81d2-c929d7625547.json
rename to
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-6fdb3b04-ba4c-4add-956c-e1c8ec82f799.json
index bda9b9dad4..82ea80dcfd 100644
---
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-68c98680-0acb-4906-81d2-c929d7625547.json
+++
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-6fdb3b04-ba4c-4add-956c-e1c8ec82f799.json
@@ -1,5 +1,5 @@
{
- "id" : "68c98680-0acb-4906-81d2-c929d7625547",
+ "id" : "6fdb3b04-ba4c-4add-956c-e1c8ec82f799",
"name" : "api_chat",
"request" : {
"url" : "/api/chat",
@@ -12,13 +12,13 @@
},
"response" : {
"status" : 200,
- "body" :
"{\"model\":\"orca-mini\",\"created_at\":\"2026-01-16T13:05:57.74499021Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
Sure, here's an example JSON object for John Doe with his age and
description:\\n\\n```json\\n{\\n \\\"name\\\": \\\"John Doe\\\",\\n
\\\"age\\\": 30,\\n \\\"description\\\": \\\"John Doe is a software engineer at
XYZ company. He enjoys hiking and playing guitar in his free
time.\\\"\\n}\\n```\"},\"done\":true,\"done_reason\":\"stop\",\"total_duration
[...]
+ "body" :
"{\"model\":\"orca-mini\",\"created_at\":\"2026-01-21T08:01:41.39971525Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
Sure, here's an example JSON object for John Doe with his age and
description:\\n\\n```json\\n{\\n \\\"name\\\": \\\"John Doe\\\",\\n
\\\"age\\\": 30,\\n \\\"description\\\": \\\"John Doe is a software engineer
with over five years of experience. He enjoys hiking and playing guitar in his
free time.\\\"\\n}\\n```\"},\"done\":true,\"done_reason\":\"sto [...]
"headers" : {
- "Date" : "Fri, 16 Jan 2026 13:05:57 GMT",
+ "Date" : "Wed, 21 Jan 2026 08:01:41 GMT",
"Content-Type" : "application/json; charset=utf-8"
}
},
- "uuid" : "68c98680-0acb-4906-81d2-c929d7625547",
+ "uuid" : "6fdb3b04-ba4c-4add-956c-e1c8ec82f799",
"persistent" : true,
"insertionIndex" : 7
}
\ No newline at end of file
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-7abcebba-6417-4088-b392-d131060023ca.json
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-7abcebba-6417-4088-b392-d131060023ca.json
deleted file mode 100644
index 6d6c4b6714..0000000000
---
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-7abcebba-6417-4088-b392-d131060023ca.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "id" : "7abcebba-6417-4088-b392-d131060023ca",
- "name" : "api_chat",
- "request" : {
- "url" : "/api/chat",
- "method" : "POST",
- "bodyPatterns" : [ {
- "equalToJson" : "{\n \"model\" : \"orca-mini\",\n \"messages\" : [ {\n
\"role\" : \"user\",\n \"content\" : \"What is Apache Camel?\"\n } ],\n
\"options\" : {\n \"temperature\" : 0.3,\n \"stop\" : [ ]\n },\n
\"stream\" : false,\n \"tools\" : [ ]\n}",
- "ignoreArrayOrder" : true,
- "ignoreExtraElements" : false
- } ]
- },
- "response" : {
- "status" : 200,
- "body" :
"{\"model\":\"orca-mini\",\"created_at\":\"2026-01-16T13:05:22.044097308Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
Apache Camel is an open-source project that provides a framework for building
and managing business processes that involve multiple steps and dependencies.
It allows businesses to easily create their own pipelines of components that
can be used to build custom applications, services, or APIs. \\n\\nApache Camel
supports a wide range of technologies s [...]
- "headers" : {
- "Date" : "Fri, 16 Jan 2026 13:05:22 GMT",
- "Content-Type" : "application/json; charset=utf-8"
- }
- },
- "uuid" : "7abcebba-6417-4088-b392-d131060023ca",
- "persistent" : true,
- "insertionIndex" : 17
-}
\ No newline at end of file
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-7ac8e750-c3b8-4a7f-be22-4776aa5d8cad.json
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-7ac8e750-c3b8-4a7f-be22-4776aa5d8cad.json
new file mode 100644
index 0000000000..e459dcabc5
--- /dev/null
+++
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-7ac8e750-c3b8-4a7f-be22-4776aa5d8cad.json
@@ -0,0 +1,24 @@
+{
+ "id" : "7ac8e750-c3b8-4a7f-be22-4776aa5d8cad",
+ "name" : "api_chat",
+ "request" : {
+ "url" : "/api/chat",
+ "method" : "POST",
+ "bodyPatterns" : [ {
+ "equalToJson" : "{\n \"model\" : \"granite4:3b\",\n \"messages\" : [
{\n \"role\" : \"user\",\n \"content\" : \"Use your available tools to
perform a long running operation for 2 seconds with 2 steps. DO NOT use any
markdown formatting in the response.\"\n } ],\n \"options\" : {\n
\"temperature\" : 0.3,\n \"stop\" : [ ]\n },\n \"stream\" : false,\n
\"tools\" : [ {\n \"type\" : \"function\",\n \"function\" : {\n
\"name\" : \"echo\",\n \"description [...]
+ "ignoreArrayOrder" : true,
+ "ignoreExtraElements" : false
+ } ]
+ },
+ "response" : {
+ "status" : 200,
+ "body" :
"{\"model\":\"granite4:3b\",\"created_at\":\"2026-01-21T08:01:26.903792091Z\",\"message\":{\"role\":\"assistant\",\"content\":\"\",\"tool_calls\":[{\"id\":\"call_8rs17sa2\",\"function\":{\"index\":0,\"name\":\"longRunningOperation\",\"arguments\":{\"duration\":2,\"steps\":2}}}]},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":1854906039,\"load_duration\":44765241,\"prompt_eval_count\":319,\"prompt_eval_duration\":422551338,\"eval_count\":35,\"eval_duration\":1370669775}",
+ "headers" : {
+ "Date" : "Wed, 21 Jan 2026 08:01:26 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ }
+ },
+ "uuid" : "7ac8e750-c3b8-4a7f-be22-4776aa5d8cad",
+ "persistent" : true,
+ "insertionIndex" : 13
+}
\ No newline at end of file
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-b5eabfad-8fd5-4e4c-9e90-e42d16659844.json
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-7b64ea63-5c36-431c-ba20-f1ea5643cc06.json
similarity index 51%
rename from
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-b5eabfad-8fd5-4e4c-9e90-e42d16659844.json
rename to
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-7b64ea63-5c36-431c-ba20-f1ea5643cc06.json
index 62322f9d2e..7bf89de55c 100644
---
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-b5eabfad-8fd5-4e4c-9e90-e42d16659844.json
+++
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-7b64ea63-5c36-431c-ba20-f1ea5643cc06.json
@@ -1,24 +1,24 @@
{
- "id" : "b5eabfad-8fd5-4e4c-9e90-e42d16659844",
+ "id" : "7b64ea63-5c36-431c-ba20-f1ea5643cc06",
"name" : "api_chat",
"request" : {
"url" : "/api/chat",
"method" : "POST",
"bodyPatterns" : [ {
- "equalToJson" : "{\n \"model\" : \"granite4:3b\",\n \"messages\" : [
{\n \"role\" : \"user\",\n \"content\" : \"Hello - my name is Alice\"\n
}, {\n \"role\" : \"assistant\",\n \"content\" : \"Hello Alice! It's nice
to meet you. How can I assist you today?\",\n \"tool_calls\" : [ ]\n }, {\n
\"role\" : \"user\",\n \"content\" : \"And my favorite color is blue\"\n
}, {\n \"role\" : \"assistant\",\n \"content\" : \"That's a lovely choice
of color! Blue i [...]
+ "equalToJson" : "{\n \"model\" : \"granite4:3b\",\n \"messages\" : [
{\n \"role\" : \"user\",\n \"content\" : \"Hello - my name is Alice\"\n
}, {\n \"role\" : \"assistant\",\n \"content\" : \"Hello Alice! It's nice
to meet you. How can I assist you today?\",\n \"tool_calls\" : [ ]\n }, {\n
\"role\" : \"user\",\n \"content\" : \"And my favorite color is blue\"\n
}, {\n \"role\" : \"assistant\",\n \"content\" : \"That's a lovely choice
of color! Blue i [...]
"ignoreArrayOrder" : true,
"ignoreExtraElements" : false
} ]
},
"response" : {
"status" : 200,
- "body" :
"{\"model\":\"granite4:3b\",\"created_at\":\"2026-01-16T13:06:03.967721506Z\",\"message\":{\"role\":\"assistant\",\"content\":\"Your
name is Alice and your favorite color is blue. If you have any other questions
or if there's anything else you'd like to know, feel free to
ask!\"},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":1770133362,\"load_duration\":42690522,\"prompt_eval_count\":135,\"prompt_eval_duration\":345121058,\"eval_count\":35,\"eval_duration\":13609
[...]
+ "body" :
"{\"model\":\"granite4:3b\",\"created_at\":\"2026-01-21T08:01:46.477135945Z\",\"message\":{\"role\":\"assistant\",\"content\":\"Your
name is Alice and your favorite color is blue. Is there anything else you
would like to know or
discuss?\"},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":1338719537,\"load_duration\":46867496,\"prompt_eval_count\":128,\"prompt_eval_duration\":304990888,\"eval_count\":24,\"eval_duration\":972356065}",
"headers" : {
- "Date" : "Fri, 16 Jan 2026 13:06:03 GMT",
+ "Date" : "Wed, 21 Jan 2026 08:01:46 GMT",
"Content-Type" : "application/json; charset=utf-8"
}
},
- "uuid" : "b5eabfad-8fd5-4e4c-9e90-e42d16659844",
+ "uuid" : "7b64ea63-5c36-431c-ba20-f1ea5643cc06",
"persistent" : true,
"insertionIndex" : 3
}
\ No newline at end of file
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-938199ac-c67b-434b-a78f-4755ccb9fc00.json
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-938199ac-c67b-434b-a78f-4755ccb9fc00.json
deleted file mode 100644
index 0d0416ef35..0000000000
---
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-938199ac-c67b-434b-a78f-4755ccb9fc00.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
- "id" : "938199ac-c67b-434b-a78f-4755ccb9fc00",
- "name" : "api_chat",
- "request" : {
- "url" : "/api/chat",
- "method" : "POST",
- "bodyPatterns" : [ {
- "equalToJson" : "{\n \"model\" : \"orca-mini\",\n \"messages\" : [ {\n
\"role\" : \"system\",\n \"content\" : \"You are a whimsical storyteller.
Your responses should be imaginative, descriptive, and always include a touch
of magic. Start every story with 'Once upon a starlit night...'\"\n }, {\n
\"role\" : \"user\",\n \"content\" : \"Write a short story about a lost
cat.\"\n } ],\n \"options\" : {\n \"temperature\" : 0.3,\n \"stop\" : [
]\n },\n \"stream\" [...]
- "ignoreArrayOrder" : true,
- "ignoreExtraElements" : false
- } ]
- },
- "response" : {
- "status" : 200,
- "body" :
"{\"model\":\"orca-mini\",\"created_at\":\"2026-01-16T13:06:19.21447614Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
Once upon a starlit night, a curious little girl named Lily wandered through
the forest, searching for her beloved cat, Oliver. She had been missing him for
days and couldn't bear to be without him. As she walked, the trees grew taller
and the leaves rustled in the wind. Suddenly, she heard a faint meowing
sound.\\n\\nLily followed the sound until she [...]
- "headers" : {
- "Date" : "Fri, 16 Jan 2026 13:06:19 GMT",
- "Content-Type" : "application/json; charset=utf-8"
- }
- },
- "uuid" : "938199ac-c67b-434b-a78f-4755ccb9fc00",
- "persistent" : true,
- "scenarioName" : "scenario-1-api-chat",
- "requiredScenarioState" : "scenario-1-api-chat-2",
- "insertionIndex" : 1
-}
\ No newline at end of file
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-d7d6ed55-5f93-4f9a-9fb3-0cb702d6fdd3.json
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-946ce08a-8829-4ffa-b425-6609cd8413e6.json
similarity index 62%
rename from
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-d7d6ed55-5f93-4f9a-9fb3-0cb702d6fdd3.json
rename to
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-946ce08a-8829-4ffa-b425-6609cd8413e6.json
index ed939c15a4..468449877d 100644
---
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-d7d6ed55-5f93-4f9a-9fb3-0cb702d6fdd3.json
+++
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-946ce08a-8829-4ffa-b425-6609cd8413e6.json
@@ -1,5 +1,5 @@
{
- "id" : "d7d6ed55-5f93-4f9a-9fb3-0cb702d6fdd3",
+ "id" : "946ce08a-8829-4ffa-b425-6609cd8413e6",
"name" : "api_chat",
"request" : {
"url" : "/api/chat",
@@ -12,13 +12,13 @@
},
"response" : {
"status" : 200,
- "body" :
"{\"model\":\"orca-mini\",\"created_at\":\"2026-01-16T13:06:04.60566536Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
Hello, Alice. How can I assist you
today?\"},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":619906691,\"load_duration\":11627245,\"prompt_eval_count\":46,\"prompt_eval_duration\":173990837,\"eval_count\":12,\"eval_duration\":430841719}",
+ "body" :
"{\"model\":\"orca-mini\",\"created_at\":\"2026-01-21T08:01:47.110185749Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
Hello, Alice. How can I assist you
today?\"},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":613502063,\"load_duration\":11960283,\"prompt_eval_count\":46,\"prompt_eval_duration\":149859087,\"eval_count\":12,\"eval_duration\":448584137}",
"headers" : {
- "Date" : "Fri, 16 Jan 2026 13:06:04 GMT",
+ "Date" : "Wed, 21 Jan 2026 08:01:47 GMT",
"Content-Type" : "application/json; charset=utf-8"
}
},
- "uuid" : "d7d6ed55-5f93-4f9a-9fb3-0cb702d6fdd3",
+ "uuid" : "946ce08a-8829-4ffa-b425-6609cd8413e6",
"persistent" : true,
"scenarioName" : "scenario-2-api-chat",
"requiredScenarioState" : "scenario-2-api-chat-3",
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-0bd4373c-8152-4efa-91e6-b4d2084e5c95.json
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-b311fa1d-c821-4031-b94d-d37cf3344deb.json
similarity index 69%
rename from
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-0bd4373c-8152-4efa-91e6-b4d2084e5c95.json
rename to
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-b311fa1d-c821-4031-b94d-d37cf3344deb.json
index 5532816b58..5a9e0a7a04 100644
---
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-0bd4373c-8152-4efa-91e6-b4d2084e5c95.json
+++
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-b311fa1d-c821-4031-b94d-d37cf3344deb.json
@@ -1,5 +1,5 @@
{
- "id" : "0bd4373c-8152-4efa-91e6-b4d2084e5c95",
+ "id" : "b311fa1d-c821-4031-b94d-d37cf3344deb",
"name" : "api_chat",
"request" : {
"url" : "/api/chat",
@@ -12,13 +12,13 @@
},
"response" : {
"status" : 200,
- "body" :
"{\"model\":\"granite4:3b\",\"created_at\":\"2026-01-16T13:06:00.204894221Z\",\"message\":{\"role\":\"assistant\",\"content\":\"Hello
Alice! It's nice to meet you. How can I assist you
today?\"},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":1115837974,\"load_duration\":45414873,\"prompt_eval_count\":36,\"prompt_eval_duration\":389032404,\"eval_count\":18,\"eval_duration\":671384431}",
+ "body" :
"{\"model\":\"granite4:3b\",\"created_at\":\"2026-01-21T08:01:43.442794252Z\",\"message\":{\"role\":\"assistant\",\"content\":\"Hello
Alice! It's nice to meet you. How can I assist you
today?\"},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":1057632764,\"load_duration\":47953414,\"prompt_eval_count\":36,\"prompt_eval_duration\":316851104,\"eval_count\":18,\"eval_duration\":684289773}",
"headers" : {
- "Date" : "Fri, 16 Jan 2026 13:06:00 GMT",
+ "Date" : "Wed, 21 Jan 2026 08:01:43 GMT",
"Content-Type" : "application/json; charset=utf-8"
}
},
- "uuid" : "0bd4373c-8152-4efa-91e6-b4d2084e5c95",
+ "uuid" : "b311fa1d-c821-4031-b94d-d37cf3344deb",
"persistent" : true,
"insertionIndex" : 5
}
\ No newline at end of file
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-b8cb81a6-f441-486c-9ae8-b6e0cecb7640.json
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-b8cb81a6-f441-486c-9ae8-b6e0cecb7640.json
new file mode 100644
index 0000000000..a6e76c214d
--- /dev/null
+++
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-b8cb81a6-f441-486c-9ae8-b6e0cecb7640.json
@@ -0,0 +1,26 @@
+{
+ "id" : "b8cb81a6-f441-486c-9ae8-b6e0cecb7640",
+ "name" : "api_chat",
+ "request" : {
+ "url" : "/api/chat",
+ "method" : "POST",
+ "bodyPatterns" : [ {
+ "equalToJson" : "{\n \"model\" : \"orca-mini\",\n \"messages\" : [ {\n
\"role\" : \"system\",\n \"content\" : \"You are a whimsical storyteller.
Your responses should be imaginative, descriptive, and always include a touch
of magic. Start every story with 'Once upon a starlit night...'\"\n }, {\n
\"role\" : \"user\",\n \"content\" : \"Write a short story about a lost
cat.\"\n } ],\n \"options\" : {\n \"temperature\" : 0.3,\n \"stop\" : [
]\n },\n \"stream\" [...]
+ "ignoreArrayOrder" : true,
+ "ignoreExtraElements" : false
+ } ]
+ },
+ "response" : {
+ "status" : 200,
+ "body" :
"{\"model\":\"orca-mini\",\"created_at\":\"2026-01-21T08:02:02.929223473Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
Once upon a starlit night, a curious little girl named Lily wandered through
the forest, searching for her beloved cat, Whiskers. She had been missing for
days and couldn't bear to be without her furry friend. \\n\\nAs she walked, she
heard whispers from the trees. \\\"Lost? Lost? Lost!\\\" came the chorus of a
group of animals who lived in the fores [...]
+ "headers" : {
+ "Date" : "Wed, 21 Jan 2026 08:02:02 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ }
+ },
+ "uuid" : "b8cb81a6-f441-486c-9ae8-b6e0cecb7640",
+ "persistent" : true,
+ "scenarioName" : "scenario-1-api-chat",
+ "requiredScenarioState" : "scenario-1-api-chat-2",
+ "insertionIndex" : 1
+}
\ No newline at end of file
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-cae754c5-1fd7-4de6-b633-174b44ec4342.json
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-b9e443eb-f523-43c5-b15a-5b481b00ad7e.json
similarity index 79%
rename from
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-cae754c5-1fd7-4de6-b633-174b44ec4342.json
rename to
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-b9e443eb-f523-43c5-b15a-5b481b00ad7e.json
index 439b9b6a66..51787ca3f6 100644
---
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-cae754c5-1fd7-4de6-b633-174b44ec4342.json
+++
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-b9e443eb-f523-43c5-b15a-5b481b00ad7e.json
@@ -1,5 +1,5 @@
{
- "id" : "cae754c5-1fd7-4de6-b633-174b44ec4342",
+ "id" : "b9e443eb-f523-43c5-b15a-5b481b00ad7e",
"name" : "api_chat",
"request" : {
"url" : "/api/chat",
@@ -12,13 +12,13 @@
},
"response" : {
"status" : 200,
- "body" :
"{\"model\":\"granite4:3b\",\"created_at\":\"2026-01-16T13:05:15.382305283Z\",\"message\":{\"role\":\"assistant\",\"content\":\"The
name of user ID 123 is John
Doe.\"},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":940169774,\"load_duration\":43455941,\"prompt_eval_count\":230,\"prompt_eval_duration\":437409264,\"eval_count\":12,\"eval_duration\":450044997}",
+ "body" :
"{\"model\":\"granite4:3b\",\"created_at\":\"2026-01-21T08:00:56.666262664Z\",\"message\":{\"role\":\"assistant\",\"content\":\"The
name of user ID 123 is John
Doe.\"},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":839226209,\"load_duration\":45703671,\"prompt_eval_count\":230,\"prompt_eval_duration\":343699976,\"eval_count\":12,\"eval_duration\":440847701}",
"headers" : {
- "Date" : "Fri, 16 Jan 2026 13:05:15 GMT",
+ "Date" : "Wed, 21 Jan 2026 08:00:56 GMT",
"Content-Type" : "application/json; charset=utf-8"
}
},
- "uuid" : "cae754c5-1fd7-4de6-b633-174b44ec4342",
+ "uuid" : "b9e443eb-f523-43c5-b15a-5b481b00ad7e",
"persistent" : true,
"insertionIndex" : 19
}
\ No newline at end of file
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-a8746154-00a4-4d7f-bef3-387a8c6e0401.json
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-c285552d-f27e-4cf3-a942-ff92a666e118.json
similarity index 66%
rename from
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-a8746154-00a4-4d7f-bef3-387a8c6e0401.json
rename to
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-c285552d-f27e-4cf3-a942-ff92a666e118.json
index cbed225787..7393ffcc6d 100644
---
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-a8746154-00a4-4d7f-bef3-387a8c6e0401.json
+++
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-c285552d-f27e-4cf3-a942-ff92a666e118.json
@@ -1,5 +1,5 @@
{
- "id" : "a8746154-00a4-4d7f-bef3-387a8c6e0401",
+ "id" : "c285552d-f27e-4cf3-a942-ff92a666e118",
"name" : "api_chat",
"request" : {
"url" : "/api/chat",
@@ -12,13 +12,13 @@
},
"response" : {
"status" : 200,
- "body" :
"{\"model\":\"granite4:3b\",\"created_at\":\"2026-01-16T13:05:14.43190521Z\",\"message\":{\"role\":\"assistant\",\"content\":\"\",\"tool_calls\":[{\"id\":\"call_2l0sui00\",\"function\":{\"index\":0,\"name\":\"QueryUserDatabaseByUserID\",\"arguments\":{\"userId\":123}}}]},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":3274610191,\"load_duration\":45614538,\"prompt_eval_count\":182,\"prompt_eval_duration\":2328803422,\"eval_count\":23,\"eval_duration\":885969267}",
+ "body" :
"{\"model\":\"granite4:3b\",\"created_at\":\"2026-01-21T08:00:55.817907064Z\",\"message\":{\"role\":\"assistant\",\"content\":\"\",\"tool_calls\":[{\"id\":\"call_pnsg7jwe\",\"function\":{\"index\":0,\"name\":\"QueryUserDatabaseByUserID\",\"arguments\":{\"userId\":123}}}]},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":4644671100,\"load_duration\":1450597042,\"prompt_eval_count\":182,\"prompt_eval_duration\":2310269399,\"eval_count\":23,\"eval_duration\":872125825}",
"headers" : {
- "Date" : "Fri, 16 Jan 2026 13:05:14 GMT",
+ "Date" : "Wed, 21 Jan 2026 08:00:55 GMT",
"Content-Type" : "application/json; charset=utf-8"
}
},
- "uuid" : "a8746154-00a4-4d7f-bef3-387a8c6e0401",
+ "uuid" : "c285552d-f27e-4cf3-a942-ff92a666e118",
"persistent" : true,
"insertionIndex" : 20
}
\ No newline at end of file
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-c87426f7-7083-404e-9b93-fe92227645b2.json
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-c87426f7-7083-404e-9b93-fe92227645b2.json
deleted file mode 100644
index 6502b9f483..0000000000
---
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-c87426f7-7083-404e-9b93-fe92227645b2.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "id" : "c87426f7-7083-404e-9b93-fe92227645b2",
- "name" : "api_chat",
- "request" : {
- "url" : "/api/chat",
- "method" : "POST",
- "bodyPatterns" : [ {
- "equalToJson" : "{\n \"model\" : \"granite4:3b\",\n \"messages\" : [
{\n \"role\" : \"user\",\n \"content\" : \"Use your available tools to
perform a long running operation for 2 seconds with 2 steps. DO NOT use any
markdown formatting in the response.\"\n }, {\n \"role\" : \"assistant\",\n
\"tool_calls\" : [ {\n \"function\" : {\n \"name\" :
\"trigger-long-running-operation\",\n \"arguments\" : {\n
\"duration\" : 2,\n \"steps\" : [...]
- "ignoreArrayOrder" : true,
- "ignoreExtraElements" : false
- } ]
- },
- "response" : {
- "status" : 200,
- "body" :
"{\"model\":\"granite4:3b\",\"created_at\":\"2026-01-16T13:05:45.930150741Z\",\"message\":{\"role\":\"assistant\",\"content\":\"The
long running operation was successfully executed with the specified duration
and steps. The total time taken was 2 seconds divided into 2
steps.\"},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":1619317295,\"load_duration\":44068131,\"prompt_eval_count\":320,\"prompt_eval_duration\":412795138,\"eval_count\":29,\"eval_duration\":1143977045}",
- "headers" : {
- "Date" : "Fri, 16 Jan 2026 13:05:45 GMT",
- "Content-Type" : "application/json; charset=utf-8"
- }
- },
- "uuid" : "c87426f7-7083-404e-9b93-fe92227645b2",
- "persistent" : true,
- "insertionIndex" : 12
-}
\ No newline at end of file
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-2ba387c4-ab19-45ae-b689-b55b3fd03964.json
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-d4f1693c-88e0-456f-b650-77a6bf6e543f.json
similarity index 69%
rename from
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-2ba387c4-ab19-45ae-b689-b55b3fd03964.json
rename to
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-d4f1693c-88e0-456f-b650-77a6bf6e543f.json
index 075e9cb036..56a8581c2c 100644
---
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-2ba387c4-ab19-45ae-b689-b55b3fd03964.json
+++
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-d4f1693c-88e0-456f-b650-77a6bf6e543f.json
@@ -1,5 +1,5 @@
{
- "id" : "2ba387c4-ab19-45ae-b689-b55b3fd03964",
+ "id" : "d4f1693c-88e0-456f-b650-77a6bf6e543f",
"name" : "api_chat",
"request" : {
"url" : "/api/chat",
@@ -12,13 +12,13 @@
},
"response" : {
"status" : 200,
- "body" :
"{\"model\":\"orca-mini\",\"created_at\":\"2026-01-16T13:05:54.290037563Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
Hello, Alice. How can I assist you
today?\"},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":596705000,\"load_duration\":11395870,\"prompt_eval_count\":46,\"prompt_eval_duration\":153686323,\"eval_count\":12,\"eval_duration\":428344997}",
+ "body" :
"{\"model\":\"orca-mini\",\"created_at\":\"2026-01-21T08:01:37.577431121Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
Hello, Alice. How can I assist you
today?\"},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":596937019,\"load_duration\":11922904,\"prompt_eval_count\":46,\"prompt_eval_duration\":152871930,\"eval_count\":12,\"eval_duration\":428769988}",
"headers" : {
- "Date" : "Fri, 16 Jan 2026 13:05:54 GMT",
+ "Date" : "Wed, 21 Jan 2026 08:01:37 GMT",
"Content-Type" : "application/json; charset=utf-8"
}
},
- "uuid" : "2ba387c4-ab19-45ae-b689-b55b3fd03964",
+ "uuid" : "d4f1693c-88e0-456f-b650-77a6bf6e543f",
"persistent" : true,
"scenarioName" : "scenario-2-api-chat",
"requiredScenarioState" : "scenario-2-api-chat-2",
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-9dfeffa3-0b61-43af-996b-575c153be649.json
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-d71f7bb9-5a9e-4317-aecd-49cd95dbadb1.json
similarity index 57%
rename from
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-9dfeffa3-0b61-43af-996b-575c153be649.json
rename to
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-d71f7bb9-5a9e-4317-aecd-49cd95dbadb1.json
index 7e08b76c0d..bf6b7e86ae 100644
---
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-9dfeffa3-0b61-43af-996b-575c153be649.json
+++
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-d71f7bb9-5a9e-4317-aecd-49cd95dbadb1.json
@@ -1,5 +1,5 @@
{
- "id" : "9dfeffa3-0b61-43af-996b-575c153be649",
+ "id" : "d71f7bb9-5a9e-4317-aecd-49cd95dbadb1",
"name" : "api_chat",
"request" : {
"url" : "/api/chat",
@@ -12,13 +12,13 @@
},
"response" : {
"status" : 200,
- "body" :
"{\"model\":\"orca-mini\",\"created_at\":\"2026-01-16T13:05:59.052934081Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
Sure, I'd be happy to help! Can you please provide me with the specific format
you want the JSON object to
follow?\"},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":1297958111,\"load_duration\":11944711,\"prompt_eval_count\":52,\"prompt_eval_duration\":209097955,\"eval_count\":28,\"eval_duration\":1069685864}",
+ "body" :
"{\"model\":\"orca-mini\",\"created_at\":\"2026-01-21T08:01:42.350557334Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
Understood. What is the format of the JSON object you would like me to
generate?\"},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":941950589,\"load_duration\":11792098,\"prompt_eval_count\":52,\"prompt_eval_duration\":197951402,\"eval_count\":19,\"eval_duration\":727631062}",
"headers" : {
- "Date" : "Fri, 16 Jan 2026 13:05:59 GMT",
+ "Date" : "Wed, 21 Jan 2026 08:01:42 GMT",
"Content-Type" : "application/json; charset=utf-8"
}
},
- "uuid" : "9dfeffa3-0b61-43af-996b-575c153be649",
+ "uuid" : "d71f7bb9-5a9e-4317-aecd-49cd95dbadb1",
"persistent" : true,
"insertionIndex" : 6
}
\ No newline at end of file
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-f5a22e97-433c-4e26-af47-24d382c0fe31.json
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-d9ade7be-8f94-4535-a552-9910f04cbbe0.json
similarity index 63%
rename from
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-f5a22e97-433c-4e26-af47-24d382c0fe31.json
rename to
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-d9ade7be-8f94-4535-a552-9910f04cbbe0.json
index 108d971b8b..efc9b30da5 100644
---
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-f5a22e97-433c-4e26-af47-24d382c0fe31.json
+++
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-d9ade7be-8f94-4535-a552-9910f04cbbe0.json
@@ -1,5 +1,5 @@
{
- "id" : "f5a22e97-433c-4e26-af47-24d382c0fe31",
+ "id" : "d9ade7be-8f94-4535-a552-9910f04cbbe0",
"name" : "api_chat",
"request" : {
"url" : "/api/chat",
@@ -12,13 +12,13 @@
},
"response" : {
"status" : 200,
- "body" :
"{\"model\":\"granite4:3b\",\"created_at\":\"2026-01-16T13:06:02.182782054Z\",\"message\":{\"role\":\"assistant\",\"content\":\"That's
a lovely choice of color! Blue is often associated with feelings of calmness
and tranquility. Is there anything specific about the color blue that interests
you, or do you need assistance with something
else?\"},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":1959366349,\"load_duration\":40385539,\"prompt_eval_count\":69,\"prompt_ev
[...]
+ "body" :
"{\"model\":\"granite4:3b\",\"created_at\":\"2026-01-21T08:01:45.122934296Z\",\"message\":{\"role\":\"assistant\",\"content\":\"That's
a lovely choice of color! Blue is often associated with feelings of calmness
and tranquility. If you need any assistance or have questions, feel free to
ask.\"},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":1661809217,\"load_duration\":41340745,\"prompt_eval_count\":69,\"prompt_eval_duration\":182241182,\"eval_count\":36,\"eval_du
[...]
"headers" : {
- "Date" : "Fri, 16 Jan 2026 13:06:02 GMT",
+ "Date" : "Wed, 21 Jan 2026 08:01:45 GMT",
"Content-Type" : "application/json; charset=utf-8"
}
},
- "uuid" : "f5a22e97-433c-4e26-af47-24d382c0fe31",
+ "uuid" : "d9ade7be-8f94-4535-a552-9910f04cbbe0",
"persistent" : true,
"insertionIndex" : 4
}
\ No newline at end of file
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-e42c2b42-065e-46fb-9376-1c291eda3604.json
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-e42c2b42-065e-46fb-9376-1c291eda3604.json
deleted file mode 100644
index 77ab2fee32..0000000000
---
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-e42c2b42-065e-46fb-9376-1c291eda3604.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
- "id" : "e42c2b42-065e-46fb-9376-1c291eda3604",
- "name" : "api_chat",
- "request" : {
- "url" : "/api/chat",
- "method" : "POST",
- "bodyPatterns" : [ {
- "equalToJson" : "{\n \"model\" : \"granite4:3b\",\n \"messages\" : [
{\n \"role\" : \"user\",\n \"content\" : \"Use your available tools to
perform a long running operation for 2 seconds with 2 steps. DO NOT use any
markdown formatting in the response.\"\n } ],\n \"options\" : {\n
\"temperature\" : 0.3,\n \"stop\" : [ ]\n },\n \"stream\" : false,\n
\"tools\" : [ {\n \"type\" : \"function\",\n \"function\" : {\n
\"name\" : \"trigger-long-running-operati [...]
- "ignoreArrayOrder" : true,
- "ignoreExtraElements" : false
- } ]
- },
- "response" : {
- "status" : 200,
- "body" :
"{\"model\":\"granite4:3b\",\"created_at\":\"2026-01-16T13:05:42.291474996Z\",\"message\":{\"role\":\"assistant\",\"content\":\"\",\"tool_calls\":[{\"id\":\"call_h9rb8stb\",\"function\":{\"index\":0,\"name\":\"trigger-long-running-operation\",\"arguments\":{\"duration\":2,\"steps\":2}}}]},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":1658281534,\"load_duration\":46575084,\"prompt_eval_count\":266,\"prompt_eval_duration\":493065427,\"eval_count\":28,\"eval_duratio
[...]
- "headers" : {
- "Date" : "Fri, 16 Jan 2026 13:05:42 GMT",
- "Content-Type" : "application/json; charset=utf-8"
- }
- },
- "uuid" : "e42c2b42-065e-46fb-9376-1c291eda3604",
- "persistent" : true,
- "insertionIndex" : 13
-}
\ No newline at end of file
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-ed06950e-1368-45a1-a414-2a0c447e2ca6.json
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-ed06950e-1368-45a1-a414-2a0c447e2ca6.json
new file mode 100644
index 0000000000..077aac63c8
--- /dev/null
+++
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-ed06950e-1368-45a1-a414-2a0c447e2ca6.json
@@ -0,0 +1,24 @@
+{
+ "id" : "ed06950e-1368-45a1-a414-2a0c447e2ca6",
+ "name" : "api_chat",
+ "request" : {
+ "url" : "/api/chat",
+ "method" : "POST",
+ "bodyPatterns" : [ {
+ "equalToJson" : "{\n \"model\" : \"granite4:3b\",\n \"messages\" : [
{\n \"role\" : \"user\",\n \"content\" : \"Use your available tools to
perform a long running operation for 2 seconds with 2 steps. DO NOT use any
markdown formatting in the response.\"\n }, {\n \"role\" : \"assistant\",\n
\"tool_calls\" : [ {\n \"function\" : {\n \"name\" :
\"longRunningOperation\",\n \"arguments\" : {\n \"duration\" :
2,\n \"steps\" : 2\n [...]
+ "ignoreArrayOrder" : true,
+ "ignoreExtraElements" : false
+ } ]
+ },
+ "response" : {
+ "status" : 200,
+ "body" :
"{\"model\":\"granite4:3b\",\"created_at\":\"2026-01-21T08:01:30.570249294Z\",\"message\":{\"role\":\"assistant\",\"content\":\"The
long running operation was executed successfully for a duration of 2 seconds
and it included 2 steps. The operation completed as
expected.\"},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":1650117067,\"load_duration\":47559284,\"prompt_eval_count\":372,\"prompt_eval_duration\":492310420,\"eval_count\":28,\"eval_duration\":1094652400}",
+ "headers" : {
+ "Date" : "Wed, 21 Jan 2026 08:01:30 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ }
+ },
+ "uuid" : "ed06950e-1368-45a1-a414-2a0c447e2ca6",
+ "persistent" : true,
+ "insertionIndex" : 12
+}
\ No newline at end of file
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-91ede2cd-bcde-4896-90c9-f29a7482f1fe.json
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-f265676e-9355-40b6-9593-926440edd441.json
similarity index 57%
rename from
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-91ede2cd-bcde-4896-90c9-f29a7482f1fe.json
rename to
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-f265676e-9355-40b6-9593-926440edd441.json
index 2bcb294695..a246f7d005 100644
---
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-91ede2cd-bcde-4896-90c9-f29a7482f1fe.json
+++
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-f265676e-9355-40b6-9593-926440edd441.json
@@ -1,5 +1,5 @@
{
- "id" : "91ede2cd-bcde-4896-90c9-f29a7482f1fe",
+ "id" : "f265676e-9355-40b6-9593-926440edd441",
"name" : "api_chat",
"request" : {
"url" : "/api/chat",
@@ -12,13 +12,13 @@
},
"response" : {
"status" : 200,
- "body" :
"{\"model\":\"orca-mini\",\"created_at\":\"2026-01-16T13:05:11.08661639Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
According to Miles of Camels Car Rental cancellations policy, a full refund
will be given for cancellations made 24 hours before pickup. The cancellation
policy states that cancellations made 12-24 hours before pickup receive a 50%
refund. Cancellations made less than 12 hours before pickup do not receive a
refund. Additionally, the company's damage p [...]
+ "body" :
"{\"model\":\"orca-mini\",\"created_at\":\"2026-01-21T08:00:51.09034453Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
According to the Miles of Camels Car Rental cancellations policy, a full
refund will be provided if the cancellation is made 24 hours or more before
pickup. The refund amount will be the total cost of the rental including taxes
and fees.\\n\\nAdditionally, according to the company's vehicle return policy,
vehicles must be returned with the same fuel l [...]
"headers" : {
- "Date" : "Fri, 16 Jan 2026 13:05:11 GMT",
+ "Date" : "Wed, 21 Jan 2026 08:00:51 GMT",
"Content-Type" : "application/json; charset=utf-8"
}
},
- "uuid" : "91ede2cd-bcde-4896-90c9-f29a7482f1fe",
+ "uuid" : "f265676e-9355-40b6-9593-926440edd441",
"persistent" : true,
"insertionIndex" : 21
}
\ No newline at end of file
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-f45a3c47-6000-4594-b413-de1ab5174897.json
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-f45a3c47-6000-4594-b413-de1ab5174897.json
new file mode 100644
index 0000000000..ce8287a9be
--- /dev/null
+++
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-f45a3c47-6000-4594-b413-de1ab5174897.json
@@ -0,0 +1,24 @@
+{
+ "id" : "f45a3c47-6000-4594-b413-de1ab5174897",
+ "name" : "api_chat",
+ "request" : {
+ "url" : "/api/chat",
+ "method" : "POST",
+ "bodyPatterns" : [ {
+ "equalToJson" : "{\n \"model\" : \"granite4:3b\",\n \"messages\" : [
{\n \"role\" : \"user\",\n \"content\" : \"Please list your available
tools. You MUST respond using ONLY valid JSON with tool names as an array. DO
NOT add explanations. DO NOT add comments. DO NOT wrap in markdown.\"\n } ],\n
\"options\" : {\n \"temperature\" : 0.3,\n \"stop\" : [ ]\n },\n
\"stream\" : false,\n \"tools\" : [ {\n \"type\" : \"function\",\n
\"function\" : {\n \"name\" [...]
+ "ignoreArrayOrder" : true,
+ "ignoreExtraElements" : false
+ } ]
+ },
+ "response" : {
+ "status" : 200,
+ "body" :
"{\"model\":\"granite4:3b\",\"created_at\":\"2026-01-21T08:01:25.034732402Z\",\"message\":{\"role\":\"assistant\",\"content\":\"[\\n
\\\"echo\\\",\\n \\\"longRunningOperation\\\",\\n
\\\"add\\\"\\n]\"},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":3876757127,\"load_duration\":49592559,\"prompt_eval_count\":326,\"prompt_eval_duration\":3159868833,\"eval_count\":17,\"eval_duration\":657582616}",
+ "headers" : {
+ "Date" : "Wed, 21 Jan 2026 08:01:25 GMT",
+ "Content-Type" : "application/json; charset=utf-8"
+ }
+ },
+ "uuid" : "f45a3c47-6000-4594-b413-de1ab5174897",
+ "persistent" : true,
+ "insertionIndex" : 14
+}
\ No newline at end of file
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_embed-332d1a1b-9c67-405d-bf76-a0f701843036.json
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_embed-1e8084ee-91b3-4095-86b7-9845fe1480d6.json
similarity index 88%
rename from
integration-tests/langchain4j-agent/src/test/resources/mappings/api_embed-332d1a1b-9c67-405d-bf76-a0f701843036.json
rename to
integration-tests/langchain4j-agent/src/test/resources/mappings/api_embed-1e8084ee-91b3-4095-86b7-9845fe1480d6.json
index d37b42165f..a004627917 100644
---
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_embed-332d1a1b-9c67-405d-bf76-a0f701843036.json
+++
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_embed-1e8084ee-91b3-4095-86b7-9845fe1480d6.json
@@ -1,5 +1,5 @@
{
- "id" : "332d1a1b-9c67-405d-bf76-a0f701843036",
+ "id" : "1e8084ee-91b3-4095-86b7-9845fe1480d6",
"name" : "api_embed",
"request" : {
"url" : "/api/embed",
@@ -12,13 +12,13 @@
},
"response" : {
"status" : 200,
- "bodyFileName" : "api_embed-332d1a1b-9c67-405d-bf76-a0f701843036.json",
+ "bodyFileName" : "api_embed-1e8084ee-91b3-4095-86b7-9845fe1480d6.json",
"headers" : {
- "Date" : "Fri, 16 Jan 2026 13:04:57 GMT",
+ "Date" : "Wed, 21 Jan 2026 08:00:35 GMT",
"Content-Type" : "application/json; charset=utf-8"
}
},
- "uuid" : "332d1a1b-9c67-405d-bf76-a0f701843036",
+ "uuid" : "1e8084ee-91b3-4095-86b7-9845fe1480d6",
"persistent" : true,
"insertionIndex" : 23
}
\ No newline at end of file
diff --git
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_embed-6786a055-6a4b-48e4-86d3-41bc7e003538.json
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_embed-a75f0506-7e8e-453b-9ec8-bd62378fd23d.json
similarity index 97%
rename from
integration-tests/langchain4j-agent/src/test/resources/mappings/api_embed-6786a055-6a4b-48e4-86d3-41bc7e003538.json
rename to
integration-tests/langchain4j-agent/src/test/resources/mappings/api_embed-a75f0506-7e8e-453b-9ec8-bd62378fd23d.json
index 4351bfd2b3..0e36832f9b 100644
---
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_embed-6786a055-6a4b-48e4-86d3-41bc7e003538.json
+++
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_embed-a75f0506-7e8e-453b-9ec8-bd62378fd23d.json
@@ -1,5 +1,5 @@
{
- "id" : "6786a055-6a4b-48e4-86d3-41bc7e003538",
+ "id" : "a75f0506-7e8e-453b-9ec8-bd62378fd23d",
"name" : "api_embed",
"request" : {
"url" : "/api/embed",
@@ -12,13 +12,13 @@
},
"response" : {
"status" : 200,
- "body" :
"{\"model\":\"nomic-embed-text\",\"embeddings\":[[0.023231616,0.037204288,-0.17576993,-0.018245917,0.0073474864,0.0067600226,0.013649625,-0.0066430247,0.022516698,-0.0048980494,-0.05996201,0.003527864,0.022191597,-0.015636824,0.07915627,-0.039492127,0.01737798,-0.050108116,-0.076507494,0.030150954,0.0034718446,0.010683285,-0.11351314,-0.043978125,0.030677995,0.0356212,0.026788875,0.021016184,-0.038846858,0.020651111,0.03013206,-0.000068731184,-0.00042066557,-0.06752035,-0.12
[...]
+ "body" :
"{\"model\":\"nomic-embed-text\",\"embeddings\":[[0.023231616,0.037204288,-0.17576993,-0.018245917,0.0073474864,0.0067600226,0.013649625,-0.0066430247,0.022516698,-0.0048980494,-0.05996201,0.003527864,0.022191597,-0.015636824,0.07915627,-0.039492127,0.01737798,-0.050108116,-0.076507494,0.030150954,0.0034718446,0.010683285,-0.11351314,-0.043978125,0.030677995,0.0356212,0.026788875,0.021016184,-0.038846858,0.020651111,0.03013206,-0.000068731184,-0.00042066557,-0.06752035,-0.12
[...]
"headers" : {
- "Date" : "Fri, 16 Jan 2026 13:04:58 GMT",
+ "Date" : "Wed, 21 Jan 2026 08:00:37 GMT",
"Content-Type" : "application/json; charset=utf-8"
}
},
- "uuid" : "6786a055-6a4b-48e4-86d3-41bc7e003538",
+ "uuid" : "a75f0506-7e8e-453b-9ec8-bd62378fd23d",
"persistent" : true,
"insertionIndex" : 22
}
\ No newline at end of file