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

commit 2d84d3f1638366d770bcd8a47f482b03e20748d1
Author: Jiri Ondrusek <[email protected]>
AuthorDate: Fri Jan 16 14:04:18 2026 +0100

    New langchain4j-agents wiremock records.
---
 .../langchain4j/agent/it/Langchain4jAgentTest.java |  7 +++---
 ...embed-332d1a1b-9c67-405d-bf76-a0f701843036.json |  1 +
 ...embed-cc8902fc-b699-41e9-9f80-b50423fbf24c.json |  1 -
 ...chat-0bd4373c-8152-4efa-91e6-b4d2084e5c95.json} |  8 +++----
 ..._chat-1b3199b6-6110-4d15-94e7-f929c1334826.json | 26 ---------------------
 ..._chat-23ec7f4e-5faf-4ce6-a45d-ff614ffec53e.json | 24 +++++++++++++++++++
 ...chat-2ba387c4-ab19-45ae-b689-b55b3fd03964.json} | 10 ++++----
 ..._chat-2ec9a67a-419b-4220-8151-bd37a5439705.json | 24 +++++++++++++++++++
 ..._chat-2f5f4c05-7f04-4ece-ba42-2b560a76476d.json | 27 ----------------------
 ..._chat-31a8eb4e-6382-41f3-af6e-d0bd0c223779.json | 24 -------------------
 ..._chat-40955a71-2ef8-4abf-a9e9-9e225590ff3d.json | 24 -------------------
 ..._chat-4a9ef230-5deb-4eec-b1df-f072a9528a4f.json | 27 ++++++++++++++++++++++
 ..._chat-57c9341b-be13-4f43-a087-cbeb07099998.json | 24 -------------------
 ..._chat-581d8dbe-8619-40d5-b231-06dfc8e63e54.json | 24 -------------------
 ..._chat-68c98680-0acb-4906-81d2-c929d7625547.json | 24 +++++++++++++++++++
 ..._chat-73474560-c2d8-4fbf-a14b-9739090453b4.json | 26 ---------------------
 ..._chat-7abcebba-6417-4088-b392-d131060023ca.json | 24 +++++++++++++++++++
 ..._chat-91ede2cd-bcde-4896-90c9-f29a7482f1fe.json | 24 +++++++++++++++++++
 ..._chat-938199ac-c67b-434b-a78f-4755ccb9fc00.json | 26 +++++++++++++++++++++
 ..._chat-9dfeffa3-0b61-43af-996b-575c153be649.json | 24 +++++++++++++++++++
 ...chat-a47ed0c7-2b67-4c96-85d2-205a2711578e.json} | 10 ++++----
 ..._chat-a5d8bdce-dd3a-44ab-a796-001de6dba7d6.json | 24 -------------------
 ...chat-a8746154-00a4-4d7f-bef3-387a8c6e0401.json} | 10 ++++----
 ..._chat-b5eabfad-8fd5-4e4c-9e90-e42d16659844.json | 24 +++++++++++++++++++
 ...chat-c04d734f-3c0a-4695-a64e-cae04777cd1b.json} | 10 ++++----
 ..._chat-c87426f7-7083-404e-9b93-fe92227645b2.json | 24 +++++++++++++++++++
 ...chat-cae754c5-1fd7-4de6-b633-174b44ec4342.json} | 10 ++++----
 ...chat-d7d6ed55-5f93-4f9a-9fb3-0cb702d6fdd3.json} |  8 +++----
 ..._chat-df5c600e-ec18-4194-9037-7b54b6cbdfc3.json | 24 -------------------
 ..._chat-e1d90c56-38f7-4e1f-93d0-641fd6f1c5a7.json | 24 -------------------
 ..._chat-e42c2b42-065e-46fb-9376-1c291eda3604.json | 24 +++++++++++++++++++
 ...chat-e5af20e3-b94e-4d35-9a12-98a72243816a.json} | 10 ++++----
 ..._chat-f02d99a6-9cee-4e8d-bcff-7f6fd7ad3d12.json | 27 ----------------------
 ...chat-f3a945b7-525d-4677-a71c-2565ab7119e3.json} | 10 ++++----
 ..._chat-f5a22e97-433c-4e26-af47-24d382c0fe31.json | 24 +++++++++++++++++++
 ..._chat-fe594db1-b82f-4216-a1fc-0cfdddc1b33a.json | 24 -------------------
 ..._chat-ffafaf8e-0801-4877-bd4f-1a86a7798e5a.json | 24 -------------------
 ...mbed-332d1a1b-9c67-405d-bf76-a0f701843036.json} | 10 ++++----
 ...embed-6786a055-6a4b-48e4-86d3-41bc7e003538.json | 24 +++++++++++++++++++
 ...embed-f208155e-5af8-4c4c-802d-8b2f5be5cb34.json | 24 -------------------
 40 files changed, 370 insertions(+), 398 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 b68dc89859..573a7d0815 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,14 +237,15 @@ class Langchain4jAgentTest {
                 .post("/langchain4j-agent/mcp/client")
                 .then()
                 .statusCode(200)
-                .body(".", containsInAnyOrder("add", "echo", 
"longRunningOperation"));
+                .body(".", 
containsInAnyOrder("trigger-long-running-operation", "echo"));
 
         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.")
                 .post("/langchain4j-agent/mcp/client")
                 .then()
                 .statusCode(200)
-                .body(containsStringIgnoringCase(
-                        "operation was executed successfully for a duration of 
2 seconds divided into 2 steps"));
+                .body(containsStringIgnoringCase("operation"))
+                .and().body(containsStringIgnoringCase("successfully"))
+                .and().body(containsStringIgnoringCase("executed"));
     }
 }
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-332d1a1b-9c67-405d-bf76-a0f701843036.json
new file mode 100644
index 0000000000..2dcb389e87
--- /dev/null
+++ 
b/integration-tests/langchain4j-agent/src/test/resources/__files/api_embed-332d1a1b-9c67-405d-bf76-a0f701843036.json
@@ -0,0 +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
diff --git 
a/integration-tests/langchain4j-agent/src/test/resources/__files/api_embed-cc8902fc-b699-41e9-9f80-b50423fbf24c.json
 
b/integration-tests/langchain4j-agent/src/test/resources/__files/api_embed-cc8902fc-b699-41e9-9f80-b50423fbf24c.json
deleted file mode 100644
index 51abe1eb64..0000000000
--- 
a/integration-tests/langchain4j-agent/src/test/resources/__files/api_embed-cc8902fc-b699-41e9-9f80-b50423fbf24c.json
+++ /dev/null
@@ -1 +0,0 @@
-{"model":"nomic-embed-text","embeddings":[[-0.07452105,0.008169046,-0.19769989,0.010827969,0.022558905,-0.0049091205,-0.024375705,-0.030121969,-0.016969366,-0.010704407,-0.0005079617,-0.011742291,0.020993004,-0.021422928,0.06289979,-0.01598493,0.013814787,-0.039411496,-0.027963826,0.04861051,0.019435575,0.0045811683,-0.008926697,-0.0142346155,0.05645905,0.020602351,0.039079726,0.056176674,0.012757396,0.0048789666,0.050709747,0.037688315,0.022191847,-0.042426426,-0.058710158,-0.030974913,
 [...]
\ No newline at end of file
diff --git 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-9ae841ef-69f5-46a1-a304-0a1c2296db8c.json
 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-0bd4373c-8152-4efa-91e6-b4d2084e5c95.json
similarity index 52%
rename from 
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-9ae841ef-69f5-46a1-a304-0a1c2296db8c.json
rename to 
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-0bd4373c-8152-4efa-91e6-b4d2084e5c95.json
index 939b94f274..5532816b58 100644
--- 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-9ae841ef-69f5-46a1-a304-0a1c2296db8c.json
+++ 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-0bd4373c-8152-4efa-91e6-b4d2084e5c95.json
@@ -1,5 +1,5 @@
 {
-  "id" : "9ae841ef-69f5-46a1-a304-0a1c2296db8c",
+  "id" : "0bd4373c-8152-4efa-91e6-b4d2084e5c95",
   "name" : "api_chat",
   "request" : {
     "url" : "/api/chat",
@@ -12,13 +12,13 @@
   },
   "response" : {
     "status" : 200,
-    "body" : 
"{\"model\":\"granite4:3b\",\"created_at\":\"2025-09-05T08:41:08.791258999Z\",\"message\":{\"role\":\"assistant\",\"content\":\"Nice
 to meet you, Alice! Is there something I can help you with or would you like 
to 
chat?\"},\"done_reason\":\"stop\",\"done\":true,\"total_duration\":2775439999,\"load_duration\":18186129,\"prompt_eval_count\":16,\"prompt_eval_duration\":367047842,\"eval_count\":23,\"eval_duration\":2389767523}",
+    "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}",
     "headers" : {
-      "Date" : "Fri, 05 Sep 2025 08:41:08 GMT",
+      "Date" : "Fri, 16 Jan 2026 13:06:00 GMT",
       "Content-Type" : "application/json; charset=utf-8"
     }
   },
-  "uuid" : "9ae841ef-69f5-46a1-a304-0a1c2296db8c",
+  "uuid" : "0bd4373c-8152-4efa-91e6-b4d2084e5c95",
   "persistent" : true,
   "insertionIndex" : 5
 }
\ No newline at end of file
diff --git 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-1b3199b6-6110-4d15-94e7-f929c1334826.json
 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-1b3199b6-6110-4d15-94e7-f929c1334826.json
deleted file mode 100644
index 01afffbe17..0000000000
--- 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-1b3199b6-6110-4d15-94e7-f929c1334826.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
-  "id" : "1b3199b6-6110-4d15-94e7-f929c1334826",
-  "name" : "api_chat",
-  "request" : {
-    "url" : "/api/chat",
-    "method" : "POST",
-    "bodyPatterns" : [ {
-      "equalToJson" : "{\n  \"model\" : \"orca-mini\",\n  \"messages\" : [ {\n 
   \"role\" : \"user\",\n    \"content\" : \"Make sure you return a valid JSON 
object following the specified format\"\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\":\"2025-09-05T08:41:05.942507866Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
 Sure, I'll do my best to assist you with that. Please provide me with the 
specific format of the JSON object you would like to 
receive.\"},\"done_reason\":\"stop\",\"done\":true,\"total_duration\":1564689217,\"load_duration\":5121066,\"prompt_eval_count\":52,\"prompt_eval_duration\":48967007,\"eval_count\":32,\"eval_duration\":1509759220}",
-    "headers" : {
-      "Date" : "Fri, 05 Sep 2025 08:41:05 GMT",
-      "Content-Type" : "application/json; charset=utf-8"
-    }
-  },
-  "uuid" : "1b3199b6-6110-4d15-94e7-f929c1334826",
-  "persistent" : true,
-  "scenarioName" : "scenario-3-api-chat",
-  "requiredScenarioState" : "scenario-3-api-chat-2",
-  "insertionIndex" : 6
-}
\ 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
new file mode 100644
index 0000000000..3878e8f2dd
--- /dev/null
+++ 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-23ec7f4e-5faf-4ce6-a45d-ff614ffec53e.json
@@ -0,0 +1,24 @@
+{
+  "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-65972a4c-1614-4880-b7a9-757f76c1e88e.json
 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-2ba387c4-ab19-45ae-b689-b55b3fd03964.json
similarity index 57%
rename from 
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-65972a4c-1614-4880-b7a9-757f76c1e88e.json
rename to 
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-2ba387c4-ab19-45ae-b689-b55b3fd03964.json
index 86ffb4ce48..075e9cb036 100644
--- 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-65972a4c-1614-4880-b7a9-757f76c1e88e.json
+++ 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-2ba387c4-ab19-45ae-b689-b55b3fd03964.json
@@ -1,5 +1,5 @@
 {
-  "id" : "65972a4c-1614-4880-b7a9-757f76c1e88e",
+  "id" : "2ba387c4-ab19-45ae-b689-b55b3fd03964",
   "name" : "api_chat",
   "request" : {
     "url" : "/api/chat",
@@ -12,16 +12,16 @@
   },
   "response" : {
     "status" : 200,
-    "body" : 
"{\"model\":\"orca-mini\",\"created_at\":\"2025-09-05T08:40:58.787447825Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
 Hello, Alice. How can I assist you 
today?\"},\"done_reason\":\"stop\",\"done\":true,\"total_duration\":708726888,\"load_duration\":6145323,\"prompt_eval_count\":46,\"prompt_eval_duration\":169405185,\"eval_count\":12,\"eval_duration\":532384421}",
+    "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}",
     "headers" : {
-      "Date" : "Fri, 05 Sep 2025 08:40:58 GMT",
+      "Date" : "Fri, 16 Jan 2026 13:05:54 GMT",
       "Content-Type" : "application/json; charset=utf-8"
     }
   },
-  "uuid" : "65972a4c-1614-4880-b7a9-757f76c1e88e",
+  "uuid" : "2ba387c4-ab19-45ae-b689-b55b3fd03964",
   "persistent" : true,
   "scenarioName" : "scenario-2-api-chat",
   "requiredScenarioState" : "scenario-2-api-chat-2",
   "newScenarioState" : "scenario-2-api-chat-3",
-  "insertionIndex" : 9
+  "insertionIndex" : 8
 }
\ 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-2ec9a67a-419b-4220-8151-bd37a5439705.json
new file mode 100644
index 0000000000..77f223dec0
--- /dev/null
+++ 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-2ec9a67a-419b-4220-8151-bd37a5439705.json
@@ -0,0 +1,24 @@
+{
+  "id" : "2ec9a67a-419b-4220-8151-bd37a5439705",
+  "name" : "api_chat",
+  "request" : {
+    "url" : "/api/chat",
+    "method" : "POST",
+    "bodyPatterns" : [ {
+      "equalToJson" : "{\n  \"model\" : \"orca-mini\",\n  \"messages\" : [ {\n 
   \"role\" : \"user\",\n    \"content\" : \"Return an example JSON object 
about a person named John Doe with the fields name and description\\nYou must 
answer strictly in the following JSON format: {\\n\\\"name\\\": (type: 
string),\\n\\\"description\\\": (type: string)\\n}\"\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: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\":\ [...]
+    "headers" : {
+      "Date" : "Fri, 16 Jan 2026 13:05:49 GMT",
+      "Content-Type" : "application/json; charset=utf-8"
+    }
+  },
+  "uuid" : "2ec9a67a-419b-4220-8151-bd37a5439705",
+  "persistent" : true,
+  "insertionIndex" : 11
+}
\ No newline at end of file
diff --git 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-2f5f4c05-7f04-4ece-ba42-2b560a76476d.json
 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-2f5f4c05-7f04-4ece-ba42-2b560a76476d.json
deleted file mode 100644
index 838f4445e4..0000000000
--- 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-2f5f4c05-7f04-4ece-ba42-2b560a76476d.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
-  "id" : "2f5f4c05-7f04-4ece-ba42-2b560a76476d",
-  "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\":\"2025-09-05T08:40:51.505571144Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
 Once upon a starlit night, a little black and white kitten named Whiskers went 
out to explore her neighborhood. She meowed her way through the streets, 
catching the attention of a kindhearted lady who stopped to pet her. The lady 
promised to keep an eye out for Whiskers and even gave her a name: 
Luna.\\n\\nWhiskers was a happy kitten, exploring every [...]
-    "headers" : {
-      "Date" : "Fri, 05 Sep 2025 08:40:51 GMT",
-      "Content-Type" : "application/json; charset=utf-8"
-    }
-  },
-  "uuid" : "2f5f4c05-7f04-4ece-ba42-2b560a76476d",
-  "persistent" : true,
-  "scenarioName" : "scenario-1-api-chat",
-  "requiredScenarioState" : "Started",
-  "newScenarioState" : "scenario-1-api-chat-2",
-  "insertionIndex" : 12
-}
\ No newline at end of file
diff --git 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-31a8eb4e-6382-41f3-af6e-d0bd0c223779.json
 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-31a8eb4e-6382-41f3-af6e-d0bd0c223779.json
deleted file mode 100644
index 3952c172a5..0000000000
--- 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-31a8eb4e-6382-41f3-af6e-d0bd0c223779.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
-  "id" : "31a8eb4e-6382-41f3-af6e-d0bd0c223779",
-  "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\":\"2025-11-21T13:34:24.262165232Z\",\"message\":{\"role\":\"assistant\",\"content\":\"The
 long running operation was executed successfully for a duration of 2 seconds 
divided into 2 steps. No further actions are 
required.\"},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":1950113721,\"load_duration\":58493280,\"prompt_eval_count\":372,\"prompt_eval_duration\":501168238,\"eval_count\":27,\"eval_duration\":1373362750}",
-    "headers" : {
-      "Date" : "Fri, 21 Nov 2025 13:34:24 GMT",
-      "Content-Type" : "application/json; charset=utf-8"
-    }
-  },
-  "uuid" : "31a8eb4e-6382-41f3-af6e-d0bd0c223779",
-  "persistent" : true,
-  "insertionIndex" : 22
-}
\ No newline at end of file
diff --git 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-40955a71-2ef8-4abf-a9e9-9e225590ff3d.json
 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-40955a71-2ef8-4abf-a9e9-9e225590ff3d.json
deleted file mode 100644
index a4f1b7d6eb..0000000000
--- 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-40955a71-2ef8-4abf-a9e9-9e225590ff3d.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
-  "id" : "40955a71-2ef8-4abf-a9e9-9e225590ff3d",
-  "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\":\"2025-11-21T13:34:12.261633323Z\",\"message\":{\"role\":\"assistant\",\"content\":\"\",\"tool_calls\":[{\"id\":\"call_nwsbgoqi\",\"function\":{\"index\":0,\"name\":\"longRunningOperation\",\"arguments\":{\"duration\":2,\"steps\":2}}}]},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":2284427024,\"load_duration\":53618252,\"prompt_eval_count\":319,\"prompt_eval_duration\":429089470,\"eval_count\":35,\"eval_duration\":1782178545}",
-    "headers" : {
-      "Date" : "Fri, 21 Nov 2025 13:34:12 GMT",
-      "Content-Type" : "application/json; charset=utf-8"
-    }
-  },
-  "uuid" : "40955a71-2ef8-4abf-a9e9-9e225590ff3d",
-  "persistent" : true,
-  "insertionIndex" : 23
-}
\ 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
new file mode 100644
index 0000000000..74a39c40c1
--- /dev/null
+++ 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-4a9ef230-5deb-4eec-b1df-f072a9528a4f.json
@@ -0,0 +1,27 @@
+{
+  "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-57c9341b-be13-4f43-a087-cbeb07099998.json
 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-57c9341b-be13-4f43-a087-cbeb07099998.json
deleted file mode 100644
index 1edaa95cef..0000000000
--- 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-57c9341b-be13-4f43-a087-cbeb07099998.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
-  "id" : "57c9341b-be13-4f43-a087-cbeb07099998",
-  "name" : "api_chat",
-  "request" : {
-    "url" : "/api/chat",
-    "method" : "POST",
-    "bodyPatterns" : [ {
-      "equalToJson" : "{\n  \"model\" : \"orca-mini\",\n  \"messages\" : [ {\n 
   \"role\" : \"user\",\n    \"content\" : \"Return an example JSON object 
about a person named John Doe with the fields name and description\\nYou must 
answer strictly in the following JSON format: {\\n\\\"name\\\": (type: 
string),\\n\\\"description\\\": (type: string)\\n}\"\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\":\"2025-09-05T08:40:58.01517105Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
 Sure! Here's an example JSON object for John Doe:\\n\\n```\\n{\\n 
\\\"name\\\": \\\"John Doe\\\",\\n \\\"description\\\": \\\"A person with a 
unique name that is easy to remember and 
pronounce.\\\"\\n}\\n```\"},\"done_reason\":\"stop\",\"done\":true,\"total_duration\":3135963143,\"load_duration\":5398287,\"prompt_eval_count\":90,\"prompt_eval_duration
 [...]
-    "headers" : {
-      "Date" : "Fri, 05 Sep 2025 08:40:58 GMT",
-      "Content-Type" : "application/json; charset=utf-8"
-    }
-  },
-  "uuid" : "57c9341b-be13-4f43-a087-cbeb07099998",
-  "persistent" : true,
-  "insertionIndex" : 10
-}
\ No newline at end of file
diff --git 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-581d8dbe-8619-40d5-b231-06dfc8e63e54.json
 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-581d8dbe-8619-40d5-b231-06dfc8e63e54.json
deleted file mode 100644
index c7ebe2209a..0000000000
--- 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-581d8dbe-8619-40d5-b231-06dfc8e63e54.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
-  "id" : "581d8dbe-8619-40d5-b231-06dfc8e63e54",
-  "name" : "api_chat",
-  "request" : {
-    "url" : "/api/chat",
-    "method" : "POST",
-    "bodyPatterns" : [ {
-      "equalToJson" : "{\n  \"model\" : \"orca-mini\",\n  \"messages\" : [ {\n 
   \"role\" : \"user\",\n    \"content\" : \"Describe the Miles of Camels Car 
Rental cancellations policy for cancelling 24 hours before pickup. What is the 
refund amount?\\n\\nAnswer using the following information:\\nCANCELLATION 
POLICY\\n- Cancellations made 24 hours before pickup: Full refund\\n- 
Cancellations made 12-24 hours before pickup: 50% refund\\n- Cancellations made 
less than 12 hours before picku [...]
-      "ignoreArrayOrder" : true,
-      "ignoreExtraElements" : false
-    } ]
-  },
-  "response" : {
-    "status" : 200,
-    "body" : 
"{\"model\":\"orca-mini\",\"created_at\":\"2025-09-05T08:40:13.2085886Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
 Miles of Camels Car Rental cancellations policy for cancelling 24 hours before 
pickup is as follows:\\n\\nCANCELLATION POLICY\\n- Cancellations made 24 hours 
before pickup: Full refund\\n- Cancellations made 12-24 hours before pickup: 
50% refund\\n- Cancellations made less than 12 hours before pickup: No 
refund\\n\\nTherefore, if you cancel your rental [...]
-    "headers" : {
-      "Date" : "Fri, 05 Sep 2025 08:40:13 GMT",
-      "Content-Type" : "application/json; charset=utf-8"
-    }
-  },
-  "uuid" : "581d8dbe-8619-40d5-b231-06dfc8e63e54",
-  "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-68c98680-0acb-4906-81d2-c929d7625547.json
new file mode 100644
index 0000000000..bda9b9dad4
--- /dev/null
+++ 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-68c98680-0acb-4906-81d2-c929d7625547.json
@@ -0,0 +1,24 @@
+{
+  "id" : "68c98680-0acb-4906-81d2-c929d7625547",
+  "name" : "api_chat",
+  "request" : {
+    "url" : "/api/chat",
+    "method" : "POST",
+    "bodyPatterns" : [ {
+      "equalToJson" : "{\n  \"model\" : \"orca-mini\",\n  \"messages\" : [ {\n 
   \"role\" : \"user\",\n    \"content\" : \"Return an example JSON object 
about a person named 'John Doe' with the fields age and description\"\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: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 
[...]
+    "headers" : {
+      "Date" : "Fri, 16 Jan 2026 13:05:57 GMT",
+      "Content-Type" : "application/json; charset=utf-8"
+    }
+  },
+  "uuid" : "68c98680-0acb-4906-81d2-c929d7625547",
+  "persistent" : true,
+  "insertionIndex" : 7
+}
\ No newline at end of file
diff --git 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-73474560-c2d8-4fbf-a14b-9739090453b4.json
 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-73474560-c2d8-4fbf-a14b-9739090453b4.json
deleted file mode 100644
index c25863e1eb..0000000000
--- 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-73474560-c2d8-4fbf-a14b-9739090453b4.json
+++ /dev/null
@@ -1,26 +0,0 @@
-{
-  "id" : "73474560-c2d8-4fbf-a14b-9739090453b4",
-  "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\":\"2025-09-05T08:41:35.954805674Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
 Once upon a starlit night, a curious little girl named Lily wandered through 
the forest near her home. She loved to explore and was always on the lookout 
for new adventures. As she walked, she noticed a small black and white kitten 
wandering around in the distance. The kitten looked lost and scared.\\n\\nLily 
decided to help the little cat and went t [...]
-    "headers" : {
-      "Date" : "Fri, 05 Sep 2025 08:41:35 GMT",
-      "Content-Type" : "application/json; charset=utf-8"
-    }
-  },
-  "uuid" : "73474560-c2d8-4fbf-a14b-9739090453b4",
-  "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-7abcebba-6417-4088-b392-d131060023ca.json
 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-7abcebba-6417-4088-b392-d131060023ca.json
new file mode 100644
index 0000000000..6d6c4b6714
--- /dev/null
+++ 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-7abcebba-6417-4088-b392-d131060023ca.json
@@ -0,0 +1,24 @@
+{
+  "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-91ede2cd-bcde-4896-90c9-f29a7482f1fe.json
 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-91ede2cd-bcde-4896-90c9-f29a7482f1fe.json
new file mode 100644
index 0000000000..2bcb294695
--- /dev/null
+++ 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-91ede2cd-bcde-4896-90c9-f29a7482f1fe.json
@@ -0,0 +1,24 @@
+{
+  "id" : "91ede2cd-bcde-4896-90c9-f29a7482f1fe",
+  "name" : "api_chat",
+  "request" : {
+    "url" : "/api/chat",
+    "method" : "POST",
+    "bodyPatterns" : [ {
+      "equalToJson" : "{\n  \"model\" : \"orca-mini\",\n  \"messages\" : [ {\n 
   \"role\" : \"user\",\n    \"content\" : \"Describe the Miles of Camels Car 
Rental cancellations policy for cancelling 24 hours before pickup. What is the 
refund amount?\\n\\nAnswer using the following information:\\nCANCELLATION 
POLICY\\n- Cancellations made 24 hours before pickup: Full refund\\n- 
Cancellations made 12-24 hours before pickup: 50% refund\\n- Cancellations made 
less than 12 hours before picku [...]
+      "ignoreArrayOrder" : true,
+      "ignoreExtraElements" : false
+    } ]
+  },
+  "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 [...]
+    "headers" : {
+      "Date" : "Fri, 16 Jan 2026 13:05:11 GMT",
+      "Content-Type" : "application/json; charset=utf-8"
+    }
+  },
+  "uuid" : "91ede2cd-bcde-4896-90c9-f29a7482f1fe",
+  "persistent" : true,
+  "insertionIndex" : 21
+}
\ 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
new file mode 100644
index 0000000000..0d0416ef35
--- /dev/null
+++ 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-938199ac-c67b-434b-a78f-4755ccb9fc00.json
@@ -0,0 +1,26 @@
+{
+  "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-9dfeffa3-0b61-43af-996b-575c153be649.json
 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-9dfeffa3-0b61-43af-996b-575c153be649.json
new file mode 100644
index 0000000000..7e08b76c0d
--- /dev/null
+++ 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-9dfeffa3-0b61-43af-996b-575c153be649.json
@@ -0,0 +1,24 @@
+{
+  "id" : "9dfeffa3-0b61-43af-996b-575c153be649",
+  "name" : "api_chat",
+  "request" : {
+    "url" : "/api/chat",
+    "method" : "POST",
+    "bodyPatterns" : [ {
+      "equalToJson" : "{\n  \"model\" : \"orca-mini\",\n  \"messages\" : [ {\n 
   \"role\" : \"user\",\n    \"content\" : \"Make sure you return a valid JSON 
object following the specified format\"\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: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}",
+    "headers" : {
+      "Date" : "Fri, 16 Jan 2026 13:05:59 GMT",
+      "Content-Type" : "application/json; charset=utf-8"
+    }
+  },
+  "uuid" : "9dfeffa3-0b61-43af-996b-575c153be649",
+  "persistent" : true,
+  "insertionIndex" : 6
+}
\ No newline at end of file
diff --git 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-a14f44e0-8921-47ab-a69e-cf038e7cb358.json
 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-a47ed0c7-2b67-4c96-85d2-205a2711578e.json
similarity index 64%
rename from 
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-a14f44e0-8921-47ab-a69e-cf038e7cb358.json
rename to 
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-a47ed0c7-2b67-4c96-85d2-205a2711578e.json
index 9274e196f6..3bec0cf5a5 100644
--- 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-a14f44e0-8921-47ab-a69e-cf038e7cb358.json
+++ 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-a47ed0c7-2b67-4c96-85d2-205a2711578e.json
@@ -1,5 +1,5 @@
 {
-  "id" : "a14f44e0-8921-47ab-a69e-cf038e7cb358",
+  "id" : "a47ed0c7-2b67-4c96-85d2-205a2711578e",
   "name" : "api_chat",
   "request" : {
     "url" : "/api/chat",
@@ -12,13 +12,13 @@
   },
   "response" : {
     "status" : 200,
-    "body" : 
"{\"model\":\"granite4:3b\",\"created_at\":\"2025-10-14T13:43:17.079209926Z\",\"message\":{\"role\":\"assistant\",\"content\":\"\",\"tool_calls\":[{\"function\":{\"name\":\"addNumbers\",\"arguments\":{\"arg0\":10,\"arg1\":5}}}]},\"done_reason\":\"stop\",\"done\":true,\"total_duration\":20461789347,\"load_duration\":13165365726,\"prompt_eval_count\":188,\"prompt_eval_duration\":4650715215,\"eval_count\":25,\"eval_duration\":2644447381}",
+    "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}",
     "headers" : {
-      "Date" : "Tue, 14 Oct 2025 13:43:17 GMT",
+      "Date" : "Fri, 16 Jan 2026 13:05:52 GMT",
       "Content-Type" : "application/json; charset=utf-8"
     }
   },
-  "uuid" : "a14f44e0-8921-47ab-a69e-cf038e7cb358",
+  "uuid" : "a47ed0c7-2b67-4c96-85d2-205a2711578e",
   "persistent" : true,
-  "insertionIndex" : 21
+  "insertionIndex" : 10
 }
\ No newline at end of file
diff --git 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-a5d8bdce-dd3a-44ab-a796-001de6dba7d6.json
 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-a5d8bdce-dd3a-44ab-a796-001de6dba7d6.json
deleted file mode 100644
index f37d32a5d3..0000000000
--- 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-a5d8bdce-dd3a-44ab-a796-001de6dba7d6.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
-  "id" : "a5d8bdce-dd3a-44ab-a796-001de6dba7d6",
-  "name" : "api_chat",
-  "request" : {
-    "url" : "/api/chat",
-    "method" : "POST",
-    "bodyPatterns" : [ {
-      "equalToJson" : "{\n  \"model\" : \"orca-mini\",\n  \"messages\" : [ {\n 
   \"role\" : \"user\",\n    \"content\" : \"Return an example JSON object 
about a person named 'John Doe' with the fields age and description\"\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\":\"2025-09-05T08:41:02.730350164Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
 Sure, here's an example JSON object for John Doe:\\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 video games in his free 
time.\\\"\\n}\\n```\"},\"done_reason\":\"stop\",\"done\":true,\"total_duration\":3896449854,\"load_du
 [...]
-    "headers" : {
-      "Date" : "Fri, 05 Sep 2025 08:41:02 GMT",
-      "Content-Type" : "application/json; charset=utf-8"
-    }
-  },
-  "uuid" : "a5d8bdce-dd3a-44ab-a796-001de6dba7d6",
-  "persistent" : true,
-  "insertionIndex" : 8
-}
\ No newline at end of file
diff --git 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-fceeb039-9b61-4ac5-a8c7-71a6483ea6a7.json
 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-a8746154-00a4-4d7f-bef3-387a8c6e0401.json
similarity index 61%
rename from 
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-fceeb039-9b61-4ac5-a8c7-71a6483ea6a7.json
rename to 
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-a8746154-00a4-4d7f-bef3-387a8c6e0401.json
index c80c0d84aa..cbed225787 100644
--- 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-fceeb039-9b61-4ac5-a8c7-71a6483ea6a7.json
+++ 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-a8746154-00a4-4d7f-bef3-387a8c6e0401.json
@@ -1,5 +1,5 @@
 {
-  "id" : "fceeb039-9b61-4ac5-a8c7-71a6483ea6a7",
+  "id" : "a8746154-00a4-4d7f-bef3-387a8c6e0401",
   "name" : "api_chat",
   "request" : {
     "url" : "/api/chat",
@@ -12,13 +12,13 @@
   },
   "response" : {
     "status" : 200,
-    "body" : 
"{\"model\":\"granite4:3b\",\"created_at\":\"2025-09-05T08:40:22.217978108Z\",\"message\":{\"role\":\"assistant\",\"content\":\"\",\"tool_calls\":[{\"function\":{\"name\":\"QueryUserDatabaseByUserID\",\"arguments\":{\"userId\":123}}}]},\"done_reason\":\"stop\",\"done\":true,\"total_duration\":8921529931,\"load_duration\":2746310489,\"prompt_eval_count\":166,\"prompt_eval_duration\":4091169742,\"eval_count\":20,\"eval_duration\":2083023029}",
+    "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}",
     "headers" : {
-      "Date" : "Fri, 05 Sep 2025 08:40:22 GMT",
+      "Date" : "Fri, 16 Jan 2026 13:05:14 GMT",
       "Content-Type" : "application/json; charset=utf-8"
     }
   },
-  "uuid" : "fceeb039-9b61-4ac5-a8c7-71a6483ea6a7",
+  "uuid" : "a8746154-00a4-4d7f-bef3-387a8c6e0401",
   "persistent" : true,
-  "insertionIndex" : 16
+  "insertionIndex" : 20
 }
\ 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-b5eabfad-8fd5-4e4c-9e90-e42d16659844.json
new file mode 100644
index 0000000000..62322f9d2e
--- /dev/null
+++ 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-b5eabfad-8fd5-4e4c-9e90-e42d16659844.json
@@ -0,0 +1,24 @@
+{
+  "id" : "b5eabfad-8fd5-4e4c-9e90-e42d16659844",
+  "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 [...]
+      "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
 [...]
+    "headers" : {
+      "Date" : "Fri, 16 Jan 2026 13:06:03 GMT",
+      "Content-Type" : "application/json; charset=utf-8"
+    }
+  },
+  "uuid" : "b5eabfad-8fd5-4e4c-9e90-e42d16659844",
+  "persistent" : true,
+  "insertionIndex" : 3
+}
\ No newline at end of file
diff --git 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-90d1f0a9-0e98-46b8-95be-6a0f10fa145f.json
 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-c04d734f-3c0a-4695-a64e-cae04777cd1b.json
similarity index 57%
rename from 
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-90d1f0a9-0e98-46b8-95be-6a0f10fa145f.json
rename to 
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-c04d734f-3c0a-4695-a64e-cae04777cd1b.json
index b608420e88..a99c7498e8 100644
--- 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-90d1f0a9-0e98-46b8-95be-6a0f10fa145f.json
+++ 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-c04d734f-3c0a-4695-a64e-cae04777cd1b.json
@@ -1,5 +1,5 @@
 {
-  "id" : "90d1f0a9-0e98-46b8-95be-6a0f10fa145f",
+  "id" : "c04d734f-3c0a-4695-a64e-cae04777cd1b",
   "name" : "api_chat",
   "request" : {
     "url" : "/api/chat",
@@ -12,16 +12,16 @@
   },
   "response" : {
     "status" : 200,
-    "body" : 
"{\"model\":\"orca-mini\",\"created_at\":\"2025-09-05T08:40:25.87196959Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
 Hello, Alice. How can I assist you 
today?\"},\"done_reason\":\"stop\",\"done\":true,\"total_duration\":707788963,\"load_duration\":5513604,\"prompt_eval_count\":46,\"prompt_eval_duration\":168871300,\"eval_count\":12,\"eval_duration\":532436800}",
+    "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}",
     "headers" : {
-      "Date" : "Fri, 05 Sep 2025 08:40:25 GMT",
+      "Date" : "Fri, 16 Jan 2026 13:05:16 GMT",
       "Content-Type" : "application/json; charset=utf-8"
     }
   },
-  "uuid" : "90d1f0a9-0e98-46b8-95be-6a0f10fa145f",
+  "uuid" : "c04d734f-3c0a-4695-a64e-cae04777cd1b",
   "persistent" : true,
   "scenarioName" : "scenario-2-api-chat",
   "requiredScenarioState" : "Started",
   "newScenarioState" : "scenario-2-api-chat-2",
-  "insertionIndex" : 14
+  "insertionIndex" : 18
 }
\ 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
new file mode 100644
index 0000000000..6502b9f483
--- /dev/null
+++ 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-c87426f7-7083-404e-9b93-fe92227645b2.json
@@ -0,0 +1,24 @@
+{
+  "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-97c022a9-b386-47f1-8531-3a1ce3bfa4e0.json
 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-cae754c5-1fd7-4de6-b633-174b44ec4342.json
similarity index 70%
rename from 
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-97c022a9-b386-47f1-8531-3a1ce3bfa4e0.json
rename to 
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-cae754c5-1fd7-4de6-b633-174b44ec4342.json
index f4e374f48e..439b9b6a66 100644
--- 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-97c022a9-b386-47f1-8531-3a1ce3bfa4e0.json
+++ 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-cae754c5-1fd7-4de6-b633-174b44ec4342.json
@@ -1,5 +1,5 @@
 {
-  "id" : "97c022a9-b386-47f1-8531-3a1ce3bfa4e0",
+  "id" : "cae754c5-1fd7-4de6-b633-174b44ec4342",
   "name" : "api_chat",
   "request" : {
     "url" : "/api/chat",
@@ -12,13 +12,13 @@
   },
   "response" : {
     "status" : 200,
-    "body" : 
"{\"model\":\"granite4:3b\",\"created_at\":\"2025-09-05T08:40:25.005956891Z\",\"message\":{\"role\":\"assistant\",\"content\":\"The
 name associated with user ID 123 is John 
Doe.\"},\"done_reason\":\"stop\",\"done\":true,\"total_duration\":2737024526,\"load_duration\":18514317,\"prompt_eval_count\":109,\"prompt_eval_duration\":1409228801,\"eval_count\":13,\"eval_duration\":1308313918}",
+    "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}",
     "headers" : {
-      "Date" : "Fri, 05 Sep 2025 08:40:25 GMT",
+      "Date" : "Fri, 16 Jan 2026 13:05:15 GMT",
       "Content-Type" : "application/json; charset=utf-8"
     }
   },
-  "uuid" : "97c022a9-b386-47f1-8531-3a1ce3bfa4e0",
+  "uuid" : "cae754c5-1fd7-4de6-b633-174b44ec4342",
   "persistent" : true,
-  "insertionIndex" : 15
+  "insertionIndex" : 19
 }
\ No newline at end of file
diff --git 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-22a4f651-2f57-4192-8da5-378365cac7c7.json
 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-d7d6ed55-5f93-4f9a-9fb3-0cb702d6fdd3.json
similarity index 58%
rename from 
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-22a4f651-2f57-4192-8da5-378365cac7c7.json
rename to 
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-d7d6ed55-5f93-4f9a-9fb3-0cb702d6fdd3.json
index 722dda1ab3..ed939c15a4 100644
--- 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-22a4f651-2f57-4192-8da5-378365cac7c7.json
+++ 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-d7d6ed55-5f93-4f9a-9fb3-0cb702d6fdd3.json
@@ -1,5 +1,5 @@
 {
-  "id" : "22a4f651-2f57-4192-8da5-378365cac7c7",
+  "id" : "d7d6ed55-5f93-4f9a-9fb3-0cb702d6fdd3",
   "name" : "api_chat",
   "request" : {
     "url" : "/api/chat",
@@ -12,13 +12,13 @@
   },
   "response" : {
     "status" : 200,
-    "body" : 
"{\"model\":\"orca-mini\",\"created_at\":\"2025-09-05T08:41:17.084840245Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
 Hello, Alice. How can I assist you 
today?\"},\"done_reason\":\"stop\",\"done\":true,\"total_duration\":718450885,\"load_duration\":5142315,\"prompt_eval_count\":46,\"prompt_eval_duration\":180030056,\"eval_count\":12,\"eval_duration\":532488717}",
+    "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}",
     "headers" : {
-      "Date" : "Fri, 05 Sep 2025 08:41:17 GMT",
+      "Date" : "Fri, 16 Jan 2026 13:06:04 GMT",
       "Content-Type" : "application/json; charset=utf-8"
     }
   },
-  "uuid" : "22a4f651-2f57-4192-8da5-378365cac7c7",
+  "uuid" : "d7d6ed55-5f93-4f9a-9fb3-0cb702d6fdd3",
   "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-df5c600e-ec18-4194-9037-7b54b6cbdfc3.json
 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-df5c600e-ec18-4194-9037-7b54b6cbdfc3.json
deleted file mode 100644
index 39050e0a21..0000000000
--- 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-df5c600e-ec18-4194-9037-7b54b6cbdfc3.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
-  "id" : "df5c600e-ec18-4194-9037-7b54b6cbdfc3",
-  "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\" : \"Nice to meet you, 
Alice! Is there something I can help you with or would you like to chat?\",\n   
 \"tool_calls\" : [ ]\n  }, {\n    \"role\" : \"user\",\n    \"content\" : 
\"And my favorite color is blue\"\n  }, {\n    \"role\" : \"assistant\",\n    
\"content\" : \"Blue is a wo [...]
-      "ignoreArrayOrder" : true,
-      "ignoreExtraElements" : false
-    } ]
-  },
-  "response" : {
-    "status" : 200,
-    "body" : 
"{\"model\":\"granite4:3b\",\"created_at\":\"2025-09-05T08:41:16.29486056Z\",\"message\":{\"role\":\"assistant\",\"content\":\"Your
 name is Alice, and your favorite color is blue! (I 
remember!)\"},\"done_reason\":\"stop\",\"done\":true,\"total_duration\":2387529222,\"load_duration\":18340751,\"prompt_eval_count\":119,\"prompt_eval_duration\":620669949,\"eval_count\":17,\"eval_duration\":1747369140}",
-    "headers" : {
-      "Date" : "Fri, 05 Sep 2025 08:41:16 GMT",
-      "Content-Type" : "application/json; charset=utf-8"
-    }
-  },
-  "uuid" : "df5c600e-ec18-4194-9037-7b54b6cbdfc3",
-  "persistent" : true,
-  "insertionIndex" : 3
-}
\ No newline at end of file
diff --git 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-e1d90c56-38f7-4e1f-93d0-641fd6f1c5a7.json
 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-e1d90c56-38f7-4e1f-93d0-641fd6f1c5a7.json
deleted file mode 100644
index 2c9e443e48..0000000000
--- 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-e1d90c56-38f7-4e1f-93d0-641fd6f1c5a7.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
-  "id" : "e1d90c56-38f7-4e1f-93d0-641fd6f1c5a7",
-  "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\" : \"Nice to meet you, 
Alice! Is there something I can help you with or would you like to chat?\",\n   
 \"tool_calls\" : [ ]\n  }, {\n    \"role\" : \"user\",\n    \"content\" : 
\"And my favorite color is blue\"\n  } ],\n  \"options\" : {\n    
\"temperature\" : 0.3,\n    \"stop\" : [ [...]
-      "ignoreArrayOrder" : true,
-      "ignoreExtraElements" : false
-    } ]
-  },
-  "response" : {
-    "status" : 200,
-    "body" : 
"{\"model\":\"granite4:3b\",\"created_at\":\"2025-09-05T08:41:13.790159977Z\",\"message\":{\"role\":\"assistant\",\"content\":\"Blue
 is a wonderful color. It's so calming and serene. Do you have a particular 
shade of blue that you especially love - light sky blue, navy blue, or perhaps 
a bright cobalt 
blue?\"},\"done_reason\":\"stop\",\"done\":true,\"total_duration\":4900250015,\"load_duration\":18049552,\"prompt_eval_count\":54,\"prompt_eval_duration\":415571264,\"eval_coun
 [...]
-    "headers" : {
-      "Date" : "Fri, 05 Sep 2025 08:41:13 GMT",
-      "Content-Type" : "application/json; charset=utf-8"
-    }
-  },
-  "uuid" : "e1d90c56-38f7-4e1f-93d0-641fd6f1c5a7",
-  "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
new file mode 100644
index 0000000000..77ab2fee32
--- /dev/null
+++ 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-e42c2b42-065e-46fb-9376-1c291eda3604.json
@@ -0,0 +1,24 @@
+{
+  "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-891a47a3-531c-48fd-920c-b8eff546c7ff.json
 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-e5af20e3-b94e-4d35-9a12-98a72243816a.json
similarity index 72%
rename from 
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-891a47a3-531c-48fd-920c-b8eff546c7ff.json
rename to 
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-e5af20e3-b94e-4d35-9a12-98a72243816a.json
index 2b9eed8b95..a0519f8635 100644
--- 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-891a47a3-531c-48fd-920c-b8eff546c7ff.json
+++ 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-e5af20e3-b94e-4d35-9a12-98a72243816a.json
@@ -1,5 +1,5 @@
 {
-  "id" : "891a47a3-531c-48fd-920c-b8eff546c7ff",
+  "id" : "e5af20e3-b94e-4d35-9a12-98a72243816a",
   "name" : "api_chat",
   "request" : {
     "url" : "/api/chat",
@@ -12,13 +12,13 @@
   },
   "response" : {
     "status" : 200,
-    "body" : 
"{\"model\":\"granite4:3b\",\"created_at\":\"2025-10-14T13:43:19.525346678Z\",\"message\":{\"role\":\"assistant\",\"content\":\"The
 result of the calculation is 
15.\"},\"done_reason\":\"stop\",\"done\":true,\"total_duration\":2396046130,\"load_duration\":18256574,\"prompt_eval_count\":108,\"prompt_eval_duration\":1392355389,\"eval_count\":10,\"eval_duration\":984595879}",
+    "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}",
     "headers" : {
-      "Date" : "Tue, 14 Oct 2025 13:43:19 GMT",
+      "Date" : "Fri, 16 Jan 2026 13:05:53 GMT",
       "Content-Type" : "application/json; charset=utf-8"
     }
   },
-  "uuid" : "891a47a3-531c-48fd-920c-b8eff546c7ff",
+  "uuid" : "e5af20e3-b94e-4d35-9a12-98a72243816a",
   "persistent" : true,
-  "insertionIndex" : 20
+  "insertionIndex" : 9
 }
\ No newline at end of file
diff --git 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-f02d99a6-9cee-4e8d-bcff-7f6fd7ad3d12.json
 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-f02d99a6-9cee-4e8d-bcff-7f6fd7ad3d12.json
deleted file mode 100644
index f51ddcba73..0000000000
--- 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-f02d99a6-9cee-4e8d-bcff-7f6fd7ad3d12.json
+++ /dev/null
@@ -1,27 +0,0 @@
-{
-  "id" : "f02d99a6-9cee-4e8d-bcff-7f6fd7ad3d12",
-  "name" : "api_chat",
-  "request" : {
-    "url" : "/api/chat",
-    "method" : "POST",
-    "bodyPatterns" : [ {
-      "equalToJson" : "{\n  \"model\" : \"orca-mini\",\n  \"messages\" : [ {\n 
   \"role\" : \"user\",\n    \"content\" : \"Make sure you return a valid JSON 
object following the specified format\"\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\":\"2025-09-05T08:41:04.354385748Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
 Sure, I'd be happy to help! What is the specific format of the JSON object you 
would like me to 
generate?\"},\"done_reason\":\"stop\",\"done\":true,\"total_duration\":1509223341,\"load_duration\":5736564,\"prompt_eval_count\":52,\"prompt_eval_duration\":236008817,\"eval_count\":27,\"eval_duration\":1266202591}",
-    "headers" : {
-      "Date" : "Fri, 05 Sep 2025 08:41:04 GMT",
-      "Content-Type" : "application/json; charset=utf-8"
-    }
-  },
-  "uuid" : "f02d99a6-9cee-4e8d-bcff-7f6fd7ad3d12",
-  "persistent" : true,
-  "scenarioName" : "scenario-3-api-chat",
-  "requiredScenarioState" : "Started",
-  "newScenarioState" : "scenario-3-api-chat-2",
-  "insertionIndex" : 7
-}
\ No newline at end of file
diff --git 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-e7aee62a-a9b2-4d51-b31f-f817bc16e013.json
 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-f3a945b7-525d-4677-a71c-2565ab7119e3.json
similarity index 57%
rename from 
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-e7aee62a-a9b2-4d51-b31f-f817bc16e013.json
rename to 
integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-f3a945b7-525d-4677-a71c-2565ab7119e3.json
index 2eb2ab3607..d19d6a746f 100644
--- 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-e7aee62a-a9b2-4d51-b31f-f817bc16e013.json
+++ 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-f3a945b7-525d-4677-a71c-2565ab7119e3.json
@@ -1,5 +1,5 @@
 {
-  "id" : "e7aee62a-a9b2-4d51-b31f-f817bc16e013",
+  "id" : "f3a945b7-525d-4677-a71c-2565ab7119e3",
   "name" : "api_chat",
   "request" : {
     "url" : "/api/chat",
@@ -12,13 +12,13 @@
   },
   "response" : {
     "status" : 200,
-    "body" : 
"{\"model\":\"orca-mini\",\"created_at\":\"2025-09-05T08:40:54.652463131Z\",\"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 short 
description.\\\"\\n}\\n```\"},\"done_reason\":\"stop\",\"done\":true,\"total_duration\":3088735669,\"load_duration\":5816213,\"prompt_eval_count\":60,\"prompt_eval_duration\
 [...]
+    "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\
 [...]
     "headers" : {
-      "Date" : "Fri, 05 Sep 2025 08:40:54 GMT",
+      "Date" : "Fri, 16 Jan 2026 13:05:36 GMT",
       "Content-Type" : "application/json; charset=utf-8"
     }
   },
-  "uuid" : "e7aee62a-a9b2-4d51-b31f-f817bc16e013",
+  "uuid" : "f3a945b7-525d-4677-a71c-2565ab7119e3",
   "persistent" : true,
-  "insertionIndex" : 11
+  "insertionIndex" : 15
 }
\ 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-f5a22e97-433c-4e26-af47-24d382c0fe31.json
new file mode 100644
index 0000000000..108d971b8b
--- /dev/null
+++ 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-f5a22e97-433c-4e26-af47-24d382c0fe31.json
@@ -0,0 +1,24 @@
+{
+  "id" : "f5a22e97-433c-4e26-af47-24d382c0fe31",
+  "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  \"options\" : {\n    \"temperature\" : 0.3,\n    \"stop\" : [ ]\n  },\n 
 \"stream\" : fa [...]
+      "ignoreArrayOrder" : true,
+      "ignoreExtraElements" : false
+    } ]
+  },
+  "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
 [...]
+    "headers" : {
+      "Date" : "Fri, 16 Jan 2026 13:06:02 GMT",
+      "Content-Type" : "application/json; charset=utf-8"
+    }
+  },
+  "uuid" : "f5a22e97-433c-4e26-af47-24d382c0fe31",
+  "persistent" : true,
+  "insertionIndex" : 4
+}
\ No newline at end of file
diff --git 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-fe594db1-b82f-4216-a1fc-0cfdddc1b33a.json
 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-fe594db1-b82f-4216-a1fc-0cfdddc1b33a.json
deleted file mode 100644
index 08c28a1728..0000000000
--- 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-fe594db1-b82f-4216-a1fc-0cfdddc1b33a.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
-  "id" : "fe594db1-b82f-4216-a1fc-0cfdddc1b33a",
-  "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\":\"2025-09-05T08:40:29.803949147Z\",\"message\":{\"role\":\"assistant\",\"content\":\"
 Apache Camel is an open-source project that provides a framework for building 
and managing robust, distributed, and fault-tolerant systems. It allows 
developers to easily build and manage complex workflows between different 
systems, applications, and data sources. The main use cases for Apache Camel 
include routing, serialization/deserialization, and [...]
-    "headers" : {
-      "Date" : "Fri, 05 Sep 2025 08:40:29 GMT",
-      "Content-Type" : "application/json; charset=utf-8"
-    }
-  },
-  "uuid" : "fe594db1-b82f-4216-a1fc-0cfdddc1b33a",
-  "persistent" : true,
-  "insertionIndex" : 13
-}
\ No newline at end of file
diff --git 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-ffafaf8e-0801-4877-bd4f-1a86a7798e5a.json
 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-ffafaf8e-0801-4877-bd4f-1a86a7798e5a.json
deleted file mode 100644
index db86ad647e..0000000000
--- 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_chat-ffafaf8e-0801-4877-bd4f-1a86a7798e5a.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
-  "id" : "ffafaf8e-0801-4877-bd4f-1a86a7798e5a",
-  "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\":\"2025-11-21T13:34:09.765306544Z\",\"message\":{\"role\":\"assistant\",\"content\":\"[\\n
  \\\"echo\\\",\\n  \\\"longRunningOperation\\\",\\n  
\\\"add\\\"\\n]\"},\"done\":true,\"done_reason\":\"stop\",\"total_duration\":6360023744,\"load_duration\":1473869578,\"prompt_eval_count\":326,\"prompt_eval_duration\":4030858505,\"eval_count\":17,\"eval_duration\":843507830}",
-    "headers" : {
-      "Date" : "Fri, 21 Nov 2025 13:34:09 GMT",
-      "Content-Type" : "application/json; charset=utf-8"
-    }
-  },
-  "uuid" : "ffafaf8e-0801-4877-bd4f-1a86a7798e5a",
-  "persistent" : true,
-  "insertionIndex" : 24
-}
\ No newline at end of file
diff --git 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_embed-cc8902fc-b699-41e9-9f80-b50423fbf24c.json
 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_embed-332d1a1b-9c67-405d-bf76-a0f701843036.json
similarity index 87%
rename from 
integration-tests/langchain4j-agent/src/test/resources/mappings/api_embed-cc8902fc-b699-41e9-9f80-b50423fbf24c.json
rename to 
integration-tests/langchain4j-agent/src/test/resources/mappings/api_embed-332d1a1b-9c67-405d-bf76-a0f701843036.json
index 5d8834a132..d37b42165f 100644
--- 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_embed-cc8902fc-b699-41e9-9f80-b50423fbf24c.json
+++ 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_embed-332d1a1b-9c67-405d-bf76-a0f701843036.json
@@ -1,5 +1,5 @@
 {
-  "id" : "cc8902fc-b699-41e9-9f80-b50423fbf24c",
+  "id" : "332d1a1b-9c67-405d-bf76-a0f701843036",
   "name" : "api_embed",
   "request" : {
     "url" : "/api/embed",
@@ -12,13 +12,13 @@
   },
   "response" : {
     "status" : 200,
-    "bodyFileName" : "api_embed-cc8902fc-b699-41e9-9f80-b50423fbf24c.json",
+    "bodyFileName" : "api_embed-332d1a1b-9c67-405d-bf76-a0f701843036.json",
     "headers" : {
-      "Date" : "Fri, 05 Sep 2025 08:39:58 GMT",
+      "Date" : "Fri, 16 Jan 2026 13:04:57 GMT",
       "Content-Type" : "application/json; charset=utf-8"
     }
   },
-  "uuid" : "cc8902fc-b699-41e9-9f80-b50423fbf24c",
+  "uuid" : "332d1a1b-9c67-405d-bf76-a0f701843036",
   "persistent" : true,
-  "insertionIndex" : 19
+  "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-6786a055-6a4b-48e4-86d3-41bc7e003538.json
new file mode 100644
index 0000000000..4351bfd2b3
--- /dev/null
+++ 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_embed-6786a055-6a4b-48e4-86d3-41bc7e003538.json
@@ -0,0 +1,24 @@
+{
+  "id" : "6786a055-6a4b-48e4-86d3-41bc7e003538",
+  "name" : "api_embed",
+  "request" : {
+    "url" : "/api/embed",
+    "method" : "POST",
+    "bodyPatterns" : [ {
+      "equalToJson" : "{\n  \"model\" : \"nomic-embed-text\",\n  \"input\" : [ 
\"Describe the Miles of Camels Car Rental cancellations policy for cancelling 
24 hours before pickup. What is the refund amount?\" ]\n}",
+      "ignoreArrayOrder" : true,
+      "ignoreExtraElements" : false
+    } ]
+  },
+  "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
 [...]
+    "headers" : {
+      "Date" : "Fri, 16 Jan 2026 13:04:58 GMT",
+      "Content-Type" : "application/json; charset=utf-8"
+    }
+  },
+  "uuid" : "6786a055-6a4b-48e4-86d3-41bc7e003538",
+  "persistent" : true,
+  "insertionIndex" : 22
+}
\ No newline at end of file
diff --git 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_embed-f208155e-5af8-4c4c-802d-8b2f5be5cb34.json
 
b/integration-tests/langchain4j-agent/src/test/resources/mappings/api_embed-f208155e-5af8-4c4c-802d-8b2f5be5cb34.json
deleted file mode 100644
index dfd4323943..0000000000
--- 
a/integration-tests/langchain4j-agent/src/test/resources/mappings/api_embed-f208155e-5af8-4c4c-802d-8b2f5be5cb34.json
+++ /dev/null
@@ -1,24 +0,0 @@
-{
-  "id" : "f208155e-5af8-4c4c-802d-8b2f5be5cb34",
-  "name" : "api_embed",
-  "request" : {
-    "url" : "/api/embed",
-    "method" : "POST",
-    "bodyPatterns" : [ {
-      "equalToJson" : "{\n  \"model\" : \"nomic-embed-text\",\n  \"input\" : [ 
\"Describe the Miles of Camels Car Rental cancellations policy for cancelling 
24 hours before pickup. What is the refund amount?\" ]\n}",
-      "ignoreArrayOrder" : true,
-      "ignoreExtraElements" : false
-    } ]
-  },
-  "response" : {
-    "status" : 200,
-    "body" : 
"{\"model\":\"nomic-embed-text\",\"embeddings\":[[-0.000546151,0.032465357,-0.1832982,-0.006578118,0.019952673,-0.0018667525,0.014617178,0.020668428,0.0038082553,0.018162793,-0.034445435,-0.011487866,0.039282184,-0.024556652,0.09539182,-0.02630365,0.0276438,-0.022805816,-0.04179049,0.028880822,0.006367407,-0.0022209072,-0.0902023,-0.013760107,0.022725942,0.025699575,0.052584995,0.035527404,-0.025857603,0.017433418,0.06672366,0.022350645,0.009822153,-0.07828854,-0.12301919,0.
 [...]
-    "headers" : {
-      "Date" : "Fri, 05 Sep 2025 08:39:59 GMT",
-      "Content-Type" : "application/json; charset=utf-8"
-    }
-  },
-  "uuid" : "f208155e-5af8-4c4c-802d-8b2f5be5cb34",
-  "persistent" : true,
-  "insertionIndex" : 18
-}
\ No newline at end of file

Reply via email to