Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

fix(ChatMLAdapter): prevent gemini adapter taking precedence over pydantic/agent-framework (#12676)

Jean-Baptiste Muscat2477aee3fa7f
diff --git a/packages/shared/src/utils/chatml/adapters/gemini.ts b/packages/shared/src/utils/chatml/adapters/gemini.ts
index 8d3a8a7872..f54f9ddfbd 100644
--- a/packages/shared/src/utils/chatml/adapters/gemini.ts
+++ b/packages/shared/src/utils/chatml/adapters/gemini.ts
@@ -3,6 +3,7 @@ import {
parseMetadata,
stringifyToolResultContent,
isRichToolResult,
+ getNestedProperty,
} from "../helpers";
import { z } from "zod/v4";
@@ -458,8 +459,19 @@ export const geminiAdapter: ProviderAdapter = {
detect(ctx: NormalizerContext): boolean {
const meta = parseMetadata(ctx.metadata);
- // HINTS: Fast checks for explicit Gemini indicators
if (ctx.framework === "gemini") return true;
+
+ // EXCLUSIONS: Fast checks for explicit non-Gemini indicators
+ const scopeName = getNestedProperty(meta, "scope", "name");
+ if (scopeName === "pydantic-ai") return false;
+ if (scopeName === "agent_framework") return false;
+ if (
+ typeof scopeName === "string" &&
+ scopeName.includes("Microsoft.Extensions.AI")
+ )
+ return false;
+
+ // HINTS: Fast checks for explicit Gemini indicators
if (ctx.observationName?.toLowerCase().includes("gemini")) return true;
if (ctx.observationName?.toLowerCase().includes("vertex")) return true;
if (meta?.ls_provider === "google_vertexai") return true;
diff --git a/packages/shared/src/utils/chatml/adapters/microsoft-agent.ts b/packages/shared/src/utils/chatml/adapters/microsoft-agent.ts
index 1b3298c336..457ec1b105 100644
--- a/packages/shared/src/utils/chatml/adapters/microsoft-agent.ts
+++ b/packages/shared/src/utils/chatml/adapters/microsoft-agent.ts
@@ -258,6 +258,11 @@ export const microsoftAgentAdapter: ProviderAdapter = {
const scopeName = getNestedProperty(meta, "scope", "name");
if (scopeName === "agent_framework") return true;
+ if (
+ typeof scopeName === "string" &&
+ scopeName.includes("Microsoft.Extensions.AI")
+ )
+ return true;
if (scopeName === "pydantic-ai") return false;
const providerName = getNestedProperty(
diff --git a/worker/src/__tests__/chatml/framework-traces/agno-2025-06-11.trace.json b/worker/src/__tests__/chatml/framework-traces/agno-2025-06-11.trace.json
index 692a119832..e28069e1ee 100644
--- a/worker/src/__tests__/chatml/framework-traces/agno-2025-06-11.trace.json
+++ b/worker/src/__tests__/chatml/framework-traces/agno-2025-06-11.trace.json
@@ -22,59 +22,40 @@
"latency": 6.991,
"observations": [
{
- "id": "1f883bb9668167c0",
+ "id": "1cffdfa6fe3412e6",
"traceId": "080130871f53145aecf7c29d5dfb6e4c",
- "startTime": "2025-06-11T14:01:32.606Z",
- "endTime": "2025-06-11T14:01:33.559Z",
+ "startTime": "2025-06-11T14:01:32.598Z",
+ "endTime": "2025-06-11T14:01:39.589Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "ca136de468e156c9",
- "type": "GENERATION",
+ "parentObservationId": null,
+ "type": "SPAN",
"environment": "default",
- "name": "chat gpt-4o-mini",
+ "name": "Agent.run",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-06-11T14:01:33.719Z",
- "updatedAt": "2025-06-11T14:01:33.768Z",
+ "createdAt": "2025-06-11T14:01:39.781Z",
+ "updatedAt": "2025-06-11T14:01:39.875Z",
"input": null,
"output": null,
- "model": "gpt-4o-mini",
- "internalModelId": "clyrjp56f0000t0mzapoocd7u",
- "modelParameters": {
- "seed": "",
- "frequency_penalty": 0,
- "max_tokens": -1,
- "presence_penalty": 0,
- "stop_sequences": "{\"arrayValue\":{}}",
- "temperature": 1,
- "top_p": 1,
- "service_tier": "auto",
- "user": "",
- "is_stream": false
- },
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": null,
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0.953,
+ "latency": 6.991,
"timeToFirstToken": null,
- "usageDetails": {
- "input": 163,
- "output": 20,
- "total": 183
- },
- "costDetails": {
- "total": 0.00003645
- },
- "providedCostDetails": {
- "total": 0.00003645
- },
+ "usageDetails": {},
+ "costDetails": {},
+ "providedCostDetails": {},
"inputCost": null,
"outputCost": null,
- "totalCost": 0.00003645,
- "inputUsage": 163,
- "outputUsage": 20,
- "totalUsage": 183,
+ "totalCost": 0,
+ "inputUsage": 0,
+ "outputUsage": 0,
+ "totalUsage": 0,
"usagePricingTierId": null,
"usagePricingTierName": null,
"toolDefinitions": {},
@@ -132,56 +113,6 @@
"toolCallNames": [],
"metadata": "{}"
},
- {
- "id": "ca136de468e156c9",
- "traceId": "080130871f53145aecf7c29d5dfb6e4c",
- "startTime": "2025-06-11T14:01:32.600Z",
- "endTime": "2025-06-11T14:01:33.560Z",
- "projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "1cffdfa6fe3412e6",
- "type": "GENERATION",
- "environment": "default",
- "name": "OpenAIChat.invoke",
- "level": "DEFAULT",
- "statusMessage": null,
- "version": null,
- "createdAt": "2025-06-11T14:01:33.719Z",
- "updatedAt": "2025-06-11T14:01:33.752Z",
- "input": null,
- "output": null,
- "model": "gpt-4o-mini",
- "internalModelId": "clyrjp56f0000t0mzapoocd7u",
- "modelParameters": {},
- "completionStartTime": null,
- "promptId": null,
- "promptName": null,
- "promptVersion": null,
- "latency": 0.96,
- "timeToFirstToken": null,
- "usageDetails": {
- "input": 542,
- "output": 235,
- "total": 777
- },
- "costDetails": {
- "input": 0.0000813,
- "output": 0.000141,
- "total": 0.0002223
- },
- "providedCostDetails": {},
- "inputCost": 0.0000813,
- "outputCost": 0.000141,
- "totalCost": 0.0002223,
- "inputUsage": 542,
- "outputUsage": 235,
- "totalUsage": 777,
- "usagePricingTierId": null,
- "usagePricingTierName": null,
- "toolDefinitions": {},
- "toolCalls": [],
- "toolCallNames": [],
- "metadata": "{}"
- },
{
"id": "fc7f61b57ecebbaf",
"traceId": "080130871f53145aecf7c29d5dfb6e4c",
@@ -244,20 +175,20 @@
"metadata": "{}"
},
{
- "id": "1cffdfa6fe3412e6",
+ "id": "6581e147aec6793a",
"traceId": "080130871f53145aecf7c29d5dfb6e4c",
- "startTime": "2025-06-11T14:01:32.598Z",
- "endTime": "2025-06-11T14:01:39.589Z",
+ "startTime": "2025-06-11T14:01:33.564Z",
+ "endTime": "2025-06-11T14:01:34.281Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": null,
+ "parentObservationId": "1cffdfa6fe3412e6",
"type": "SPAN",
"environment": "default",
- "name": "Agent.run",
+ "name": "duckduckgo_search",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-06-11T14:01:39.781Z",
- "updatedAt": "2025-06-11T14:01:39.875Z",
+ "createdAt": "2025-06-11T14:01:34.476Z",
+ "updatedAt": "2025-06-11T14:01:34.529Z",
"input": null,
"output": null,
"model": null,
@@ -267,7 +198,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 6.991,
+ "latency": 0.717,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -286,40 +217,109 @@
"metadata": "{}"
},
{
- "id": "6581e147aec6793a",
+ "id": "1f883bb9668167c0",
"traceId": "080130871f53145aecf7c29d5dfb6e4c",
- "startTime": "2025-06-11T14:01:33.564Z",
- "endTime": "2025-06-11T14:01:34.281Z",
+ "startTime": "2025-06-11T14:01:32.606Z",
+ "endTime": "2025-06-11T14:01:33.559Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "1cffdfa6fe3412e6",
- "type": "SPAN",
+ "parentObservationId": "ca136de468e156c9",
+ "type": "GENERATION",
"environment": "default",
- "name": "duckduckgo_search",
+ "name": "chat gpt-4o-mini",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-06-11T14:01:34.476Z",
- "updatedAt": "2025-06-11T14:01:34.529Z",
+ "createdAt": "2025-06-11T14:01:33.719Z",
+ "updatedAt": "2025-06-11T14:01:33.768Z",
"input": null,
"output": null,
- "model": null,
- "internalModelId": null,
- "modelParameters": null,
+ "model": "gpt-4o-mini",
+ "internalModelId": "clyrjp56f0000t0mzapoocd7u",
+ "modelParameters": {
+ "seed": "",
+ "frequency_penalty": 0,
+ "max_tokens": -1,
+ "presence_penalty": 0,
+ "stop_sequences": "{\"arrayValue\":{}}",
+ "temperature": 1,
+ "top_p": 1,
+ "service_tier": "auto",
+ "user": "",
+ "is_stream": false
+ },
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0.717,
+ "latency": 0.953,
"timeToFirstToken": null,
- "usageDetails": {},
- "costDetails": {},
- "providedCostDetails": {},
+ "usageDetails": {
+ "input": 163,
+ "output": 20,
+ "total": 183
+ },
+ "costDetails": {
+ "total": 0.00003645
+ },
+ "providedCostDetails": {
+ "total": 0.00003645
+ },
"inputCost": null,
"outputCost": null,
- "totalCost": 0,
- "inputUsage": 0,
- "outputUsage": 0,
- "totalUsage": 0,
+ "totalCost": 0.00003645,
+ "inputUsage": 163,
+ "outputUsage": 20,
+ "totalUsage": 183,
+ "usagePricingTierId": null,
+ "usagePricingTierName": null,
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{}"
+ },
+ {
+ "id": "ca136de468e156c9",
+ "traceId": "080130871f53145aecf7c29d5dfb6e4c",
+ "startTime": "2025-06-11T14:01:32.600Z",
+ "endTime": "2025-06-11T14:01:33.560Z",
+ "projectId": "cloramnkj0002jz088vzn1ja4",
+ "parentObservationId": "1cffdfa6fe3412e6",
+ "type": "GENERATION",
+ "environment": "default",
+ "name": "OpenAIChat.invoke",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": null,
+ "createdAt": "2025-06-11T14:01:33.719Z",
+ "updatedAt": "2025-06-11T14:01:33.752Z",
+ "input": null,
+ "output": null,
+ "model": "gpt-4o-mini",
+ "internalModelId": "clyrjp56f0000t0mzapoocd7u",
+ "modelParameters": {},
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 0.96,
+ "timeToFirstToken": null,
+ "usageDetails": {
+ "input": 542,
+ "output": 235,
+ "total": 777
+ },
+ "costDetails": {
+ "input": 0.0000813,
+ "output": 0.000141,
+ "total": 0.0002223
+ },
+ "providedCostDetails": {},
+ "inputCost": 0.0000813,
+ "outputCost": 0.000141,
+ "totalCost": 0.0002223,
+ "inputUsage": 542,
+ "outputUsage": 235,
+ "totalUsage": 777,
"usagePricingTierId": null,
"usagePricingTierName": null,
"toolDefinitions": {},
@@ -331,66 +331,47 @@
},
"observations": [
{
- "id": "1f883bb9668167c0",
+ "id": "1cffdfa6fe3412e6",
"traceId": "080130871f53145aecf7c29d5dfb6e4c",
- "startTime": "2025-06-11T14:01:32.606Z",
- "endTime": "2025-06-11T14:01:33.559Z",
+ "startTime": "2025-06-11T14:01:32.598Z",
+ "endTime": "2025-06-11T14:01:39.589Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "ca136de468e156c9",
- "type": "GENERATION",
+ "parentObservationId": null,
+ "type": "SPAN",
"environment": "default",
- "name": "chat gpt-4o-mini",
+ "name": "Agent.run",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-06-11T14:01:33.719Z",
- "updatedAt": "2025-06-11T14:01:33.768Z",
- "input": "developer: <additional_information>\n- Use markdown to format your answers.\n</additional_information>\nuser: What is currently trending on Twitter?",
- "output": "None",
- "model": "gpt-4o-mini",
- "internalModelId": "clyrjp56f0000t0mzapoocd7u",
- "modelParameters": {
- "seed": "",
- "frequency_penalty": 0,
- "max_tokens": -1,
- "presence_penalty": 0,
- "stop_sequences": "{\"arrayValue\":{}}",
- "temperature": 1,
- "top_p": 1,
- "service_tier": "auto",
- "user": "",
- "is_stream": false
- },
+ "createdAt": "2025-06-11T14:01:39.781Z",
+ "updatedAt": "2025-06-11T14:01:39.875Z",
+ "input": "{\"run_response\": \"RunResponse(content=None, content_type='str', thinking=None, reasoning_content=None, event='RunResponse', messages=None, metrics=None, model='gpt-4o-mini', model_provider='OpenAI', run_id='625aa1b6-dc11-4804-8f4b-e2f5b604c07f', agent_id='007f4340-d3b3-4e4e-bf94-bdb22a16d8d5', session_id='35cc6c90-b657-4819-b66c-c931c03ad569', workflow_id=None, tools=None, formatted_tool_calls=None, images=None, videos=None, audio=None, response_audio=None, citations=None, extra_data=None, created_at=1749650492)\", \"run_messages\": \"RunMessages(messages=[Message(role='system', content='<additional_information>\\\\n- Use markdown to format your answers.\\\\n</additional_information>', name=None, tool_call_id=None, tool_calls=None, audio=None, images=None, videos=None, files=None, audio_output=None, image_output=None, thinking=None, redacted_thinking=None, provider_data=None, citations=None, reasoning_content=None, tool_name=None, tool_args=None, tool_call_error=None, stop_after_tool_call=False, add_to_agent_memory=True, from_history=False, metrics=MessageMetrics(input_tokens=0, output_tokens=0, total_tokens=0, audio_tokens=0, input_audio_tokens=0, output_audio_tokens=0, cached_tokens=0, reasoning_tokens=0, prompt_tokens=0, completion_tokens=0, prompt_tokens_details=None, completion_tokens_details=None, additional_metrics=None, time=None, time_to_first_token=None, timer=None), references=None, created_at=1749650492), Message(role='user', content='What is currently trending on Twitter?', name=None, tool_call_id=None, tool_calls=None, audio=None, images=None, videos=None, files=None, audio_output=None, image_output=None, thinking=None, redacted_thinking=None, provider_data=None, citations=None, reasoning_content=None, tool_name=None, tool_args=None, tool_call_error=None, stop_after_tool_call=False, add_to_agent_memory=True, from_history=False, metrics=MessageMetrics(input_tokens=0, output_tokens=0, total_tokens=0, audio_tokens=0, input_audio_tokens=0, output_audio_tokens=0, cached_tokens=0, reasoning_tokens=0, prompt_tokens=0, completion_tokens=0, prompt_tokens_details=None, completion_tokens_details=None, additional_metrics=None, time=None, time_to_first_token=None, timer=None), references=None, created_at=1749650492)], system_message=Message(role='system', content='<additional_information>\\\\n- Use markdown to format your answers.\\\\n</additional_information>', name=None, tool_call_id=None, tool_calls=None, audio=None, images=None, videos=None, files=None, audio_output=None, image_output=None, thinking=None, redacted_thinking=None, provider_data=None, citations=None, reasoning_content=None, tool_name=None, tool_args=None, tool_call_error=None, stop_after_tool_call=False, add_to_agent_memory=True, from_history=False, metrics=MessageMetrics(input_tokens=0, output_tokens=0, total_tokens=0, audio_tokens=0, input_audio_tokens=0, output_audio_tokens=0, cached_tokens=0, reasoning_tokens=0, prompt_tokens=0, completion_tokens=0, prompt_tokens_details=None, completion_tokens_details=None, additional_metrics=None, time=None, time_to_first_token=None, timer=None), references=None, created_at=1749650492), user_message=Message(role='user', content='What is currently trending on Twitter?', name=None, tool_call_id=None, tool_calls=None, audio=None, images=None, videos=None, files=None, audio_output=None, image_output=None, thinking=None, redacted_thinking=None, provider_data=None, citations=None, reasoning_content=None, tool_name=None, tool_args=None, tool_call_error=None, stop_after_tool_call=False, add_to_agent_memory=True, from_history=False, metrics=MessageMetrics(input_tokens=0, output_tokens=0, total_tokens=0, audio_tokens=0, input_audio_tokens=0, output_audio_tokens=0, cached_tokens=0, reasoning_tokens=0, prompt_tokens=0, completion_tokens=0, prompt_tokens_details=None, completion_tokens_details=None, additional_metrics=None, time=None, time_to_first_token=None, timer=None), references=None, created_at=1749650492), extra_messages=None)\", \"session_id\": \"35cc6c90-b657-4819-b66c-c931c03ad569\", \"message\": \"What is currently trending on Twitter?\"}",
+ "output": "{\n \"content\": \"To find out what's currently trending on Twitter, you can visit the following resources:\\n\\n1. **[Twitter Explore](https://twitter.com/explore/tabs/trending/)**: Explore trending topics, hashtags, and conversations directly on Twitter.\\n\\n2. **[Trends24](https://trends24.in/united-states/)**: This site lists today's top X (Twitter) trends and hashtags in the United States, including topics like National Guard, Los Angeles, and more.\\n\\n3. **[Get Day Trends](https://getdaytrends.com/top/tweeted/day/)**: This platform analyzes Twitter data to provide insights on current trending topics and hashtags.\\n\\n4. **[91 Trends](https://91trends.com/twitter/united-states/)**: Get real-time updates on what's trending on Twitter in the United States.\\n\\n5. **[Global Twitter Trends](https://globaltwittertrends.com/united-states/)**: Check out what's trending specifically in the United States and view tweets based on those trends.\\n\\nFeel free to explore these links for the most up-to-date trending topics!\",\n \"content_type\": \"str\",\n \"event\": \"RunResponse\",\n \"metrics\": {\n \"input_tokens\": [\n 163,\n 663\n ],\n \"output_tokens\": [\n 20,\n 225\n ],\n \"total_tokens\": [\n 183,\n 888\n ],\n \"audio_tokens\": [\n 0,\n 0\n ],\n \"input_audio_tokens\": [\n 0,\n 0\n ],\n \"output_audio_tokens\": [\n 0,\n 0\n ],\n \"cached_tokens\": [\n 0,\n 0\n ],\n \"reasoning_tokens\": [\n 0,\n 0\n ],\n \"prompt_tokens\": [\n 163,\n 663\n ],\n \"completion_tokens\": [\n 20,\n 225\n ],\n \"prompt_tokens_details\": [\n {\n \"audio_tokens\": 0,\n \"cached_tokens\": 0\n },\n {\n \"audio_tokens\": 0,\n \"cached_tokens\": 0\n }\n ],\n \"completion_tokens_details\": [\n {\n \"accepted_prediction_tokens\": 0,\n \"audio_tokens\": 0,\n \"reasoning_tokens\": 0,\n \"rejected_prediction_tokens\": 0\n },\n {\n \"accepted_prediction_tokens\": 0,\n \"audio_tokens\": 0,\n \"reasoning_tokens\": 0,\n \"rejected_prediction_tokens\": 0\n }\n ],\n \"time\": [\n 0.9596867079999356,\n 4.799381209000785\n ]\n },\n \"model\": \"gpt-4o-mini\",\n \"model_provider\": \"OpenAI\",\n \"run_id\": \"625aa1b6-dc11-4804-8f4b-e2f5b604c07f\",\n \"agent_id\": \"007f4340-d3b3-4e4e-bf94-bdb22a16d8d5\",\n \"session_id\": \"35cc6c90-b657-4819-b66c-c931c03ad569\",\n \"formatted_tool_calls\": [\n \"duckduckgo_search(query=currently trending on Twitter)\"\n ],\n \"created_at\": 1749650243,\n \"messages\": [\n {\n \"content\": \"<additional_information>\\n- Use markdown to format your answers.\\n</additional_information>\",\n \"from_history\": false,\n \"stop_after_tool_call\": false,\n \"role\": \"system\",\n \"created_at\": 1749650492\n },\n {\n \"content\": \"What is currently trending on Twitter?\",\n \"from_history\": false,\n \"stop_after_tool_call\": false,\n \"role\": \"user\",\n \"created_at\": 1749650492\n },\n {\n \"from_history\": false,\n \"stop_after_tool_call\": false,\n \"role\": \"assistant\",\n \"tool_calls\": [\n {\n \"id\": \"call_VybxG748CQId8Xxo6wb2pWy1\",\n \"function\": {\n \"arguments\": \"{\\\"query\\\":\\\"currently trending on Twitter\\\"}\",\n \"name\": \"duckduckgo_search\"\n },\n \"type\": \"function\"\n }\n ],\n \"metrics\": {\n \"input_tokens\": 163,\n \"output_tokens\": 20,\n \"total_tokens\": 183,\n \"prompt_tokens\": 163,\n \"completion_tokens\": 20,\n \"prompt_tokens_details\": {\n \"audio_tokens\": 0,\n \"cached_tokens\": 0\n },\n \"completion_tokens_details\": {\n \"accepted_prediction_tokens\": 0,\n \"audio_tokens\": 0,\n \"reasoning_tokens\": 0,\n \"rejected_prediction_tokens\": 0\n },\n \"time\": 0.9596867079999356\n },\n \"created_at\": 1749650492\n },\n {\n \"content\": \"[\\n {\\n \\\"title\\\": \\\"Twitter. It's what's happening / Twitter\\\",\\n \\\"href\\\": \\\"https://twitter.com/explore/tabs/trending/\\\",\\n \\\"body\\\": \\\"Explore trending topics, hashtags, and conversations on Twitter.\\\"\\n },\\n {\\n \\\"title\\\": \\\"United States \\\\u2014 X (Twitter) trending topics and hashtags today ...\\\",\\n \\\"href\\\": \\\"https://trends24.in/united-states/\\\",\\n \\\"body\\\": \\\"Today's top X (Twitter) trends and hashtags in United States: National Guard, Los Angeles, California, Peaceful, Marines. Explore more locations and trending topics on trends24.in\\\"\\n },\\n {\\n \\\"title\\\": \\\"Worldwide \\\\u2022 Top Hashtags \\\\u2022 Most Tweeted \\\\u2022 Day - getdaytrends\\\",\\n \\\"href\\\": \\\"https://getdaytrends.com/top/tweeted/day/\\\",\\n \\\"body\\\": \\\"About Us. We store and analyze Twitter data to bring you insights on what's currently trending and help you keep up with the audience. Find out hot trends, review trend history and browse long-term popular hashtags and topics.\\\"\\n },\\n {\\n \\\"title\\\": \\\"United States Latest Trending X (Twitter) hashtag and topics\\\",\\n \\\"href\\\": \\\"https://91trends.com/twitter/united-states/\\\",\\n \\\"body\\\": \\\"United States X (Twitter) Trends Now | Top X (Twitter) Trending Topics & Hashtags Today. Get real-time updates on the hottest trending hashtags and topics on X (Twitter) United States with our automated page. Our page utilizes the official X (Twitter) API to refresh the most talked-about hashtags and topics every 30 minutes, ensuring you always have access to the most current trends on the ...\\\"\\n },\\n {\\n \\\"title\\\": \\\"Trending on Twitter United States today - Global Twitter Trends\\\",\\n \\\"href\\\": \\\"https://globaltwittertrends.com/united-states/\\\",\\n \\\"body\\\": \\\"Above is the table to show what's trending in United States twitter right now . You can click on any one of the trends to tweet it or view all tweets based on that trend. You can also view the twitter trends of all towns in United States by just searching on the search bar above or by choosing from the provided list of countries and towns.\\\"\\n }\\n]\",\n \"from_history\": false,\n \"stop_after_tool_call\": false,\n \"role\": \"tool\",\n \"tool_call_id\": \"call_VybxG748CQId8Xxo6wb2pWy1\",\n \"tool_name\": \"duckduckgo_search\",\n \"tool_args\": {\n \"query\": \"currently trending on Twitter\"\n },\n \"tool_call_error\": false,\n \"metrics\": {\n \"time\": 0.7176052920003713\n },\n \"created_at\": 1749650494\n },\n {\n \"content\": \"To find out what's currently trending on Twitter, you can visit the following resources:\\n\\n1. **[Twitter Explore](https://twitter.com/explore/tabs/trending/)**: Explore trending topics, hashtags, and conversations directly on Twitter.\\n\\n2. **[Trends24](https://trends24.in/united-states/)**: This site lists today's top X (Twitter) trends and hashtags in the United States, including topics like National Guard, Los Angeles, and more.\\n\\n3. **[Get Day Trends](https://getdaytrends.com/top/tweeted/day/)**: This platform analyzes Twitter data to provide insights on current trending topics and hashtags.\\n\\n4. **[91 Trends](https://91trends.com/twitter/united-states/)**: Get real-time updates on what's trending on Twitter in the United States.\\n\\n5. **[Global Twitter Trends](https://globaltwittertrends.com/united-states/)**: Check out what's trending specifically in the United States and view tweets based on those trends.\\n\\nFeel free to explore these links for the most up-to-date trending topics!\",\n \"from_history\": false,\n \"stop_after_tool_call\": false,\n \"role\": \"assistant\",\n \"metrics\": {\n \"input_tokens\": 663,\n \"output_tokens\": 225,\n \"total_tokens\": 888,\n \"prompt_tokens\": 663,\n \"completion_tokens\": 225,\n \"prompt_tokens_details\": {\n \"audio_tokens\": 0,\n \"cached_tokens\": 0\n },\n \"completion_tokens_details\": {\n \"accepted_prediction_tokens\": 0,\n \"audio_tokens\": 0,\n \"reasoning_tokens\": 0,\n \"rejected_prediction_tokens\": 0\n },\n \"time\": 4.799381209000785\n },\n \"created_at\": 1749650494\n }\n ],\n \"tools\": [\n {\n \"tool_call_id\": \"call_VybxG748CQId8Xxo6wb2pWy1\",\n \"tool_name\": \"duckduckgo_search\",\n \"tool_args\": {\n \"query\": \"currently trending on Twitter\"\n },\n \"tool_call_error\": false,\n \"result\": \"[\\n {\\n \\\"title\\\": \\\"Twitter. It's what's happening / Twitter\\\",\\n \\\"href\\\": \\\"https://twitter.com/explore/tabs/trending/\\\",\\n \\\"body\\\": \\\"Explore trending topics, hashtags, and conversations on Twitter.\\\"\\n },\\n {\\n \\\"title\\\": \\\"United States \\\\u2014 X (Twitter) trending topics and hashtags today ...\\\",\\n \\\"href\\\": \\\"https://trends24.in/united-states/\\\",\\n \\\"body\\\": \\\"Today's top X (Twitter) trends and hashtags in United States: National Guard, Los Angeles, California, Peaceful, Marines. Explore more locations and trending topics on trends24.in\\\"\\n },\\n {\\n \\\"title\\\": \\\"Worldwide \\\\u2022 Top Hashtags \\\\u2022 Most Tweeted \\\\u2022 Day - getdaytrends\\\",\\n \\\"href\\\": \\\"https://getdaytrends.com/top/tweeted/day/\\\",\\n \\\"body\\\": \\\"About Us. We store and analyze Twitter data to bring you insights on what's currently trending and help you keep up with the audience. Find out hot trends, review trend history and browse long-term popular hashtags and topics.\\\"\\n },\\n {\\n \\\"title\\\": \\\"United States Latest Trending X (Twitter) hashtag and topics\\\",\\n \\\"href\\\": \\\"https://91trends.com/twitter/united-states/\\\",\\n \\\"body\\\": \\\"United States X (Twitter) Trends Now | Top X (Twitter) Trending Topics & Hashtags Today. Get real-time updates on the hottest trending hashtags and topics on X (Twitter) United States with our automated page. Our page utilizes the official X (Twitter) API to refresh the most talked-about hashtags and topics every 30 minutes, ensuring you always have access to the most current trends on the ...\\\"\\n },\\n {\\n \\\"title\\\": \\\"Trending on Twitter United States today - Global Twitter Trends\\\",\\n \\\"href\\\": \\\"https://globaltwittertrends.com/united-states/\\\",\\n \\\"body\\\": \\\"Above is the table to show what's trending in United States twitter right now . You can click on any one of the trends to tweet it or view all tweets based on that trend. You can also view the twitter trends of all towns in United States by just searching on the search bar above or by choosing from the provided list of countries and towns.\\\"\\n }\\n]\",\n \"metrics\": {\n \"time\": 0.7176052920003713\n },\n \"stop_after_tool_call\": false,\n \"created_at\": 1749650243,\n \"requires_confirmation\": null,\n \"confirmed\": null,\n \"confirmation_note\": null,\n \"requires_user_input\": null,\n \"user_input_schema\": null,\n \"external_execution_required\": null\n }\n ]\n}",
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": null,
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0.953,
+ "latency": 6.991,
"timeToFirstToken": null,
- "usageDetails": {
- "input": 163,
- "output": 20,
- "total": 183
- },
- "costDetails": {
- "total": 0.00003645
- },
- "providedCostDetails": {
- "total": 0.00003645
- },
+ "usageDetails": {},
+ "costDetails": {},
+ "providedCostDetails": {},
"inputCost": null,
"outputCost": null,
- "totalCost": 0.00003645,
- "inputUsage": 163,
- "outputUsage": 20,
- "totalUsage": 183,
+ "totalCost": 0,
+ "inputUsage": 0,
+ "outputUsage": 0,
+ "totalUsage": 0,
"usagePricingTierId": null,
"usagePricingTierName": null,
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.33.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"3.0.1\",\"attributes\":{\"public_key\":\"pk-lf-5855d85e-3943-497e-bd10-f50ad414bcba\"}}}",
- "internalModel": "clyrjp56f0000t0mzapoocd7u"
+ "metadata": "{\"attributes\":{\"input.value\":\"{\\\"run_response\\\": \\\"RunResponse(content=None, content_type='str', thinking=None, reasoning_content=None, event='RunResponse', messages=None, metrics=None, model='gpt-4o-mini', model_provider='OpenAI', run_id='625aa1b6-dc11-4804-8f4b-e2f5b604c07f', agent_id='007f4340-d3b3-4e4e-bf94-bdb22a16d8d5', session_id='35cc6c90-b657-4819-b66c-c931c03ad569', workflow_id=None, tools=None, formatted_tool_calls=None, images=None, videos=None, audio=None, response_audio=None, citations=None, extra_data=None, created_at=1749650492)\\\", \\\"run_messages\\\": \\\"RunMessages(messages=[Message(role='system', content='<additional_information>\\\\\\\\n- Use markdown to format your answers.\\\\\\\\n</additional_information>', name=None, tool_call_id=None, tool_calls=None, audio=None, images=None, videos=None, files=None, audio_output=None, image_output=None, thinking=None, redacted_thinking=None, provider_data=None, citations=None, reasoning_content=None, tool_name=None, tool_args=None, tool_call_error=None, stop_after_tool_call=False, add_to_agent_memory=True, from_history=False, metrics=MessageMetrics(input_tokens=0, output_tokens=0, total_tokens=0, audio_tokens=0, input_audio_tokens=0, output_audio_tokens=0, cached_tokens=0, reasoning_tokens=0, prompt_tokens=0, completion_tokens=0, prompt_tokens_details=None, completion_tokens_details=None, additional_metrics=None, time=None, time_to_first_token=None, timer=None), references=None, created_at=1749650492), Message(role='user', content='What is currently trending on Twitter?', name=None, tool_call_id=None, tool_calls=None, audio=None, images=None, videos=None, files=None, audio_output=None, image_output=None, thinking=None, redacted_thinking=None, provider_data=None, citations=None, reasoning_content=None, tool_name=None, tool_args=None, tool_call_error=None, stop_after_tool_call=False, add_to_agent_memory=True, from_history=False, metrics=MessageMetrics(input_tokens=0, output_tokens=0, total_tokens=0, audio_tokens=0, input_audio_tokens=0, output_audio_tokens=0, cached_tokens=0, reasoning_tokens=0, prompt_tokens=0, completion_tokens=0, prompt_tokens_details=None, completion_tokens_details=None, additional_metrics=None, time=None, time_to_first_token=None, timer=None), references=None, created_at=1749650492)], system_message=Message(role='system', content='<additional_information>\\\\\\\\n- Use markdown to format your answers.\\\\\\\\n</additional_information>', name=None, tool_call_id=None, tool_calls=None, audio=None, images=None, videos=None, files=None, audio_output=None, image_output=None, thinking=None, redacted_thinking=None, provider_data=None, citations=None, reasoning_content=None, tool_name=None, tool_args=None, tool_call_error=None, stop_after_tool_call=False, add_to_agent_memory=True, from_history=False, metrics=MessageMetrics(input_tokens=0, output_tokens=0, total_tokens=0, audio_tokens=0, input_audio_tokens=0, output_audio_tokens=0, cached_tokens=0, reasoning_tokens=0, prompt_tokens=0, completion_tokens=0, prompt_tokens_details=None, completion_tokens_details=None, additional_metrics=None, time=None, time_to_first_token=None, timer=None), references=None, created_at=1749650492), user_message=Message(role='user', content='What is currently trending on Twitter?', name=None, tool_call_id=None, tool_calls=None, audio=None, images=None, videos=None, files=None, audio_output=None, image_output=None, thinking=None, redacted_thinking=None, provider_data=None, citations=None, reasoning_content=None, tool_name=None, tool_args=None, tool_call_error=None, stop_after_tool_call=False, add_to_agent_memory=True, from_history=False, metrics=MessageMetrics(input_tokens=0, output_tokens=0, total_tokens=0, audio_tokens=0, input_audio_tokens=0, output_audio_tokens=0, cached_tokens=0, reasoning_tokens=0, prompt_tokens=0, completion_tokens=0, prompt_tokens_details=None, completion_tokens_details=None, additional_metrics=None, time=None, time_to_first_token=None, timer=None), references=None, created_at=1749650492), extra_messages=None)\\\", \\\"session_id\\\": \\\"35cc6c90-b657-4819-b66c-c931c03ad569\\\", \\\"message\\\": \\\"What is currently trending on Twitter?\\\"}\",\"session.id\":\"35cc6c90-b657-4819-b66c-c931c03ad569\",\"agno{key_suffix}.tools\":\"[\\\"duckduckgo_search\\\",\\\"duckduckgo_news\\\"]\",\"output.value\":\"{\\n \\\"content\\\": \\\"To find out what's currently trending on Twitter, you can visit the following resources:\\\\n\\\\n1. **[Twitter Explore](https://twitter.com/explore/tabs/trending/)**: Explore trending topics, hashtags, and conversations directly on Twitter.\\\\n\\\\n2. **[Trends24](https://trends24.in/united-states/)**: This site lists today's top X (Twitter) trends and hashtags in the United States, including topics like National Guard, Los Angeles, and more.\\\\n\\\\n3. **[Get Day Trends](https://getdaytrends.com/top/tweeted/day/)**: This platform analyzes Twitter data to provide insights on current trending topics and hashtags.\\\\n\\\\n4. **[91 Trends](https://91trends.com/twitter/united-states/)**: Get real-time updates on what's trending on Twitter in the United States.\\\\n\\\\n5. **[Global Twitter Trends](https://globaltwittertrends.com/united-states/)**: Check out what's trending specifically in the United States and view tweets based on those trends.\\\\n\\\\nFeel free to explore these links for the most up-to-date trending topics!\\\",\\n \\\"content_type\\\": \\\"str\\\",\\n \\\"event\\\": \\\"RunResponse\\\",\\n \\\"metrics\\\": {\\n \\\"input_tokens\\\": [\\n 163,\\n 663\\n ],\\n \\\"output_tokens\\\": [\\n 20,\\n 225\\n ],\\n \\\"total_tokens\\\": [\\n 183,\\n 888\\n ],\\n \\\"audio_tokens\\\": [\\n 0,\\n 0\\n ],\\n \\\"input_audio_tokens\\\": [\\n 0,\\n 0\\n ],\\n \\\"output_audio_tokens\\\": [\\n 0,\\n 0\\n ],\\n \\\"cached_tokens\\\": [\\n 0,\\n 0\\n ],\\n \\\"reasoning_tokens\\\": [\\n 0,\\n 0\\n ],\\n \\\"prompt_tokens\\\": [\\n 163,\\n 663\\n ],\\n \\\"completion_tokens\\\": [\\n 20,\\n 225\\n ],\\n \\\"prompt_tokens_details\\\": [\\n {\\n \\\"audio_tokens\\\": 0,\\n \\\"cached_tokens\\\": 0\\n },\\n {\\n \\\"audio_tokens\\\": 0,\\n \\\"cached_tokens\\\": 0\\n }\\n ],\\n \\\"completion_tokens_details\\\": [\\n {\\n \\\"accepted_prediction_tokens\\\": 0,\\n \\\"audio_tokens\\\": 0,\\n \\\"reasoning_tokens\\\": 0,\\n \\\"rejected_prediction_tokens\\\": 0\\n },\\n {\\n \\\"accepted_prediction_tokens\\\": 0,\\n \\\"audio_tokens\\\": 0,\\n \\\"reasoning_tokens\\\": 0,\\n \\\"rejected_prediction_tokens\\\": 0\\n }\\n ],\\n \\\"time\\\": [\\n 0.9596867079999356,\\n 4.799381209000785\\n ]\\n },\\n \\\"model\\\": \\\"gpt-4o-mini\\\",\\n \\\"model_provider\\\": \\\"OpenAI\\\",\\n \\\"run_id\\\": \\\"625aa1b6-dc11-4804-8f4b-e2f5b604c07f\\\",\\n \\\"agent_id\\\": \\\"007f4340-d3b3-4e4e-bf94-bdb22a16d8d5\\\",\\n \\\"session_id\\\": \\\"35cc6c90-b657-4819-b66c-c931c03ad569\\\",\\n \\\"formatted_tool_calls\\\": [\\n \\\"duckduckgo_search(query=currently trending on Twitter)\\\"\\n ],\\n \\\"created_at\\\": 1749650243,\\n \\\"messages\\\": [\\n {\\n \\\"content\\\": \\\"<additional_information>\\\\n- Use markdown to format your answers.\\\\n</additional_information>\\\",\\n \\\"from_history\\\": false,\\n \\\"stop_after_tool_call\\\": false,\\n \\\"role\\\": \\\"system\\\",\\n \\\"created_at\\\": 1749650492\\n },\\n {\\n \\\"content\\\": \\\"What is currently trending on Twitter?\\\",\\n \\\"from_history\\\": false,\\n \\\"stop_after_tool_call\\\": false,\\n \\\"role\\\": \\\"user\\\",\\n \\\"created_at\\\": 1749650492\\n },\\n {\\n \\\"from_history\\\": false,\\n \\\"stop_after_tool_call\\\": false,\\n \\\"role\\\": \\\"assistant\\\",\\n \\\"tool_calls\\\": [\\n {\\n \\\"id\\\": \\\"call_VybxG748CQId8Xxo6wb2pWy1\\\",\\n \\\"function\\\": {\\n \\\"arguments\\\": \\\"{\\\\\\\"query\\\\\\\":\\\\\\\"currently trending on Twitter\\\\\\\"}\\\",\\n \\\"name\\\": \\\"duckduckgo_search\\\"\\n },\\n \\\"type\\\": \\\"function\\\"\\n }\\n ],\\n \\\"metrics\\\": {\\n \\\"input_tokens\\\": 163,\\n \\\"output_tokens\\\": 20,\\n \\\"total_tokens\\\": 183,\\n \\\"prompt_tokens\\\": 163,\\n \\\"completion_tokens\\\": 20,\\n \\\"prompt_tokens_details\\\": {\\n \\\"audio_tokens\\\": 0,\\n \\\"cached_tokens\\\": 0\\n },\\n \\\"completion_tokens_details\\\": {\\n \\\"accepted_prediction_tokens\\\": 0,\\n \\\"audio_tokens\\\": 0,\\n \\\"reasoning_tokens\\\": 0,\\n \\\"rejected_prediction_tokens\\\": 0\\n },\\n \\\"time\\\": 0.9596867079999356\\n },\\n \\\"created_at\\\": 1749650492\\n },\\n {\\n \\\"content\\\": \\\"[\\\\n {\\\\n \\\\\\\"title\\\\\\\": \\\\\\\"Twitter. It's what's happening / Twitter\\\\\\\",\\\\n \\\\\\\"href\\\\\\\": \\\\\\\"https://twitter.com/explore/tabs/trending/\\\\\\\",\\\\n \\\\\\\"body\\\\\\\": \\\\\\\"Explore trending topics, hashtags, and conversations on Twitter.\\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\\"title\\\\\\\": \\\\\\\"United States \\\\\\\\u2014 X (Twitter) trending topics and hashtags today ...\\\\\\\",\\\\n \\\\\\\"href\\\\\\\": \\\\\\\"https://trends24.in/united-states/\\\\\\\",\\\\n \\\\\\\"body\\\\\\\": \\\\\\\"Today's top X (Twitter) trends and hashtags in United States: National Guard, Los Angeles, California, Peaceful, Marines. Explore more locations and trending topics on trends24.in\\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\\"title\\\\\\\": \\\\\\\"Worldwide \\\\\\\\u2022 Top Hashtags \\\\\\\\u2022 Most Tweeted \\\\\\\\u2022 Day - getdaytrends\\\\\\\",\\\\n \\\\\\\"href\\\\\\\": \\\\\\\"https://getdaytrends.com/top/tweeted/day/\\\\\\\",\\\\n \\\\\\\"body\\\\\\\": \\\\\\\"About Us. We store and analyze Twitter data to bring you insights on what's currently trending and help you keep up with the audience. Find out hot trends, review trend history and browse long-term popular hashtags and topics.\\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\\"title\\\\\\\": \\\\\\\"United States Latest Trending X (Twitter) hashtag and topics\\\\\\\",\\\\n \\\\\\\"href\\\\\\\": \\\\\\\"https://91trends.com/twitter/united-states/\\\\\\\",\\\\n \\\\\\\"body\\\\\\\": \\\\\\\"United States X (Twitter) Trends Now | Top X (Twitter) Trending Topics & Hashtags Today. Get real-time updates on the hottest trending hashtags and topics on X (Twitter) United States with our automated page. Our page utilizes the official X (Twitter) API to refresh the most talked-about hashtags and topics every 30 minutes, ensuring you always have access to the most current trends on the ...\\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\\"title\\\\\\\": \\\\\\\"Trending on Twitter United States today - Global Twitter Trends\\\\\\\",\\\\n \\\\\\\"href\\\\\\\": \\\\\\\"https://globaltwittertrends.com/united-states/\\\\\\\",\\\\n \\\\\\\"body\\\\\\\": \\\\\\\"Above is the table to show what's trending in United States twitter right now . You can click on any one of the trends to tweet it or view all tweets based on that trend. You can also view the twitter trends of all towns in United States by just searching on the search bar above or by choosing from the provided list of countries and towns.\\\\\\\"\\\\n }\\\\n]\\\",\\n \\\"from_history\\\": false,\\n \\\"stop_after_tool_call\\\": false,\\n \\\"role\\\": \\\"tool\\\",\\n \\\"tool_call_id\\\": \\\"call_VybxG748CQId8Xxo6wb2pWy1\\\",\\n \\\"tool_name\\\": \\\"duckduckgo_search\\\",\\n \\\"tool_args\\\": {\\n \\\"query\\\": \\\"currently trending on Twitter\\\"\\n },\\n \\\"tool_call_error\\\": false,\\n \\\"metrics\\\": {\\n \\\"time\\\": 0.7176052920003713\\n },\\n \\\"created_at\\\": 1749650494\\n },\\n {\\n \\\"content\\\": \\\"To find out what's currently trending on Twitter, you can visit the following resources:\\\\n\\\\n1. **[Twitter Explore](https://twitter.com/explore/tabs/trending/)**: Explore trending topics, hashtags, and conversations directly on Twitter.\\\\n\\\\n2. **[Trends24](https://trends24.in/united-states/)**: This site lists today's top X (Twitter) trends and hashtags in the United States, including topics like National Guard, Los Angeles, and more.\\\\n\\\\n3. **[Get Day Trends](https://getdaytrends.com/top/tweeted/day/)**: This platform analyzes Twitter data to provide insights on current trending topics and hashtags.\\\\n\\\\n4. **[91 Trends](https://91trends.com/twitter/united-states/)**: Get real-time updates on what's trending on Twitter in the United States.\\\\n\\\\n5. **[Global Twitter Trends](https://globaltwittertrends.com/united-states/)**: Check out what's trending specifically in the United States and view tweets based on those trends.\\\\n\\\\nFeel free to explore these links for the most up-to-date trending topics!\\\",\\n \\\"from_history\\\": false,\\n \\\"stop_after_tool_call\\\": false,\\n \\\"role\\\": \\\"assistant\\\",\\n \\\"metrics\\\": {\\n \\\"input_tokens\\\": 663,\\n \\\"output_tokens\\\": 225,\\n \\\"total_tokens\\\": 888,\\n \\\"prompt_tokens\\\": 663,\\n \\\"completion_tokens\\\": 225,\\n \\\"prompt_tokens_details\\\": {\\n \\\"audio_tokens\\\": 0,\\n \\\"cached_tokens\\\": 0\\n },\\n \\\"completion_tokens_details\\\": {\\n \\\"accepted_prediction_tokens\\\": 0,\\n \\\"audio_tokens\\\": 0,\\n \\\"reasoning_tokens\\\": 0,\\n \\\"rejected_prediction_tokens\\\": 0\\n },\\n \\\"time\\\": 4.799381209000785\\n },\\n \\\"created_at\\\": 1749650494\\n }\\n ],\\n \\\"tools\\\": [\\n {\\n \\\"tool_call_id\\\": \\\"call_VybxG748CQId8Xxo6wb2pWy1\\\",\\n \\\"tool_name\\\": \\\"duckduckgo_search\\\",\\n \\\"tool_args\\\": {\\n \\\"query\\\": \\\"currently trending on Twitter\\\"\\n },\\n \\\"tool_call_error\\\": false,\\n \\\"result\\\": \\\"[\\\\n {\\\\n \\\\\\\"title\\\\\\\": \\\\\\\"Twitter. It's what's happening / Twitter\\\\\\\",\\\\n \\\\\\\"href\\\\\\\": \\\\\\\"https://twitter.com/explore/tabs/trending/\\\\\\\",\\\\n \\\\\\\"body\\\\\\\": \\\\\\\"Explore trending topics, hashtags, and conversations on Twitter.\\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\\"title\\\\\\\": \\\\\\\"United States \\\\\\\\u2014 X (Twitter) trending topics and hashtags today ...\\\\\\\",\\\\n \\\\\\\"href\\\\\\\": \\\\\\\"https://trends24.in/united-states/\\\\\\\",\\\\n \\\\\\\"body\\\\\\\": \\\\\\\"Today's top X (Twitter) trends and hashtags in United States: National Guard, Los Angeles, California, Peaceful, Marines. Explore more locations and trending topics on trends24.in\\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\\"title\\\\\\\": \\\\\\\"Worldwide \\\\\\\\u2022 Top Hashtags \\\\\\\\u2022 Most Tweeted \\\\\\\\u2022 Day - getdaytrends\\\\\\\",\\\\n \\\\\\\"href\\\\\\\": \\\\\\\"https://getdaytrends.com/top/tweeted/day/\\\\\\\",\\\\n \\\\\\\"body\\\\\\\": \\\\\\\"About Us. We store and analyze Twitter data to bring you insights on what's currently trending and help you keep up with the audience. Find out hot trends, review trend history and browse long-term popular hashtags and topics.\\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\\"title\\\\\\\": \\\\\\\"United States Latest Trending X (Twitter) hashtag and topics\\\\\\\",\\\\n \\\\\\\"href\\\\\\\": \\\\\\\"https://91trends.com/twitter/united-states/\\\\\\\",\\\\n \\\\\\\"body\\\\\\\": \\\\\\\"United States X (Twitter) Trends Now | Top X (Twitter) Trending Topics & Hashtags Today. Get real-time updates on the hottest trending hashtags and topics on X (Twitter) United States with our automated page. Our page utilizes the official X (Twitter) API to refresh the most talked-about hashtags and topics every 30 minutes, ensuring you always have access to the most current trends on the ...\\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\\"title\\\\\\\": \\\\\\\"Trending on Twitter United States today - Global Twitter Trends\\\\\\\",\\\\n \\\\\\\"href\\\\\\\": \\\\\\\"https://globaltwittertrends.com/united-states/\\\\\\\",\\\\n \\\\\\\"body\\\\\\\": \\\\\\\"Above is the table to show what's trending in United States twitter right now . You can click on any one of the trends to tweet it or view all tweets based on that trend. You can also view the twitter trends of all towns in United States by just searching on the search bar above or by choosing from the provided list of countries and towns.\\\\\\\"\\\\n }\\\\n]\\\",\\n \\\"metrics\\\": {\\n \\\"time\\\": 0.7176052920003713\\n },\\n \\\"stop_after_tool_call\\\": false,\\n \\\"created_at\\\": 1749650243,\\n \\\"requires_confirmation\\\": null,\\n \\\"confirmed\\\": null,\\n \\\"confirmation_note\\\": null,\\n \\\"requires_user_input\\\": null,\\n \\\"user_input_schema\\\": null,\\n \\\"external_execution_required\\\": null\\n }\\n ]\\n}\",\"output.mime_type\":\"application/json\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.33.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.agno\",\"version\":\"0.1.4\",\"attributes\":{}}}",
+ "internalModel": null
},
{
"id": "b38a82eaa62b551e",
@@ -443,57 +424,6 @@
"metadata": "{\"attributes\":{\"input.mime_type\":\"application/json\",\"input.value\":\"{\\\"messages\\\": [\\\"role='system' content='<additional_information>\\\\\\\\n- Use markdown to format your answers.\\\\\\\\n</additional_information>' name=None tool_call_id=None tool_calls=None audio=None images=None videos=None files=None audio_output=None image_output=None thinking=None redacted_thinking=None provider_data=None citations=None reasoning_content=None tool_name=None tool_args=None tool_call_error=None stop_after_tool_call=False add_to_agent_memory=True from_history=False metrics=MessageMetrics(input_tokens=0, output_tokens=0, total_tokens=0, audio_tokens=0, input_audio_tokens=0, output_audio_tokens=0, cached_tokens=0, reasoning_tokens=0, prompt_tokens=0, completion_tokens=0, prompt_tokens_details=None, completion_tokens_details=None, additional_metrics=None, time=None, time_to_first_token=None, timer=None) references=None created_at=1749650492\\\", \\\"role='user' content='What is currently trending on Twitter?' name=None tool_call_id=None tool_calls=None audio=None images=None videos=None files=None audio_output=None image_output=None thinking=None redacted_thinking=None provider_data=None citations=None reasoning_content=None tool_name=None tool_args=None tool_call_error=None stop_after_tool_call=False add_to_agent_memory=True from_history=False metrics=MessageMetrics(input_tokens=0, output_tokens=0, total_tokens=0, audio_tokens=0, input_audio_tokens=0, output_audio_tokens=0, cached_tokens=0, reasoning_tokens=0, prompt_tokens=0, completion_tokens=0, prompt_tokens_details=None, completion_tokens_details=None, additional_metrics=None, time=None, time_to_first_token=None, timer=None) references=None created_at=1749650492\\\", \\\"role='assistant' content=None name=None tool_call_id=None tool_calls=[{'id': 'call_VybxG748CQId8Xxo6wb2pWy1', 'function': {'arguments': '{\\\\\\\"query\\\\\\\":\\\\\\\"currently trending on Twitter\\\\\\\"}', 'name': 'duckduckgo_search'}, 'type': 'function'}] audio=None images=None videos=None files=None audio_output=None image_output=None thinking=None redacted_thinking=None provider_data=None citations=None reasoning_content=None tool_name=None tool_args=None tool_call_error=None stop_after_tool_call=False add_to_agent_memory=True from_history=False metrics=MessageMetrics(input_tokens=163, output_tokens=20, total_tokens=183, audio_tokens=0, input_audio_tokens=0, output_audio_tokens=0, cached_tokens=0, reasoning_tokens=0, prompt_tokens=163, completion_tokens=20, prompt_tokens_details={'audio_tokens': 0, 'cached_tokens': 0}, completion_tokens_details={'accepted_prediction_tokens': 0, 'audio_tokens': 0, 'reasoning_tokens': 0, 'rejected_prediction_tokens': 0}, additional_metrics=None, time=0.9596867079999356, time_to_first_token=None, timer=<agno.utils.timer.Timer object at 0x309c55a90>) references=None created_at=1749650492\\\", \\\"role='tool' content='[\\\\\\\\n {\\\\\\\\n \\\\\\\"title\\\\\\\": \\\\\\\"Twitter. It\\\\\\\\'s what\\\\\\\\'s happening / Twitter\\\\\\\",\\\\\\\\n \\\\\\\"href\\\\\\\": \\\\\\\"https://twitter.com/explore/tabs/trending/\\\\\\\",\\\\\\\\n \\\\\\\"body\\\\\\\": \\\\\\\"Explore trending topics, hashtags, and conversations on Twitter.\\\\\\\"\\\\\\\\n },\\\\\\\\n {\\\\\\\\n \\\\\\\"title\\\\\\\": \\\\\\\"United States \\\\\\\\\\\\\\\\u2014 X (Twitter) trending topics and hashtags today ...\\\\\\\",\\\\\\\\n \\\\\\\"href\\\\\\\": \\\\\\\"https://trends24.in/united-states/\\\\\\\",\\\\\\\\n \\\\\\\"body\\\\\\\": \\\\\\\"Today\\\\\\\\'s top X (Twitter) trends and hashtags in United States: National Guard, Los Angeles, California, Peaceful, Marines. Explore more locations and trending topics on trends24.in\\\\\\\"\\\\\\\\n },\\\\\\\\n {\\\\\\\\n \\\\\\\"title\\\\\\\": \\\\\\\"Worldwide \\\\\\\\\\\\\\\\u2022 Top Hashtags \\\\\\\\\\\\\\\\u2022 Most Tweeted \\\\\\\\\\\\\\\\u2022 Day - getdaytrends\\\\\\\",\\\\\\\\n \\\\\\\"href\\\\\\\": \\\\\\\"https://getdaytrends.com/top/tweeted/day/\\\\\\\",\\\\\\\\n \\\\\\\"body\\\\\\\": \\\\\\\"About Us. We store and analyze Twitter data to bring you insights on what\\\\\\\\'s currently trending and help you keep up with the audience. Find out hot trends, review trend history and browse long-term popular hashtags and topics.\\\\\\\"\\\\\\\\n },\\\\\\\\n {\\\\\\\\n \\\\\\\"title\\\\\\\": \\\\\\\"United States Latest Trending X (Twitter) hashtag and topics\\\\\\\",\\\\\\\\n \\\\\\\"href\\\\\\\": \\\\\\\"https://91trends.com/twitter/united-states/\\\\\\\",\\\\\\\\n \\\\\\\"body\\\\\\\": \\\\\\\"United States X (Twitter) Trends Now | Top X (Twitter) Trending Topics & Hashtags Today. Get real-time updates on the hottest trending hashtags and topics on X (Twitter) United States with our automated page. Our page utilizes the official X (Twitter) API to refresh the most talked-about hashtags and topics every 30 minutes, ensuring you always have access to the most current trends on the ...\\\\\\\"\\\\\\\\n },\\\\\\\\n {\\\\\\\\n \\\\\\\"title\\\\\\\": \\\\\\\"Trending on Twitter United States today - Global Twitter Trends\\\\\\\",\\\\\\\\n \\\\\\\"href\\\\\\\": \\\\\\\"https://globaltwittertrends.com/united-states/\\\\\\\",\\\\\\\\n \\\\\\\"body\\\\\\\": \\\\\\\"Above is the table to show what\\\\\\\\'s trending in United States twitter right now . You can click on any one of the trends to tweet it or view all tweets based on that trend. You can also view the twitter trends of all towns in United States by just searching on the search bar above or by choosing from the provided list of countries and towns.\\\\\\\"\\\\\\\\n }\\\\\\\\n]' name=None tool_call_id='call_VybxG748CQId8Xxo6wb2pWy1' tool_calls=None audio=None images=None videos=None files=None audio_output=None image_output=None thinking=None redacted_thinking=None provider_data=None citations=None reasoning_content=None tool_name='duckduckgo_search' tool_args={'query': 'currently trending on Twitter'} tool_call_error=False stop_after_tool_call=False add_to_agent_memory=True from_history=False metrics=MessageMetrics(input_tokens=0, output_tokens=0, total_tokens=0, audio_tokens=0, input_audio_tokens=0, output_audio_tokens=0, cached_tokens=0, reasoning_tokens=0, prompt_tokens=0, completion_tokens=0, prompt_tokens_details=None, completion_tokens_details=None, additional_metrics=None, time=0.7176052920003713, time_to_first_token=None, timer=None) references=None created_at=1749650494\\\"], \\\"tools\\\": [{\\\"type\\\": \\\"function\\\", \\\"function\\\": {\\\"name\\\": \\\"duckduckgo_search\\\", \\\"description\\\": \\\"Use this function to search DuckDuckGo for a query.\\\", \\\"parameters\\\": {\\\"type\\\": \\\"object\\\", \\\"properties\\\": {\\\"query\\\": {\\\"type\\\": \\\"string\\\", \\\"description\\\": \\\"(str) The query to search for.\\\"}, \\\"max_results\\\": {\\\"type\\\": \\\"number\\\", \\\"description\\\": \\\"(optional, default=5) The maximum number of results to return.\\\"}}, \\\"required\\\": [\\\"query\\\"]}, \\\"requires_confirmation\\\": false, \\\"external_execution\\\": false}}, {\\\"type\\\": \\\"function\\\", \\\"function\\\": {\\\"name\\\": \\\"duckduckgo_news\\\", \\\"description\\\": \\\"Use this function to get the latest news from DuckDuckGo.\\\", \\\"parameters\\\": {\\\"type\\\": \\\"object\\\", \\\"properties\\\": {\\\"query\\\": {\\\"type\\\": \\\"string\\\", \\\"description\\\": \\\"(str) The query to search for.\\\"}, \\\"max_results\\\": {\\\"type\\\": \\\"number\\\", \\\"description\\\": \\\"(optional, default=5) The maximum number of results to return.\\\"}}, \\\"required\\\": [\\\"query\\\"]}, \\\"requires_confirmation\\\": false, \\\"external_execution\\\": false}}]}\",\"llm.input_messages.0.message.role\":\"system\",\"llm.input_messages.0.message.content\":\"<additional_information>\\n- Use markdown to format your answers.\\n</additional_information>\",\"llm.input_messages.1.message.role\":\"user\",\"llm.input_messages.1.message.content\":\"What is currently trending on Twitter?\",\"llm.input_messages.3.message.role\":\"tool\",\"llm.input_messages.3.message.content\":\"[\\n {\\n \\\"title\\\": \\\"Twitter. It's what's happening / Twitter\\\",\\n \\\"href\\\": \\\"https://twitter.com/explore/tabs/trending/\\\",\\n \\\"body\\\": \\\"Explore trending topics, hashtags, and conversations on Twitter.\\\"\\n },\\n {\\n \\\"title\\\": \\\"United States \\\\u2014 X (Twitter) trending topics and hashtags today ...\\\",\\n \\\"href\\\": \\\"https://trends24.in/united-states/\\\",\\n \\\"body\\\": \\\"Today's top X (Twitter) trends and hashtags in United States: National Guard, Los Angeles, California, Peaceful, Marines. Explore more locations and trending topics on trends24.in\\\"\\n },\\n {\\n \\\"title\\\": \\\"Worldwide \\\\u2022 Top Hashtags \\\\u2022 Most Tweeted \\\\u2022 Day - getdaytrends\\\",\\n \\\"href\\\": \\\"https://getdaytrends.com/top/tweeted/day/\\\",\\n \\\"body\\\": \\\"About Us. We store and analyze Twitter data to bring you insights on what's currently trending and help you keep up with the audience. Find out hot trends, review trend history and browse long-term popular hashtags and topics.\\\"\\n },\\n {\\n \\\"title\\\": \\\"United States Latest Trending X (Twitter) hashtag and topics\\\",\\n \\\"href\\\": \\\"https://91trends.com/twitter/united-states/\\\",\\n \\\"body\\\": \\\"United States X (Twitter) Trends Now | Top X (Twitter) Trending Topics & Hashtags Today. Get real-time updates on the hottest trending hashtags and topics on X (Twitter) United States with our automated page. Our page utilizes the official X (Twitter) API to refresh the most talked-about hashtags and topics every 30 minutes, ensuring you always have access to the most current trends on the ...\\\"\\n },\\n {\\n \\\"title\\\": \\\"Trending on Twitter United States today - Global Twitter Trends\\\",\\n \\\"href\\\": \\\"https://globaltwittertrends.com/united-states/\\\",\\n \\\"body\\\": \\\"Above is the table to show what's trending in United States twitter right now . You can click on any one of the trends to tweet it or view all tweets based on that trend. You can also view the twitter trends of all towns in United States by just searching on the search bar above or by choosing from the provided list of countries and towns.\\\"\\n }\\n]\",\"llm.tools.0.tool.json_schema\":\"{\\\"type\\\": \\\"function\\\", \\\"function\\\": {\\\"name\\\": \\\"duckduckgo_search\\\", \\\"description\\\": \\\"Use this function to search DuckDuckGo for a query.\\\", \\\"parameters\\\": {\\\"type\\\": \\\"object\\\", \\\"properties\\\": {\\\"query\\\": {\\\"type\\\": \\\"string\\\", \\\"description\\\": \\\"(str) The query to search for.\\\"}, \\\"max_results\\\": {\\\"type\\\": \\\"number\\\", \\\"description\\\": \\\"(optional, default=5) The maximum number of results to return.\\\"}}, \\\"required\\\": [\\\"query\\\"]}, \\\"requires_confirmation\\\": false, \\\"external_execution\\\": false}}\",\"llm.tools.1.tool.json_schema\":\"{\\\"type\\\": \\\"function\\\", \\\"function\\\": {\\\"name\\\": \\\"duckduckgo_news\\\", \\\"description\\\": \\\"Use this function to get the latest news from DuckDuckGo.\\\", \\\"parameters\\\": {\\\"type\\\": \\\"object\\\", \\\"properties\\\": {\\\"query\\\": {\\\"type\\\": \\\"string\\\", \\\"description\\\": \\\"(str) The query to search for.\\\"}, \\\"max_results\\\": {\\\"type\\\": \\\"number\\\", \\\"description\\\": \\\"(optional, default=5) The maximum number of results to return.\\\"}}, \\\"required\\\": [\\\"query\\\"]}, \\\"requires_confirmation\\\": false, \\\"external_execution\\\": false}}\",\"llm.model_name\":\"gpt-4o-mini\",\"llm.provider\":\"OpenAI\",\"output.mime_type\":\"application/json\",\"output.value\":\"{\\\"id\\\":\\\"chatcmpl-BhGJDsZlpk55owZCjMyJl8TOGqk0H\\\",\\\"choices\\\":[{\\\"finish_reason\\\":\\\"stop\\\",\\\"index\\\":0,\\\"logprobs\\\":null,\\\"message\\\":{\\\"content\\\":\\\"To find out what's currently trending on Twitter, you can visit the following resources:\\\\n\\\\n1. **[Twitter Explore](https://twitter.com/explore/tabs/trending/)**: Explore trending topics, hashtags, and conversations directly on Twitter.\\\\n\\\\n2. **[Trends24](https://trends24.in/united-states/)**: This site lists today's top X (Twitter) trends and hashtags in the United States, including topics like National Guard, Los Angeles, and more.\\\\n\\\\n3. **[Get Day Trends](https://getdaytrends.com/top/tweeted/day/)**: This platform analyzes Twitter data to provide insights on current trending topics and hashtags.\\\\n\\\\n4. **[91 Trends](https://91trends.com/twitter/united-states/)**: Get real-time updates on what's trending on Twitter in the United States.\\\\n\\\\n5. **[Global Twitter Trends](https://globaltwittertrends.com/united-states/)**: Check out what's trending specifically in the United States and view tweets based on those trends.\\\\n\\\\nFeel free to explore these links for the most up-to-date trending topics!\\\",\\\"refusal\\\":null,\\\"role\\\":\\\"assistant\\\",\\\"annotations\\\":[],\\\"audio\\\":null,\\\"function_call\\\":null,\\\"tool_calls\\\":null}}],\\\"created\\\":1749650495,\\\"model\\\":\\\"gpt-4o-mini-2024-07-18\\\",\\\"object\\\":\\\"chat.completion\\\",\\\"service_tier\\\":\\\"default\\\",\\\"system_fingerprint\\\":\\\"fp_34a54ae93c\\\",\\\"usage\\\":{\\\"completion_tokens\\\":225,\\\"prompt_tokens\\\":663,\\\"total_tokens\\\":888,\\\"completion_tokens_details\\\":{\\\"accepted_prediction_tokens\\\":0,\\\"audio_tokens\\\":0,\\\"reasoning_tokens\\\":0,\\\"rejected_prediction_tokens\\\":0},\\\"prompt_tokens_details\\\":{\\\"audio_tokens\\\":0,\\\"cached_tokens\\\":0}}}\",\"openinference.span.kind\":\"LLM\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.33.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.agno\",\"version\":\"0.1.4\",\"attributes\":{}}}",
"internalModel": "clyrjp56f0000t0mzapoocd7u"
},
- {
- "id": "ca136de468e156c9",
- "traceId": "080130871f53145aecf7c29d5dfb6e4c",
- "startTime": "2025-06-11T14:01:32.600Z",
- "endTime": "2025-06-11T14:01:33.560Z",
- "projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "1cffdfa6fe3412e6",
- "type": "GENERATION",
- "environment": "default",
- "name": "OpenAIChat.invoke",
- "level": "DEFAULT",
- "statusMessage": null,
- "version": null,
- "createdAt": "2025-06-11T14:01:33.719Z",
- "updatedAt": "2025-06-11T14:01:33.752Z",
- "input": "{\"messages\": [\"role='system' content='<additional_information>\\\\n- Use markdown to format your answers.\\\\n</additional_information>' name=None tool_call_id=None tool_calls=None audio=None images=None videos=None files=None audio_output=None image_output=None thinking=None redacted_thinking=None provider_data=None citations=None reasoning_content=None tool_name=None tool_args=None tool_call_error=None stop_after_tool_call=False add_to_agent_memory=True from_history=False metrics=MessageMetrics(input_tokens=0, output_tokens=0, total_tokens=0, audio_tokens=0, input_audio_tokens=0, output_audio_tokens=0, cached_tokens=0, reasoning_tokens=0, prompt_tokens=0, completion_tokens=0, prompt_tokens_details=None, completion_tokens_details=None, additional_metrics=None, time=None, time_to_first_token=None, timer=None) references=None created_at=1749650492\", \"role='user' content='What is currently trending on Twitter?' name=None tool_call_id=None tool_calls=None audio=None images=None videos=None files=None audio_output=None image_output=None thinking=None redacted_thinking=None provider_data=None citations=None reasoning_content=None tool_name=None tool_args=None tool_call_error=None stop_after_tool_call=False add_to_agent_memory=True from_history=False metrics=MessageMetrics(input_tokens=0, output_tokens=0, total_tokens=0, audio_tokens=0, input_audio_tokens=0, output_audio_tokens=0, cached_tokens=0, reasoning_tokens=0, prompt_tokens=0, completion_tokens=0, prompt_tokens_details=None, completion_tokens_details=None, additional_metrics=None, time=None, time_to_first_token=None, timer=None) references=None created_at=1749650492\"], \"tools\": [{\"type\": \"function\", \"function\": {\"name\": \"duckduckgo_search\", \"description\": \"Use this function to search DuckDuckGo for a query.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"query\": {\"type\": \"string\", \"description\": \"(str) The query to search for.\"}, \"max_results\": {\"type\": \"number\", \"description\": \"(optional, default=5) The maximum number of results to return.\"}}, \"required\": [\"query\"]}, \"requires_confirmation\": false, \"external_execution\": false}}, {\"type\": \"function\", \"function\": {\"name\": \"duckduckgo_news\", \"description\": \"Use this function to get the latest news from DuckDuckGo.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"query\": {\"type\": \"string\", \"description\": \"(str) The query to search for.\"}, \"max_results\": {\"type\": \"number\", \"description\": \"(optional, default=5) The maximum number of results to return.\"}}, \"required\": [\"query\"]}, \"requires_confirmation\": false, \"external_execution\": false}}]}",
- "output": "{\"id\":\"chatcmpl-BhGJAW79iSsHO7ES5wgoTga4hQFyn\",\"choices\":[{\"finish_reason\":\"tool_calls\",\"index\":0,\"logprobs\":null,\"message\":{\"content\":null,\"refusal\":null,\"role\":\"assistant\",\"annotations\":[],\"audio\":null,\"function_call\":null,\"tool_calls\":[{\"id\":\"call_VybxG748CQId8Xxo6wb2pWy1\",\"function\":{\"arguments\":\"{\\\"query\\\":\\\"currently trending on Twitter\\\"}\",\"name\":\"duckduckgo_search\"},\"type\":\"function\"}]}}],\"created\":1749650492,\"model\":\"gpt-4o-mini-2024-07-18\",\"object\":\"chat.completion\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_34a54ae93c\",\"usage\":{\"completion_tokens\":20,\"prompt_tokens\":163,\"total_tokens\":183,\"completion_tokens_details\":{\"accepted_prediction_tokens\":0,\"audio_tokens\":0,\"reasoning_tokens\":0,\"rejected_prediction_tokens\":0},\"prompt_tokens_details\":{\"audio_tokens\":0,\"cached_tokens\":0}}}",
- "model": "gpt-4o-mini",
- "internalModelId": "clyrjp56f0000t0mzapoocd7u",
- "modelParameters": {},
- "completionStartTime": null,
- "promptId": null,
- "promptName": null,
- "promptVersion": null,
- "latency": 0.96,
- "timeToFirstToken": null,
- "usageDetails": {
- "input": 542,
- "output": 235,
- "total": 777
- },
- "costDetails": {
- "input": 0.0000813,
- "output": 0.000141,
- "total": 0.0002223
- },
- "providedCostDetails": {},
- "inputCost": 0.0000813,
- "outputCost": 0.000141,
- "totalCost": 0.0002223,
- "inputUsage": 542,
- "outputUsage": 235,
- "totalUsage": 777,
- "usagePricingTierId": null,
- "usagePricingTierName": null,
- "toolDefinitions": {},
- "toolCalls": [],
- "toolCallNames": [],
- "metadata": "{\"attributes\":{\"input.mime_type\":\"application/json\",\"input.value\":\"{\\\"messages\\\": [\\\"role='system' content='<additional_information>\\\\\\\\n- Use markdown to format your answers.\\\\\\\\n</additional_information>' name=None tool_call_id=None tool_calls=None audio=None images=None videos=None files=None audio_output=None image_output=None thinking=None redacted_thinking=None provider_data=None citations=None reasoning_content=None tool_name=None tool_args=None tool_call_error=None stop_after_tool_call=False add_to_agent_memory=True from_history=False metrics=MessageMetrics(input_tokens=0, output_tokens=0, total_tokens=0, audio_tokens=0, input_audio_tokens=0, output_audio_tokens=0, cached_tokens=0, reasoning_tokens=0, prompt_tokens=0, completion_tokens=0, prompt_tokens_details=None, completion_tokens_details=None, additional_metrics=None, time=None, time_to_first_token=None, timer=None) references=None created_at=1749650492\\\", \\\"role='user' content='What is currently trending on Twitter?' name=None tool_call_id=None tool_calls=None audio=None images=None videos=None files=None audio_output=None image_output=None thinking=None redacted_thinking=None provider_data=None citations=None reasoning_content=None tool_name=None tool_args=None tool_call_error=None stop_after_tool_call=False add_to_agent_memory=True from_history=False metrics=MessageMetrics(input_tokens=0, output_tokens=0, total_tokens=0, audio_tokens=0, input_audio_tokens=0, output_audio_tokens=0, cached_tokens=0, reasoning_tokens=0, prompt_tokens=0, completion_tokens=0, prompt_tokens_details=None, completion_tokens_details=None, additional_metrics=None, time=None, time_to_first_token=None, timer=None) references=None created_at=1749650492\\\"], \\\"tools\\\": [{\\\"type\\\": \\\"function\\\", \\\"function\\\": {\\\"name\\\": \\\"duckduckgo_search\\\", \\\"description\\\": \\\"Use this function to search DuckDuckGo for a query.\\\", \\\"parameters\\\": {\\\"type\\\": \\\"object\\\", \\\"properties\\\": {\\\"query\\\": {\\\"type\\\": \\\"string\\\", \\\"description\\\": \\\"(str) The query to search for.\\\"}, \\\"max_results\\\": {\\\"type\\\": \\\"number\\\", \\\"description\\\": \\\"(optional, default=5) The maximum number of results to return.\\\"}}, \\\"required\\\": [\\\"query\\\"]}, \\\"requires_confirmation\\\": false, \\\"external_execution\\\": false}}, {\\\"type\\\": \\\"function\\\", \\\"function\\\": {\\\"name\\\": \\\"duckduckgo_news\\\", \\\"description\\\": \\\"Use this function to get the latest news from DuckDuckGo.\\\", \\\"parameters\\\": {\\\"type\\\": \\\"object\\\", \\\"properties\\\": {\\\"query\\\": {\\\"type\\\": \\\"string\\\", \\\"description\\\": \\\"(str) The query to search for.\\\"}, \\\"max_results\\\": {\\\"type\\\": \\\"number\\\", \\\"description\\\": \\\"(optional, default=5) The maximum number of results to return.\\\"}}, \\\"required\\\": [\\\"query\\\"]}, \\\"requires_confirmation\\\": false, \\\"external_execution\\\": false}}]}\",\"llm.input_messages.0.message.role\":\"system\",\"llm.input_messages.0.message.content\":\"<additional_information>\\n- Use markdown to format your answers.\\n</additional_information>\",\"llm.input_messages.1.message.role\":\"user\",\"llm.input_messages.1.message.content\":\"What is currently trending on Twitter?\",\"llm.tools.0.tool.json_schema\":\"{\\\"type\\\": \\\"function\\\", \\\"function\\\": {\\\"name\\\": \\\"duckduckgo_search\\\", \\\"description\\\": \\\"Use this function to search DuckDuckGo for a query.\\\", \\\"parameters\\\": {\\\"type\\\": \\\"object\\\", \\\"properties\\\": {\\\"query\\\": {\\\"type\\\": \\\"string\\\", \\\"description\\\": \\\"(str) The query to search for.\\\"}, \\\"max_results\\\": {\\\"type\\\": \\\"number\\\", \\\"description\\\": \\\"(optional, default=5) The maximum number of results to return.\\\"}}, \\\"required\\\": [\\\"query\\\"]}, \\\"requires_confirmation\\\": false, \\\"external_execution\\\": false}}\",\"llm.tools.1.tool.json_schema\":\"{\\\"type\\\": \\\"function\\\", \\\"function\\\": {\\\"name\\\": \\\"duckduckgo_news\\\", \\\"description\\\": \\\"Use this function to get the latest news from DuckDuckGo.\\\", \\\"parameters\\\": {\\\"type\\\": \\\"object\\\", \\\"properties\\\": {\\\"query\\\": {\\\"type\\\": \\\"string\\\", \\\"description\\\": \\\"(str) The query to search for.\\\"}, \\\"max_results\\\": {\\\"type\\\": \\\"number\\\", \\\"description\\\": \\\"(optional, default=5) The maximum number of results to return.\\\"}}, \\\"required\\\": [\\\"query\\\"]}, \\\"requires_confirmation\\\": false, \\\"external_execution\\\": false}}\",\"llm.model_name\":\"gpt-4o-mini\",\"llm.provider\":\"OpenAI\",\"output.mime_type\":\"application/json\",\"output.value\":\"{\\\"id\\\":\\\"chatcmpl-BhGJAW79iSsHO7ES5wgoTga4hQFyn\\\",\\\"choices\\\":[{\\\"finish_reason\\\":\\\"tool_calls\\\",\\\"index\\\":0,\\\"logprobs\\\":null,\\\"message\\\":{\\\"content\\\":null,\\\"refusal\\\":null,\\\"role\\\":\\\"assistant\\\",\\\"annotations\\\":[],\\\"audio\\\":null,\\\"function_call\\\":null,\\\"tool_calls\\\":[{\\\"id\\\":\\\"call_VybxG748CQId8Xxo6wb2pWy1\\\",\\\"function\\\":{\\\"arguments\\\":\\\"{\\\\\\\"query\\\\\\\":\\\\\\\"currently trending on Twitter\\\\\\\"}\\\",\\\"name\\\":\\\"duckduckgo_search\\\"},\\\"type\\\":\\\"function\\\"}]}}],\\\"created\\\":1749650492,\\\"model\\\":\\\"gpt-4o-mini-2024-07-18\\\",\\\"object\\\":\\\"chat.completion\\\",\\\"service_tier\\\":\\\"default\\\",\\\"system_fingerprint\\\":\\\"fp_34a54ae93c\\\",\\\"usage\\\":{\\\"completion_tokens\\\":20,\\\"prompt_tokens\\\":163,\\\"total_tokens\\\":183,\\\"completion_tokens_details\\\":{\\\"accepted_prediction_tokens\\\":0,\\\"audio_tokens\\\":0,\\\"reasoning_tokens\\\":0,\\\"rejected_prediction_tokens\\\":0},\\\"prompt_tokens_details\\\":{\\\"audio_tokens\\\":0,\\\"cached_tokens\\\":0}}}\",\"openinference.span.kind\":\"LLM\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.33.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.agno\",\"version\":\"0.1.4\",\"attributes\":{}}}",
- "internalModel": "clyrjp56f0000t0mzapoocd7u"
- },
{
"id": "fc7f61b57ecebbaf",
"traceId": "080130871f53145aecf7c29d5dfb6e4c",
@@ -557,22 +487,22 @@
"internalModel": "clyrjp56f0000t0mzapoocd7u"
},
{
- "id": "1cffdfa6fe3412e6",
+ "id": "6581e147aec6793a",
"traceId": "080130871f53145aecf7c29d5dfb6e4c",
- "startTime": "2025-06-11T14:01:32.598Z",
- "endTime": "2025-06-11T14:01:39.589Z",
+ "startTime": "2025-06-11T14:01:33.564Z",
+ "endTime": "2025-06-11T14:01:34.281Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": null,
+ "parentObservationId": "1cffdfa6fe3412e6",
"type": "SPAN",
"environment": "default",
- "name": "Agent.run",
+ "name": "duckduckgo_search",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-06-11T14:01:39.781Z",
- "updatedAt": "2025-06-11T14:01:39.875Z",
- "input": "{\"run_response\": \"RunResponse(content=None, content_type='str', thinking=None, reasoning_content=None, event='RunResponse', messages=None, metrics=None, model='gpt-4o-mini', model_provider='OpenAI', run_id='625aa1b6-dc11-4804-8f4b-e2f5b604c07f', agent_id='007f4340-d3b3-4e4e-bf94-bdb22a16d8d5', session_id='35cc6c90-b657-4819-b66c-c931c03ad569', workflow_id=None, tools=None, formatted_tool_calls=None, images=None, videos=None, audio=None, response_audio=None, citations=None, extra_data=None, created_at=1749650492)\", \"run_messages\": \"RunMessages(messages=[Message(role='system', content='<additional_information>\\\\n- Use markdown to format your answers.\\\\n</additional_information>', name=None, tool_call_id=None, tool_calls=None, audio=None, images=None, videos=None, files=None, audio_output=None, image_output=None, thinking=None, redacted_thinking=None, provider_data=None, citations=None, reasoning_content=None, tool_name=None, tool_args=None, tool_call_error=None, stop_after_tool_call=False, add_to_agent_memory=True, from_history=False, metrics=MessageMetrics(input_tokens=0, output_tokens=0, total_tokens=0, audio_tokens=0, input_audio_tokens=0, output_audio_tokens=0, cached_tokens=0, reasoning_tokens=0, prompt_tokens=0, completion_tokens=0, prompt_tokens_details=None, completion_tokens_details=None, additional_metrics=None, time=None, time_to_first_token=None, timer=None), references=None, created_at=1749650492), Message(role='user', content='What is currently trending on Twitter?', name=None, tool_call_id=None, tool_calls=None, audio=None, images=None, videos=None, files=None, audio_output=None, image_output=None, thinking=None, redacted_thinking=None, provider_data=None, citations=None, reasoning_content=None, tool_name=None, tool_args=None, tool_call_error=None, stop_after_tool_call=False, add_to_agent_memory=True, from_history=False, metrics=MessageMetrics(input_tokens=0, output_tokens=0, total_tokens=0, audio_tokens=0, input_audio_tokens=0, output_audio_tokens=0, cached_tokens=0, reasoning_tokens=0, prompt_tokens=0, completion_tokens=0, prompt_tokens_details=None, completion_tokens_details=None, additional_metrics=None, time=None, time_to_first_token=None, timer=None), references=None, created_at=1749650492)], system_message=Message(role='system', content='<additional_information>\\\\n- Use markdown to format your answers.\\\\n</additional_information>', name=None, tool_call_id=None, tool_calls=None, audio=None, images=None, videos=None, files=None, audio_output=None, image_output=None, thinking=None, redacted_thinking=None, provider_data=None, citations=None, reasoning_content=None, tool_name=None, tool_args=None, tool_call_error=None, stop_after_tool_call=False, add_to_agent_memory=True, from_history=False, metrics=MessageMetrics(input_tokens=0, output_tokens=0, total_tokens=0, audio_tokens=0, input_audio_tokens=0, output_audio_tokens=0, cached_tokens=0, reasoning_tokens=0, prompt_tokens=0, completion_tokens=0, prompt_tokens_details=None, completion_tokens_details=None, additional_metrics=None, time=None, time_to_first_token=None, timer=None), references=None, created_at=1749650492), user_message=Message(role='user', content='What is currently trending on Twitter?', name=None, tool_call_id=None, tool_calls=None, audio=None, images=None, videos=None, files=None, audio_output=None, image_output=None, thinking=None, redacted_thinking=None, provider_data=None, citations=None, reasoning_content=None, tool_name=None, tool_args=None, tool_call_error=None, stop_after_tool_call=False, add_to_agent_memory=True, from_history=False, metrics=MessageMetrics(input_tokens=0, output_tokens=0, total_tokens=0, audio_tokens=0, input_audio_tokens=0, output_audio_tokens=0, cached_tokens=0, reasoning_tokens=0, prompt_tokens=0, completion_tokens=0, prompt_tokens_details=None, completion_tokens_details=None, additional_metrics=None, time=None, time_to_first_token=None, timer=None), references=None, created_at=1749650492), extra_messages=None)\", \"session_id\": \"35cc6c90-b657-4819-b66c-c931c03ad569\", \"message\": \"What is currently trending on Twitter?\"}",
- "output": "{\n \"content\": \"To find out what's currently trending on Twitter, you can visit the following resources:\\n\\n1. **[Twitter Explore](https://twitter.com/explore/tabs/trending/)**: Explore trending topics, hashtags, and conversations directly on Twitter.\\n\\n2. **[Trends24](https://trends24.in/united-states/)**: This site lists today's top X (Twitter) trends and hashtags in the United States, including topics like National Guard, Los Angeles, and more.\\n\\n3. **[Get Day Trends](https://getdaytrends.com/top/tweeted/day/)**: This platform analyzes Twitter data to provide insights on current trending topics and hashtags.\\n\\n4. **[91 Trends](https://91trends.com/twitter/united-states/)**: Get real-time updates on what's trending on Twitter in the United States.\\n\\n5. **[Global Twitter Trends](https://globaltwittertrends.com/united-states/)**: Check out what's trending specifically in the United States and view tweets based on those trends.\\n\\nFeel free to explore these links for the most up-to-date trending topics!\",\n \"content_type\": \"str\",\n \"event\": \"RunResponse\",\n \"metrics\": {\n \"input_tokens\": [\n 163,\n 663\n ],\n \"output_tokens\": [\n 20,\n 225\n ],\n \"total_tokens\": [\n 183,\n 888\n ],\n \"audio_tokens\": [\n 0,\n 0\n ],\n \"input_audio_tokens\": [\n 0,\n 0\n ],\n \"output_audio_tokens\": [\n 0,\n 0\n ],\n \"cached_tokens\": [\n 0,\n 0\n ],\n \"reasoning_tokens\": [\n 0,\n 0\n ],\n \"prompt_tokens\": [\n 163,\n 663\n ],\n \"completion_tokens\": [\n 20,\n 225\n ],\n \"prompt_tokens_details\": [\n {\n \"audio_tokens\": 0,\n \"cached_tokens\": 0\n },\n {\n \"audio_tokens\": 0,\n \"cached_tokens\": 0\n }\n ],\n \"completion_tokens_details\": [\n {\n \"accepted_prediction_tokens\": 0,\n \"audio_tokens\": 0,\n \"reasoning_tokens\": 0,\n \"rejected_prediction_tokens\": 0\n },\n {\n \"accepted_prediction_tokens\": 0,\n \"audio_tokens\": 0,\n \"reasoning_tokens\": 0,\n \"rejected_prediction_tokens\": 0\n }\n ],\n \"time\": [\n 0.9596867079999356,\n 4.799381209000785\n ]\n },\n \"model\": \"gpt-4o-mini\",\n \"model_provider\": \"OpenAI\",\n \"run_id\": \"625aa1b6-dc11-4804-8f4b-e2f5b604c07f\",\n \"agent_id\": \"007f4340-d3b3-4e4e-bf94-bdb22a16d8d5\",\n \"session_id\": \"35cc6c90-b657-4819-b66c-c931c03ad569\",\n \"formatted_tool_calls\": [\n \"duckduckgo_search(query=currently trending on Twitter)\"\n ],\n \"created_at\": 1749650243,\n \"messages\": [\n {\n \"content\": \"<additional_information>\\n- Use markdown to format your answers.\\n</additional_information>\",\n \"from_history\": false,\n \"stop_after_tool_call\": false,\n \"role\": \"system\",\n \"created_at\": 1749650492\n },\n {\n \"content\": \"What is currently trending on Twitter?\",\n \"from_history\": false,\n \"stop_after_tool_call\": false,\n \"role\": \"user\",\n \"created_at\": 1749650492\n },\n {\n \"from_history\": false,\n \"stop_after_tool_call\": false,\n \"role\": \"assistant\",\n \"tool_calls\": [\n {\n \"id\": \"call_VybxG748CQId8Xxo6wb2pWy1\",\n \"function\": {\n \"arguments\": \"{\\\"query\\\":\\\"currently trending on Twitter\\\"}\",\n \"name\": \"duckduckgo_search\"\n },\n \"type\": \"function\"\n }\n ],\n \"metrics\": {\n \"input_tokens\": 163,\n \"output_tokens\": 20,\n \"total_tokens\": 183,\n \"prompt_tokens\": 163,\n \"completion_tokens\": 20,\n \"prompt_tokens_details\": {\n \"audio_tokens\": 0,\n \"cached_tokens\": 0\n },\n \"completion_tokens_details\": {\n \"accepted_prediction_tokens\": 0,\n \"audio_tokens\": 0,\n \"reasoning_tokens\": 0,\n \"rejected_prediction_tokens\": 0\n },\n \"time\": 0.9596867079999356\n },\n \"created_at\": 1749650492\n },\n {\n \"content\": \"[\\n {\\n \\\"title\\\": \\\"Twitter. It's what's happening / Twitter\\\",\\n \\\"href\\\": \\\"https://twitter.com/explore/tabs/trending/\\\",\\n \\\"body\\\": \\\"Explore trending topics, hashtags, and conversations on Twitter.\\\"\\n },\\n {\\n \\\"title\\\": \\\"United States \\\\u2014 X (Twitter) trending topics and hashtags today ...\\\",\\n \\\"href\\\": \\\"https://trends24.in/united-states/\\\",\\n \\\"body\\\": \\\"Today's top X (Twitter) trends and hashtags in United States: National Guard, Los Angeles, California, Peaceful, Marines. Explore more locations and trending topics on trends24.in\\\"\\n },\\n {\\n \\\"title\\\": \\\"Worldwide \\\\u2022 Top Hashtags \\\\u2022 Most Tweeted \\\\u2022 Day - getdaytrends\\\",\\n \\\"href\\\": \\\"https://getdaytrends.com/top/tweeted/day/\\\",\\n \\\"body\\\": \\\"About Us. We store and analyze Twitter data to bring you insights on what's currently trending and help you keep up with the audience. Find out hot trends, review trend history and browse long-term popular hashtags and topics.\\\"\\n },\\n {\\n \\\"title\\\": \\\"United States Latest Trending X (Twitter) hashtag and topics\\\",\\n \\\"href\\\": \\\"https://91trends.com/twitter/united-states/\\\",\\n \\\"body\\\": \\\"United States X (Twitter) Trends Now | Top X (Twitter) Trending Topics & Hashtags Today. Get real-time updates on the hottest trending hashtags and topics on X (Twitter) United States with our automated page. Our page utilizes the official X (Twitter) API to refresh the most talked-about hashtags and topics every 30 minutes, ensuring you always have access to the most current trends on the ...\\\"\\n },\\n {\\n \\\"title\\\": \\\"Trending on Twitter United States today - Global Twitter Trends\\\",\\n \\\"href\\\": \\\"https://globaltwittertrends.com/united-states/\\\",\\n \\\"body\\\": \\\"Above is the table to show what's trending in United States twitter right now . You can click on any one of the trends to tweet it or view all tweets based on that trend. You can also view the twitter trends of all towns in United States by just searching on the search bar above or by choosing from the provided list of countries and towns.\\\"\\n }\\n]\",\n \"from_history\": false,\n \"stop_after_tool_call\": false,\n \"role\": \"tool\",\n \"tool_call_id\": \"call_VybxG748CQId8Xxo6wb2pWy1\",\n \"tool_name\": \"duckduckgo_search\",\n \"tool_args\": {\n \"query\": \"currently trending on Twitter\"\n },\n \"tool_call_error\": false,\n \"metrics\": {\n \"time\": 0.7176052920003713\n },\n \"created_at\": 1749650494\n },\n {\n \"content\": \"To find out what's currently trending on Twitter, you can visit the following resources:\\n\\n1. **[Twitter Explore](https://twitter.com/explore/tabs/trending/)**: Explore trending topics, hashtags, and conversations directly on Twitter.\\n\\n2. **[Trends24](https://trends24.in/united-states/)**: This site lists today's top X (Twitter) trends and hashtags in the United States, including topics like National Guard, Los Angeles, and more.\\n\\n3. **[Get Day Trends](https://getdaytrends.com/top/tweeted/day/)**: This platform analyzes Twitter data to provide insights on current trending topics and hashtags.\\n\\n4. **[91 Trends](https://91trends.com/twitter/united-states/)**: Get real-time updates on what's trending on Twitter in the United States.\\n\\n5. **[Global Twitter Trends](https://globaltwittertrends.com/united-states/)**: Check out what's trending specifically in the United States and view tweets based on those trends.\\n\\nFeel free to explore these links for the most up-to-date trending topics!\",\n \"from_history\": false,\n \"stop_after_tool_call\": false,\n \"role\": \"assistant\",\n \"metrics\": {\n \"input_tokens\": 663,\n \"output_tokens\": 225,\n \"total_tokens\": 888,\n \"prompt_tokens\": 663,\n \"completion_tokens\": 225,\n \"prompt_tokens_details\": {\n \"audio_tokens\": 0,\n \"cached_tokens\": 0\n },\n \"completion_tokens_details\": {\n \"accepted_prediction_tokens\": 0,\n \"audio_tokens\": 0,\n \"reasoning_tokens\": 0,\n \"rejected_prediction_tokens\": 0\n },\n \"time\": 4.799381209000785\n },\n \"created_at\": 1749650494\n }\n ],\n \"tools\": [\n {\n \"tool_call_id\": \"call_VybxG748CQId8Xxo6wb2pWy1\",\n \"tool_name\": \"duckduckgo_search\",\n \"tool_args\": {\n \"query\": \"currently trending on Twitter\"\n },\n \"tool_call_error\": false,\n \"result\": \"[\\n {\\n \\\"title\\\": \\\"Twitter. It's what's happening / Twitter\\\",\\n \\\"href\\\": \\\"https://twitter.com/explore/tabs/trending/\\\",\\n \\\"body\\\": \\\"Explore trending topics, hashtags, and conversations on Twitter.\\\"\\n },\\n {\\n \\\"title\\\": \\\"United States \\\\u2014 X (Twitter) trending topics and hashtags today ...\\\",\\n \\\"href\\\": \\\"https://trends24.in/united-states/\\\",\\n \\\"body\\\": \\\"Today's top X (Twitter) trends and hashtags in United States: National Guard, Los Angeles, California, Peaceful, Marines. Explore more locations and trending topics on trends24.in\\\"\\n },\\n {\\n \\\"title\\\": \\\"Worldwide \\\\u2022 Top Hashtags \\\\u2022 Most Tweeted \\\\u2022 Day - getdaytrends\\\",\\n \\\"href\\\": \\\"https://getdaytrends.com/top/tweeted/day/\\\",\\n \\\"body\\\": \\\"About Us. We store and analyze Twitter data to bring you insights on what's currently trending and help you keep up with the audience. Find out hot trends, review trend history and browse long-term popular hashtags and topics.\\\"\\n },\\n {\\n \\\"title\\\": \\\"United States Latest Trending X (Twitter) hashtag and topics\\\",\\n \\\"href\\\": \\\"https://91trends.com/twitter/united-states/\\\",\\n \\\"body\\\": \\\"United States X (Twitter) Trends Now | Top X (Twitter) Trending Topics & Hashtags Today. Get real-time updates on the hottest trending hashtags and topics on X (Twitter) United States with our automated page. Our page utilizes the official X (Twitter) API to refresh the most talked-about hashtags and topics every 30 minutes, ensuring you always have access to the most current trends on the ...\\\"\\n },\\n {\\n \\\"title\\\": \\\"Trending on Twitter United States today - Global Twitter Trends\\\",\\n \\\"href\\\": \\\"https://globaltwittertrends.com/united-states/\\\",\\n \\\"body\\\": \\\"Above is the table to show what's trending in United States twitter right now . You can click on any one of the trends to tweet it or view all tweets based on that trend. You can also view the twitter trends of all towns in United States by just searching on the search bar above or by choosing from the provided list of countries and towns.\\\"\\n }\\n]\",\n \"metrics\": {\n \"time\": 0.7176052920003713\n },\n \"stop_after_tool_call\": false,\n \"created_at\": 1749650243,\n \"requires_confirmation\": null,\n \"confirmed\": null,\n \"confirmation_note\": null,\n \"requires_user_input\": null,\n \"user_input_schema\": null,\n \"external_execution_required\": null\n }\n ]\n}",
+ "createdAt": "2025-06-11T14:01:34.476Z",
+ "updatedAt": "2025-06-11T14:01:34.529Z",
+ "input": "{\"query\": \"currently trending on Twitter\"}",
+ "output": "[\n {\n \"title\": \"Twitter. It's what's happening / Twitter\",\n \"href\": \"https://twitter.com/explore/tabs/trending/\",\n \"body\": \"Explore trending topics, hashtags, and conversations on Twitter.\"\n },\n {\n \"title\": \"United States \\u2014 X (Twitter) trending topics and hashtags today ...\",\n \"href\": \"https://trends24.in/united-states/\",\n \"body\": \"Today's top X (Twitter) trends and hashtags in United States: National Guard, Los Angeles, California, Peaceful, Marines. Explore more locations and trending topics on trends24.in\"\n },\n {\n \"title\": \"Worldwide \\u2022 Top Hashtags \\u2022 Most Tweeted \\u2022 Day - getdaytrends\",\n \"href\": \"https://getdaytrends.com/top/tweeted/day/\",\n \"body\": \"About Us. We store and analyze Twitter data to bring you insights on what's currently trending and help you keep up with the audience. Find out hot trends, review trend history and browse long-term popular hashtags and topics.\"\n },\n {\n \"title\": \"United States Latest Trending X (Twitter) hashtag and topics\",\n \"href\": \"https://91trends.com/twitter/united-states/\",\n \"body\": \"United States X (Twitter) Trends Now | Top X (Twitter) Trending Topics & Hashtags Today. Get real-time updates on the hottest trending hashtags and topics on X (Twitter) United States with our automated page. Our page utilizes the official X (Twitter) API to refresh the most talked-about hashtags and topics every 30 minutes, ensuring you always have access to the most current trends on the ...\"\n },\n {\n \"title\": \"Trending on Twitter United States today - Global Twitter Trends\",\n \"href\": \"https://globaltwittertrends.com/united-states/\",\n \"body\": \"Above is the table to show what's trending in United States twitter right now . You can click on any one of the trends to tweet it or view all tweets based on that trend. You can also view the twitter trends of all towns in United States by just searching on the search bar above or by choosing from the provided list of countries and towns.\"\n }\n]",
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -580,7 +510,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 6.991,
+ "latency": 0.717,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -596,51 +526,121 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"input.value\":\"{\\\"run_response\\\": \\\"RunResponse(content=None, content_type='str', thinking=None, reasoning_content=None, event='RunResponse', messages=None, metrics=None, model='gpt-4o-mini', model_provider='OpenAI', run_id='625aa1b6-dc11-4804-8f4b-e2f5b604c07f', agent_id='007f4340-d3b3-4e4e-bf94-bdb22a16d8d5', session_id='35cc6c90-b657-4819-b66c-c931c03ad569', workflow_id=None, tools=None, formatted_tool_calls=None, images=None, videos=None, audio=None, response_audio=None, citations=None, extra_data=None, created_at=1749650492)\\\", \\\"run_messages\\\": \\\"RunMessages(messages=[Message(role='system', content='<additional_information>\\\\\\\\n- Use markdown to format your answers.\\\\\\\\n</additional_information>', name=None, tool_call_id=None, tool_calls=None, audio=None, images=None, videos=None, files=None, audio_output=None, image_output=None, thinking=None, redacted_thinking=None, provider_data=None, citations=None, reasoning_content=None, tool_name=None, tool_args=None, tool_call_error=None, stop_after_tool_call=False, add_to_agent_memory=True, from_history=False, metrics=MessageMetrics(input_tokens=0, output_tokens=0, total_tokens=0, audio_tokens=0, input_audio_tokens=0, output_audio_tokens=0, cached_tokens=0, reasoning_tokens=0, prompt_tokens=0, completion_tokens=0, prompt_tokens_details=None, completion_tokens_details=None, additional_metrics=None, time=None, time_to_first_token=None, timer=None), references=None, created_at=1749650492), Message(role='user', content='What is currently trending on Twitter?', name=None, tool_call_id=None, tool_calls=None, audio=None, images=None, videos=None, files=None, audio_output=None, image_output=None, thinking=None, redacted_thinking=None, provider_data=None, citations=None, reasoning_content=None, tool_name=None, tool_args=None, tool_call_error=None, stop_after_tool_call=False, add_to_agent_memory=True, from_history=False, metrics=MessageMetrics(input_tokens=0, output_tokens=0, total_tokens=0, audio_tokens=0, input_audio_tokens=0, output_audio_tokens=0, cached_tokens=0, reasoning_tokens=0, prompt_tokens=0, completion_tokens=0, prompt_tokens_details=None, completion_tokens_details=None, additional_metrics=None, time=None, time_to_first_token=None, timer=None), references=None, created_at=1749650492)], system_message=Message(role='system', content='<additional_information>\\\\\\\\n- Use markdown to format your answers.\\\\\\\\n</additional_information>', name=None, tool_call_id=None, tool_calls=None, audio=None, images=None, videos=None, files=None, audio_output=None, image_output=None, thinking=None, redacted_thinking=None, provider_data=None, citations=None, reasoning_content=None, tool_name=None, tool_args=None, tool_call_error=None, stop_after_tool_call=False, add_to_agent_memory=True, from_history=False, metrics=MessageMetrics(input_tokens=0, output_tokens=0, total_tokens=0, audio_tokens=0, input_audio_tokens=0, output_audio_tokens=0, cached_tokens=0, reasoning_tokens=0, prompt_tokens=0, completion_tokens=0, prompt_tokens_details=None, completion_tokens_details=None, additional_metrics=None, time=None, time_to_first_token=None, timer=None), references=None, created_at=1749650492), user_message=Message(role='user', content='What is currently trending on Twitter?', name=None, tool_call_id=None, tool_calls=None, audio=None, images=None, videos=None, files=None, audio_output=None, image_output=None, thinking=None, redacted_thinking=None, provider_data=None, citations=None, reasoning_content=None, tool_name=None, tool_args=None, tool_call_error=None, stop_after_tool_call=False, add_to_agent_memory=True, from_history=False, metrics=MessageMetrics(input_tokens=0, output_tokens=0, total_tokens=0, audio_tokens=0, input_audio_tokens=0, output_audio_tokens=0, cached_tokens=0, reasoning_tokens=0, prompt_tokens=0, completion_tokens=0, prompt_tokens_details=None, completion_tokens_details=None, additional_metrics=None, time=None, time_to_first_token=None, timer=None), references=None, created_at=1749650492), extra_messages=None)\\\", \\\"session_id\\\": \\\"35cc6c90-b657-4819-b66c-c931c03ad569\\\", \\\"message\\\": \\\"What is currently trending on Twitter?\\\"}\",\"session.id\":\"35cc6c90-b657-4819-b66c-c931c03ad569\",\"agno{key_suffix}.tools\":\"[\\\"duckduckgo_search\\\",\\\"duckduckgo_news\\\"]\",\"output.value\":\"{\\n \\\"content\\\": \\\"To find out what's currently trending on Twitter, you can visit the following resources:\\\\n\\\\n1. **[Twitter Explore](https://twitter.com/explore/tabs/trending/)**: Explore trending topics, hashtags, and conversations directly on Twitter.\\\\n\\\\n2. **[Trends24](https://trends24.in/united-states/)**: This site lists today's top X (Twitter) trends and hashtags in the United States, including topics like National Guard, Los Angeles, and more.\\\\n\\\\n3. **[Get Day Trends](https://getdaytrends.com/top/tweeted/day/)**: This platform analyzes Twitter data to provide insights on current trending topics and hashtags.\\\\n\\\\n4. **[91 Trends](https://91trends.com/twitter/united-states/)**: Get real-time updates on what's trending on Twitter in the United States.\\\\n\\\\n5. **[Global Twitter Trends](https://globaltwittertrends.com/united-states/)**: Check out what's trending specifically in the United States and view tweets based on those trends.\\\\n\\\\nFeel free to explore these links for the most up-to-date trending topics!\\\",\\n \\\"content_type\\\": \\\"str\\\",\\n \\\"event\\\": \\\"RunResponse\\\",\\n \\\"metrics\\\": {\\n \\\"input_tokens\\\": [\\n 163,\\n 663\\n ],\\n \\\"output_tokens\\\": [\\n 20,\\n 225\\n ],\\n \\\"total_tokens\\\": [\\n 183,\\n 888\\n ],\\n \\\"audio_tokens\\\": [\\n 0,\\n 0\\n ],\\n \\\"input_audio_tokens\\\": [\\n 0,\\n 0\\n ],\\n \\\"output_audio_tokens\\\": [\\n 0,\\n 0\\n ],\\n \\\"cached_tokens\\\": [\\n 0,\\n 0\\n ],\\n \\\"reasoning_tokens\\\": [\\n 0,\\n 0\\n ],\\n \\\"prompt_tokens\\\": [\\n 163,\\n 663\\n ],\\n \\\"completion_tokens\\\": [\\n 20,\\n 225\\n ],\\n \\\"prompt_tokens_details\\\": [\\n {\\n \\\"audio_tokens\\\": 0,\\n \\\"cached_tokens\\\": 0\\n },\\n {\\n \\\"audio_tokens\\\": 0,\\n \\\"cached_tokens\\\": 0\\n }\\n ],\\n \\\"completion_tokens_details\\\": [\\n {\\n \\\"accepted_prediction_tokens\\\": 0,\\n \\\"audio_tokens\\\": 0,\\n \\\"reasoning_tokens\\\": 0,\\n \\\"rejected_prediction_tokens\\\": 0\\n },\\n {\\n \\\"accepted_prediction_tokens\\\": 0,\\n \\\"audio_tokens\\\": 0,\\n \\\"reasoning_tokens\\\": 0,\\n \\\"rejected_prediction_tokens\\\": 0\\n }\\n ],\\n \\\"time\\\": [\\n 0.9596867079999356,\\n 4.799381209000785\\n ]\\n },\\n \\\"model\\\": \\\"gpt-4o-mini\\\",\\n \\\"model_provider\\\": \\\"OpenAI\\\",\\n \\\"run_id\\\": \\\"625aa1b6-dc11-4804-8f4b-e2f5b604c07f\\\",\\n \\\"agent_id\\\": \\\"007f4340-d3b3-4e4e-bf94-bdb22a16d8d5\\\",\\n \\\"session_id\\\": \\\"35cc6c90-b657-4819-b66c-c931c03ad569\\\",\\n \\\"formatted_tool_calls\\\": [\\n \\\"duckduckgo_search(query=currently trending on Twitter)\\\"\\n ],\\n \\\"created_at\\\": 1749650243,\\n \\\"messages\\\": [\\n {\\n \\\"content\\\": \\\"<additional_information>\\\\n- Use markdown to format your answers.\\\\n</additional_information>\\\",\\n \\\"from_history\\\": false,\\n \\\"stop_after_tool_call\\\": false,\\n \\\"role\\\": \\\"system\\\",\\n \\\"created_at\\\": 1749650492\\n },\\n {\\n \\\"content\\\": \\\"What is currently trending on Twitter?\\\",\\n \\\"from_history\\\": false,\\n \\\"stop_after_tool_call\\\": false,\\n \\\"role\\\": \\\"user\\\",\\n \\\"created_at\\\": 1749650492\\n },\\n {\\n \\\"from_history\\\": false,\\n \\\"stop_after_tool_call\\\": false,\\n \\\"role\\\": \\\"assistant\\\",\\n \\\"tool_calls\\\": [\\n {\\n \\\"id\\\": \\\"call_VybxG748CQId8Xxo6wb2pWy1\\\",\\n \\\"function\\\": {\\n \\\"arguments\\\": \\\"{\\\\\\\"query\\\\\\\":\\\\\\\"currently trending on Twitter\\\\\\\"}\\\",\\n \\\"name\\\": \\\"duckduckgo_search\\\"\\n },\\n \\\"type\\\": \\\"function\\\"\\n }\\n ],\\n \\\"metrics\\\": {\\n \\\"input_tokens\\\": 163,\\n \\\"output_tokens\\\": 20,\\n \\\"total_tokens\\\": 183,\\n \\\"prompt_tokens\\\": 163,\\n \\\"completion_tokens\\\": 20,\\n \\\"prompt_tokens_details\\\": {\\n \\\"audio_tokens\\\": 0,\\n \\\"cached_tokens\\\": 0\\n },\\n \\\"completion_tokens_details\\\": {\\n \\\"accepted_prediction_tokens\\\": 0,\\n \\\"audio_tokens\\\": 0,\\n \\\"reasoning_tokens\\\": 0,\\n \\\"rejected_prediction_tokens\\\": 0\\n },\\n \\\"time\\\": 0.9596867079999356\\n },\\n \\\"created_at\\\": 1749650492\\n },\\n {\\n \\\"content\\\": \\\"[\\\\n {\\\\n \\\\\\\"title\\\\\\\": \\\\\\\"Twitter. It's what's happening / Twitter\\\\\\\",\\\\n \\\\\\\"href\\\\\\\": \\\\\\\"https://twitter.com/explore/tabs/trending/\\\\\\\",\\\\n \\\\\\\"body\\\\\\\": \\\\\\\"Explore trending topics, hashtags, and conversations on Twitter.\\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\\"title\\\\\\\": \\\\\\\"United States \\\\\\\\u2014 X (Twitter) trending topics and hashtags today ...\\\\\\\",\\\\n \\\\\\\"href\\\\\\\": \\\\\\\"https://trends24.in/united-states/\\\\\\\",\\\\n \\\\\\\"body\\\\\\\": \\\\\\\"Today's top X (Twitter) trends and hashtags in United States: National Guard, Los Angeles, California, Peaceful, Marines. Explore more locations and trending topics on trends24.in\\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\\"title\\\\\\\": \\\\\\\"Worldwide \\\\\\\\u2022 Top Hashtags \\\\\\\\u2022 Most Tweeted \\\\\\\\u2022 Day - getdaytrends\\\\\\\",\\\\n \\\\\\\"href\\\\\\\": \\\\\\\"https://getdaytrends.com/top/tweeted/day/\\\\\\\",\\\\n \\\\\\\"body\\\\\\\": \\\\\\\"About Us. We store and analyze Twitter data to bring you insights on what's currently trending and help you keep up with the audience. Find out hot trends, review trend history and browse long-term popular hashtags and topics.\\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\\"title\\\\\\\": \\\\\\\"United States Latest Trending X (Twitter) hashtag and topics\\\\\\\",\\\\n \\\\\\\"href\\\\\\\": \\\\\\\"https://91trends.com/twitter/united-states/\\\\\\\",\\\\n \\\\\\\"body\\\\\\\": \\\\\\\"United States X (Twitter) Trends Now | Top X (Twitter) Trending Topics & Hashtags Today. Get real-time updates on the hottest trending hashtags and topics on X (Twitter) United States with our automated page. Our page utilizes the official X (Twitter) API to refresh the most talked-about hashtags and topics every 30 minutes, ensuring you always have access to the most current trends on the ...\\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\\"title\\\\\\\": \\\\\\\"Trending on Twitter United States today - Global Twitter Trends\\\\\\\",\\\\n \\\\\\\"href\\\\\\\": \\\\\\\"https://globaltwittertrends.com/united-states/\\\\\\\",\\\\n \\\\\\\"body\\\\\\\": \\\\\\\"Above is the table to show what's trending in United States twitter right now . You can click on any one of the trends to tweet it or view all tweets based on that trend. You can also view the twitter trends of all towns in United States by just searching on the search bar above or by choosing from the provided list of countries and towns.\\\\\\\"\\\\n }\\\\n]\\\",\\n \\\"from_history\\\": false,\\n \\\"stop_after_tool_call\\\": false,\\n \\\"role\\\": \\\"tool\\\",\\n \\\"tool_call_id\\\": \\\"call_VybxG748CQId8Xxo6wb2pWy1\\\",\\n \\\"tool_name\\\": \\\"duckduckgo_search\\\",\\n \\\"tool_args\\\": {\\n \\\"query\\\": \\\"currently trending on Twitter\\\"\\n },\\n \\\"tool_call_error\\\": false,\\n \\\"metrics\\\": {\\n \\\"time\\\": 0.7176052920003713\\n },\\n \\\"created_at\\\": 1749650494\\n },\\n {\\n \\\"content\\\": \\\"To find out what's currently trending on Twitter, you can visit the following resources:\\\\n\\\\n1. **[Twitter Explore](https://twitter.com/explore/tabs/trending/)**: Explore trending topics, hashtags, and conversations directly on Twitter.\\\\n\\\\n2. **[Trends24](https://trends24.in/united-states/)**: This site lists today's top X (Twitter) trends and hashtags in the United States, including topics like National Guard, Los Angeles, and more.\\\\n\\\\n3. **[Get Day Trends](https://getdaytrends.com/top/tweeted/day/)**: This platform analyzes Twitter data to provide insights on current trending topics and hashtags.\\\\n\\\\n4. **[91 Trends](https://91trends.com/twitter/united-states/)**: Get real-time updates on what's trending on Twitter in the United States.\\\\n\\\\n5. **[Global Twitter Trends](https://globaltwittertrends.com/united-states/)**: Check out what's trending specifically in the United States and view tweets based on those trends.\\\\n\\\\nFeel free to explore these links for the most up-to-date trending topics!\\\",\\n \\\"from_history\\\": false,\\n \\\"stop_after_tool_call\\\": false,\\n \\\"role\\\": \\\"assistant\\\",\\n \\\"metrics\\\": {\\n \\\"input_tokens\\\": 663,\\n \\\"output_tokens\\\": 225,\\n \\\"total_tokens\\\": 888,\\n \\\"prompt_tokens\\\": 663,\\n \\\"completion_tokens\\\": 225,\\n \\\"prompt_tokens_details\\\": {\\n \\\"audio_tokens\\\": 0,\\n \\\"cached_tokens\\\": 0\\n },\\n \\\"completion_tokens_details\\\": {\\n \\\"accepted_prediction_tokens\\\": 0,\\n \\\"audio_tokens\\\": 0,\\n \\\"reasoning_tokens\\\": 0,\\n \\\"rejected_prediction_tokens\\\": 0\\n },\\n \\\"time\\\": 4.799381209000785\\n },\\n \\\"created_at\\\": 1749650494\\n }\\n ],\\n \\\"tools\\\": [\\n {\\n \\\"tool_call_id\\\": \\\"call_VybxG748CQId8Xxo6wb2pWy1\\\",\\n \\\"tool_name\\\": \\\"duckduckgo_search\\\",\\n \\\"tool_args\\\": {\\n \\\"query\\\": \\\"currently trending on Twitter\\\"\\n },\\n \\\"tool_call_error\\\": false,\\n \\\"result\\\": \\\"[\\\\n {\\\\n \\\\\\\"title\\\\\\\": \\\\\\\"Twitter. It's what's happening / Twitter\\\\\\\",\\\\n \\\\\\\"href\\\\\\\": \\\\\\\"https://twitter.com/explore/tabs/trending/\\\\\\\",\\\\n \\\\\\\"body\\\\\\\": \\\\\\\"Explore trending topics, hashtags, and conversations on Twitter.\\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\\"title\\\\\\\": \\\\\\\"United States \\\\\\\\u2014 X (Twitter) trending topics and hashtags today ...\\\\\\\",\\\\n \\\\\\\"href\\\\\\\": \\\\\\\"https://trends24.in/united-states/\\\\\\\",\\\\n \\\\\\\"body\\\\\\\": \\\\\\\"Today's top X (Twitter) trends and hashtags in United States: National Guard, Los Angeles, California, Peaceful, Marines. Explore more locations and trending topics on trends24.in\\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\\"title\\\\\\\": \\\\\\\"Worldwide \\\\\\\\u2022 Top Hashtags \\\\\\\\u2022 Most Tweeted \\\\\\\\u2022 Day - getdaytrends\\\\\\\",\\\\n \\\\\\\"href\\\\\\\": \\\\\\\"https://getdaytrends.com/top/tweeted/day/\\\\\\\",\\\\n \\\\\\\"body\\\\\\\": \\\\\\\"About Us. We store and analyze Twitter data to bring you insights on what's currently trending and help you keep up with the audience. Find out hot trends, review trend history and browse long-term popular hashtags and topics.\\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\\"title\\\\\\\": \\\\\\\"United States Latest Trending X (Twitter) hashtag and topics\\\\\\\",\\\\n \\\\\\\"href\\\\\\\": \\\\\\\"https://91trends.com/twitter/united-states/\\\\\\\",\\\\n \\\\\\\"body\\\\\\\": \\\\\\\"United States X (Twitter) Trends Now | Top X (Twitter) Trending Topics & Hashtags Today. Get real-time updates on the hottest trending hashtags and topics on X (Twitter) United States with our automated page. Our page utilizes the official X (Twitter) API to refresh the most talked-about hashtags and topics every 30 minutes, ensuring you always have access to the most current trends on the ...\\\\\\\"\\\\n },\\\\n {\\\\n \\\\\\\"title\\\\\\\": \\\\\\\"Trending on Twitter United States today - Global Twitter Trends\\\\\\\",\\\\n \\\\\\\"href\\\\\\\": \\\\\\\"https://globaltwittertrends.com/united-states/\\\\\\\",\\\\n \\\\\\\"body\\\\\\\": \\\\\\\"Above is the table to show what's trending in United States twitter right now . You can click on any one of the trends to tweet it or view all tweets based on that trend. You can also view the twitter trends of all towns in United States by just searching on the search bar above or by choosing from the provided list of countries and towns.\\\\\\\"\\\\n }\\\\n]\\\",\\n \\\"metrics\\\": {\\n \\\"time\\\": 0.7176052920003713\\n },\\n \\\"stop_after_tool_call\\\": false,\\n \\\"created_at\\\": 1749650243,\\n \\\"requires_confirmation\\\": null,\\n \\\"confirmed\\\": null,\\n \\\"confirmation_note\\\": null,\\n \\\"requires_user_input\\\": null,\\n \\\"user_input_schema\\\": null,\\n \\\"external_execution_required\\\": null\\n }\\n ]\\n}\",\"output.mime_type\":\"application/json\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.33.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.agno\",\"version\":\"0.1.4\",\"attributes\":{}}}",
+ "metadata": "{\"attributes\":{\"input.value\":\"{\\\"query\\\": \\\"currently trending on Twitter\\\"}\",\"tool.name\":\"duckduckgo_search\",\"tool.description\":\"Use this function to search DuckDuckGo for a query.\",\"tool.parameters\":\"{\\\"query\\\": \\\"currently trending on Twitter\\\"}\",\"output.value\":\"[\\n {\\n \\\"title\\\": \\\"Twitter. It's what's happening / Twitter\\\",\\n \\\"href\\\": \\\"https://twitter.com/explore/tabs/trending/\\\",\\n \\\"body\\\": \\\"Explore trending topics, hashtags, and conversations on Twitter.\\\"\\n },\\n {\\n \\\"title\\\": \\\"United States \\\\u2014 X (Twitter) trending topics and hashtags today ...\\\",\\n \\\"href\\\": \\\"https://trends24.in/united-states/\\\",\\n \\\"body\\\": \\\"Today's top X (Twitter) trends and hashtags in United States: National Guard, Los Angeles, California, Peaceful, Marines. Explore more locations and trending topics on trends24.in\\\"\\n },\\n {\\n \\\"title\\\": \\\"Worldwide \\\\u2022 Top Hashtags \\\\u2022 Most Tweeted \\\\u2022 Day - getdaytrends\\\",\\n \\\"href\\\": \\\"https://getdaytrends.com/top/tweeted/day/\\\",\\n \\\"body\\\": \\\"About Us. We store and analyze Twitter data to bring you insights on what's currently trending and help you keep up with the audience. Find out hot trends, review trend history and browse long-term popular hashtags and topics.\\\"\\n },\\n {\\n \\\"title\\\": \\\"United States Latest Trending X (Twitter) hashtag and topics\\\",\\n \\\"href\\\": \\\"https://91trends.com/twitter/united-states/\\\",\\n \\\"body\\\": \\\"United States X (Twitter) Trends Now | Top X (Twitter) Trending Topics & Hashtags Today. Get real-time updates on the hottest trending hashtags and topics on X (Twitter) United States with our automated page. Our page utilizes the official X (Twitter) API to refresh the most talked-about hashtags and topics every 30 minutes, ensuring you always have access to the most current trends on the ...\\\"\\n },\\n {\\n \\\"title\\\": \\\"Trending on Twitter United States today - Global Twitter Trends\\\",\\n \\\"href\\\": \\\"https://globaltwittertrends.com/united-states/\\\",\\n \\\"body\\\": \\\"Above is the table to show what's trending in United States twitter right now . You can click on any one of the trends to tweet it or view all tweets based on that trend. You can also view the twitter trends of all towns in United States by just searching on the search bar above or by choosing from the provided list of countries and towns.\\\"\\n }\\n]\",\"output.mime_type\":\"text/plain\",\"openinference.span.kind\":\"TOOL\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.33.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.agno\",\"version\":\"0.1.4\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "6581e147aec6793a",
+ "id": "1f883bb9668167c0",
"traceId": "080130871f53145aecf7c29d5dfb6e4c",
- "startTime": "2025-06-11T14:01:33.564Z",
- "endTime": "2025-06-11T14:01:34.281Z",
+ "startTime": "2025-06-11T14:01:32.606Z",
+ "endTime": "2025-06-11T14:01:33.559Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "1cffdfa6fe3412e6",
- "type": "SPAN",
+ "parentObservationId": "ca136de468e156c9",
+ "type": "GENERATION",
"environment": "default",
- "name": "duckduckgo_search",
+ "name": "chat gpt-4o-mini",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-06-11T14:01:34.476Z",
- "updatedAt": "2025-06-11T14:01:34.529Z",
- "input": "{\"query\": \"currently trending on Twitter\"}",
- "output": "[\n {\n \"title\": \"Twitter. It's what's happening / Twitter\",\n \"href\": \"https://twitter.com/explore/tabs/trending/\",\n \"body\": \"Explore trending topics, hashtags, and conversations on Twitter.\"\n },\n {\n \"title\": \"United States \\u2014 X (Twitter) trending topics and hashtags today ...\",\n \"href\": \"https://trends24.in/united-states/\",\n \"body\": \"Today's top X (Twitter) trends and hashtags in United States: National Guard, Los Angeles, California, Peaceful, Marines. Explore more locations and trending topics on trends24.in\"\n },\n {\n \"title\": \"Worldwide \\u2022 Top Hashtags \\u2022 Most Tweeted \\u2022 Day - getdaytrends\",\n \"href\": \"https://getdaytrends.com/top/tweeted/day/\",\n \"body\": \"About Us. We store and analyze Twitter data to bring you insights on what's currently trending and help you keep up with the audience. Find out hot trends, review trend history and browse long-term popular hashtags and topics.\"\n },\n {\n \"title\": \"United States Latest Trending X (Twitter) hashtag and topics\",\n \"href\": \"https://91trends.com/twitter/united-states/\",\n \"body\": \"United States X (Twitter) Trends Now | Top X (Twitter) Trending Topics & Hashtags Today. Get real-time updates on the hottest trending hashtags and topics on X (Twitter) United States with our automated page. Our page utilizes the official X (Twitter) API to refresh the most talked-about hashtags and topics every 30 minutes, ensuring you always have access to the most current trends on the ...\"\n },\n {\n \"title\": \"Trending on Twitter United States today - Global Twitter Trends\",\n \"href\": \"https://globaltwittertrends.com/united-states/\",\n \"body\": \"Above is the table to show what's trending in United States twitter right now . You can click on any one of the trends to tweet it or view all tweets based on that trend. You can also view the twitter trends of all towns in United States by just searching on the search bar above or by choosing from the provided list of countries and towns.\"\n }\n]",
- "model": null,
- "internalModelId": null,
- "modelParameters": null,
+ "createdAt": "2025-06-11T14:01:33.719Z",
+ "updatedAt": "2025-06-11T14:01:33.768Z",
+ "input": "developer: <additional_information>\n- Use markdown to format your answers.\n</additional_information>\nuser: What is currently trending on Twitter?",
+ "output": "None",
+ "model": "gpt-4o-mini",
+ "internalModelId": "clyrjp56f0000t0mzapoocd7u",
+ "modelParameters": {
+ "seed": "",
+ "frequency_penalty": 0,
+ "max_tokens": -1,
+ "presence_penalty": 0,
+ "stop_sequences": "{\"arrayValue\":{}}",
+ "temperature": 1,
+ "top_p": 1,
+ "service_tier": "auto",
+ "user": "",
+ "is_stream": false
+ },
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0.717,
+ "latency": 0.953,
"timeToFirstToken": null,
- "usageDetails": {},
- "costDetails": {},
- "providedCostDetails": {},
+ "usageDetails": {
+ "input": 163,
+ "output": 20,
+ "total": 183
+ },
+ "costDetails": {
+ "total": 0.00003645
+ },
+ "providedCostDetails": {
+ "total": 0.00003645
+ },
"inputCost": null,
"outputCost": null,
- "totalCost": 0,
- "inputUsage": 0,
- "outputUsage": 0,
- "totalUsage": 0,
+ "totalCost": 0.00003645,
+ "inputUsage": 163,
+ "outputUsage": 20,
+ "totalUsage": 183,
"usagePricingTierId": null,
"usagePricingTierName": null,
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"input.value\":\"{\\\"query\\\": \\\"currently trending on Twitter\\\"}\",\"tool.name\":\"duckduckgo_search\",\"tool.description\":\"Use this function to search DuckDuckGo for a query.\",\"tool.parameters\":\"{\\\"query\\\": \\\"currently trending on Twitter\\\"}\",\"output.value\":\"[\\n {\\n \\\"title\\\": \\\"Twitter. It's what's happening / Twitter\\\",\\n \\\"href\\\": \\\"https://twitter.com/explore/tabs/trending/\\\",\\n \\\"body\\\": \\\"Explore trending topics, hashtags, and conversations on Twitter.\\\"\\n },\\n {\\n \\\"title\\\": \\\"United States \\\\u2014 X (Twitter) trending topics and hashtags today ...\\\",\\n \\\"href\\\": \\\"https://trends24.in/united-states/\\\",\\n \\\"body\\\": \\\"Today's top X (Twitter) trends and hashtags in United States: National Guard, Los Angeles, California, Peaceful, Marines. Explore more locations and trending topics on trends24.in\\\"\\n },\\n {\\n \\\"title\\\": \\\"Worldwide \\\\u2022 Top Hashtags \\\\u2022 Most Tweeted \\\\u2022 Day - getdaytrends\\\",\\n \\\"href\\\": \\\"https://getdaytrends.com/top/tweeted/day/\\\",\\n \\\"body\\\": \\\"About Us. We store and analyze Twitter data to bring you insights on what's currently trending and help you keep up with the audience. Find out hot trends, review trend history and browse long-term popular hashtags and topics.\\\"\\n },\\n {\\n \\\"title\\\": \\\"United States Latest Trending X (Twitter) hashtag and topics\\\",\\n \\\"href\\\": \\\"https://91trends.com/twitter/united-states/\\\",\\n \\\"body\\\": \\\"United States X (Twitter) Trends Now | Top X (Twitter) Trending Topics & Hashtags Today. Get real-time updates on the hottest trending hashtags and topics on X (Twitter) United States with our automated page. Our page utilizes the official X (Twitter) API to refresh the most talked-about hashtags and topics every 30 minutes, ensuring you always have access to the most current trends on the ...\\\"\\n },\\n {\\n \\\"title\\\": \\\"Trending on Twitter United States today - Global Twitter Trends\\\",\\n \\\"href\\\": \\\"https://globaltwittertrends.com/united-states/\\\",\\n \\\"body\\\": \\\"Above is the table to show what's trending in United States twitter right now . You can click on any one of the trends to tweet it or view all tweets based on that trend. You can also view the twitter trends of all towns in United States by just searching on the search bar above or by choosing from the provided list of countries and towns.\\\"\\n }\\n]\",\"output.mime_type\":\"text/plain\",\"openinference.span.kind\":\"TOOL\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.33.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.agno\",\"version\":\"0.1.4\",\"attributes\":{}}}",
- "internalModel": null
+ "metadata": "{\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.33.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"3.0.1\",\"attributes\":{\"public_key\":\"pk-lf-5855d85e-3943-497e-bd10-f50ad414bcba\"}}}",
+ "internalModel": "clyrjp56f0000t0mzapoocd7u"
+ },
+ {
+ "id": "ca136de468e156c9",
+ "traceId": "080130871f53145aecf7c29d5dfb6e4c",
+ "startTime": "2025-06-11T14:01:32.600Z",
+ "endTime": "2025-06-11T14:01:33.560Z",
+ "projectId": "cloramnkj0002jz088vzn1ja4",
+ "parentObservationId": "1cffdfa6fe3412e6",
+ "type": "GENERATION",
+ "environment": "default",
+ "name": "OpenAIChat.invoke",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": null,
+ "createdAt": "2025-06-11T14:01:33.719Z",
+ "updatedAt": "2025-06-11T14:01:33.752Z",
+ "input": "{\"messages\": [\"role='system' content='<additional_information>\\\\n- Use markdown to format your answers.\\\\n</additional_information>' name=None tool_call_id=None tool_calls=None audio=None images=None videos=None files=None audio_output=None image_output=None thinking=None redacted_thinking=None provider_data=None citations=None reasoning_content=None tool_name=None tool_args=None tool_call_error=None stop_after_tool_call=False add_to_agent_memory=True from_history=False metrics=MessageMetrics(input_tokens=0, output_tokens=0, total_tokens=0, audio_tokens=0, input_audio_tokens=0, output_audio_tokens=0, cached_tokens=0, reasoning_tokens=0, prompt_tokens=0, completion_tokens=0, prompt_tokens_details=None, completion_tokens_details=None, additional_metrics=None, time=None, time_to_first_token=None, timer=None) references=None created_at=1749650492\", \"role='user' content='What is currently trending on Twitter?' name=None tool_call_id=None tool_calls=None audio=None images=None videos=None files=None audio_output=None image_output=None thinking=None redacted_thinking=None provider_data=None citations=None reasoning_content=None tool_name=None tool_args=None tool_call_error=None stop_after_tool_call=False add_to_agent_memory=True from_history=False metrics=MessageMetrics(input_tokens=0, output_tokens=0, total_tokens=0, audio_tokens=0, input_audio_tokens=0, output_audio_tokens=0, cached_tokens=0, reasoning_tokens=0, prompt_tokens=0, completion_tokens=0, prompt_tokens_details=None, completion_tokens_details=None, additional_metrics=None, time=None, time_to_first_token=None, timer=None) references=None created_at=1749650492\"], \"tools\": [{\"type\": \"function\", \"function\": {\"name\": \"duckduckgo_search\", \"description\": \"Use this function to search DuckDuckGo for a query.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"query\": {\"type\": \"string\", \"description\": \"(str) The query to search for.\"}, \"max_results\": {\"type\": \"number\", \"description\": \"(optional, default=5) The maximum number of results to return.\"}}, \"required\": [\"query\"]}, \"requires_confirmation\": false, \"external_execution\": false}}, {\"type\": \"function\", \"function\": {\"name\": \"duckduckgo_news\", \"description\": \"Use this function to get the latest news from DuckDuckGo.\", \"parameters\": {\"type\": \"object\", \"properties\": {\"query\": {\"type\": \"string\", \"description\": \"(str) The query to search for.\"}, \"max_results\": {\"type\": \"number\", \"description\": \"(optional, default=5) The maximum number of results to return.\"}}, \"required\": [\"query\"]}, \"requires_confirmation\": false, \"external_execution\": false}}]}",
+ "output": "{\"id\":\"chatcmpl-BhGJAW79iSsHO7ES5wgoTga4hQFyn\",\"choices\":[{\"finish_reason\":\"tool_calls\",\"index\":0,\"logprobs\":null,\"message\":{\"content\":null,\"refusal\":null,\"role\":\"assistant\",\"annotations\":[],\"audio\":null,\"function_call\":null,\"tool_calls\":[{\"id\":\"call_VybxG748CQId8Xxo6wb2pWy1\",\"function\":{\"arguments\":\"{\\\"query\\\":\\\"currently trending on Twitter\\\"}\",\"name\":\"duckduckgo_search\"},\"type\":\"function\"}]}}],\"created\":1749650492,\"model\":\"gpt-4o-mini-2024-07-18\",\"object\":\"chat.completion\",\"service_tier\":\"default\",\"system_fingerprint\":\"fp_34a54ae93c\",\"usage\":{\"completion_tokens\":20,\"prompt_tokens\":163,\"total_tokens\":183,\"completion_tokens_details\":{\"accepted_prediction_tokens\":0,\"audio_tokens\":0,\"reasoning_tokens\":0,\"rejected_prediction_tokens\":0},\"prompt_tokens_details\":{\"audio_tokens\":0,\"cached_tokens\":0}}}",
+ "model": "gpt-4o-mini",
+ "internalModelId": "clyrjp56f0000t0mzapoocd7u",
+ "modelParameters": {},
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 0.96,
+ "timeToFirstToken": null,
+ "usageDetails": {
+ "input": 542,
+ "output": 235,
+ "total": 777
+ },
+ "costDetails": {
+ "input": 0.0000813,
+ "output": 0.000141,
+ "total": 0.0002223
+ },
+ "providedCostDetails": {},
+ "inputCost": 0.0000813,
+ "outputCost": 0.000141,
+ "totalCost": 0.0002223,
+ "inputUsage": 542,
+ "outputUsage": 235,
+ "totalUsage": 777,
+ "usagePricingTierId": null,
+ "usagePricingTierName": null,
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{\"attributes\":{\"input.mime_type\":\"application/json\",\"input.value\":\"{\\\"messages\\\": [\\\"role='system' content='<additional_information>\\\\\\\\n- Use markdown to format your answers.\\\\\\\\n</additional_information>' name=None tool_call_id=None tool_calls=None audio=None images=None videos=None files=None audio_output=None image_output=None thinking=None redacted_thinking=None provider_data=None citations=None reasoning_content=None tool_name=None tool_args=None tool_call_error=None stop_after_tool_call=False add_to_agent_memory=True from_history=False metrics=MessageMetrics(input_tokens=0, output_tokens=0, total_tokens=0, audio_tokens=0, input_audio_tokens=0, output_audio_tokens=0, cached_tokens=0, reasoning_tokens=0, prompt_tokens=0, completion_tokens=0, prompt_tokens_details=None, completion_tokens_details=None, additional_metrics=None, time=None, time_to_first_token=None, timer=None) references=None created_at=1749650492\\\", \\\"role='user' content='What is currently trending on Twitter?' name=None tool_call_id=None tool_calls=None audio=None images=None videos=None files=None audio_output=None image_output=None thinking=None redacted_thinking=None provider_data=None citations=None reasoning_content=None tool_name=None tool_args=None tool_call_error=None stop_after_tool_call=False add_to_agent_memory=True from_history=False metrics=MessageMetrics(input_tokens=0, output_tokens=0, total_tokens=0, audio_tokens=0, input_audio_tokens=0, output_audio_tokens=0, cached_tokens=0, reasoning_tokens=0, prompt_tokens=0, completion_tokens=0, prompt_tokens_details=None, completion_tokens_details=None, additional_metrics=None, time=None, time_to_first_token=None, timer=None) references=None created_at=1749650492\\\"], \\\"tools\\\": [{\\\"type\\\": \\\"function\\\", \\\"function\\\": {\\\"name\\\": \\\"duckduckgo_search\\\", \\\"description\\\": \\\"Use this function to search DuckDuckGo for a query.\\\", \\\"parameters\\\": {\\\"type\\\": \\\"object\\\", \\\"properties\\\": {\\\"query\\\": {\\\"type\\\": \\\"string\\\", \\\"description\\\": \\\"(str) The query to search for.\\\"}, \\\"max_results\\\": {\\\"type\\\": \\\"number\\\", \\\"description\\\": \\\"(optional, default=5) The maximum number of results to return.\\\"}}, \\\"required\\\": [\\\"query\\\"]}, \\\"requires_confirmation\\\": false, \\\"external_execution\\\": false}}, {\\\"type\\\": \\\"function\\\", \\\"function\\\": {\\\"name\\\": \\\"duckduckgo_news\\\", \\\"description\\\": \\\"Use this function to get the latest news from DuckDuckGo.\\\", \\\"parameters\\\": {\\\"type\\\": \\\"object\\\", \\\"properties\\\": {\\\"query\\\": {\\\"type\\\": \\\"string\\\", \\\"description\\\": \\\"(str) The query to search for.\\\"}, \\\"max_results\\\": {\\\"type\\\": \\\"number\\\", \\\"description\\\": \\\"(optional, default=5) The maximum number of results to return.\\\"}}, \\\"required\\\": [\\\"query\\\"]}, \\\"requires_confirmation\\\": false, \\\"external_execution\\\": false}}]}\",\"llm.input_messages.0.message.role\":\"system\",\"llm.input_messages.0.message.content\":\"<additional_information>\\n- Use markdown to format your answers.\\n</additional_information>\",\"llm.input_messages.1.message.role\":\"user\",\"llm.input_messages.1.message.content\":\"What is currently trending on Twitter?\",\"llm.tools.0.tool.json_schema\":\"{\\\"type\\\": \\\"function\\\", \\\"function\\\": {\\\"name\\\": \\\"duckduckgo_search\\\", \\\"description\\\": \\\"Use this function to search DuckDuckGo for a query.\\\", \\\"parameters\\\": {\\\"type\\\": \\\"object\\\", \\\"properties\\\": {\\\"query\\\": {\\\"type\\\": \\\"string\\\", \\\"description\\\": \\\"(str) The query to search for.\\\"}, \\\"max_results\\\": {\\\"type\\\": \\\"number\\\", \\\"description\\\": \\\"(optional, default=5) The maximum number of results to return.\\\"}}, \\\"required\\\": [\\\"query\\\"]}, \\\"requires_confirmation\\\": false, \\\"external_execution\\\": false}}\",\"llm.tools.1.tool.json_schema\":\"{\\\"type\\\": \\\"function\\\", \\\"function\\\": {\\\"name\\\": \\\"duckduckgo_news\\\", \\\"description\\\": \\\"Use this function to get the latest news from DuckDuckGo.\\\", \\\"parameters\\\": {\\\"type\\\": \\\"object\\\", \\\"properties\\\": {\\\"query\\\": {\\\"type\\\": \\\"string\\\", \\\"description\\\": \\\"(str) The query to search for.\\\"}, \\\"max_results\\\": {\\\"type\\\": \\\"number\\\", \\\"description\\\": \\\"(optional, default=5) The maximum number of results to return.\\\"}}, \\\"required\\\": [\\\"query\\\"]}, \\\"requires_confirmation\\\": false, \\\"external_execution\\\": false}}\",\"llm.model_name\":\"gpt-4o-mini\",\"llm.provider\":\"OpenAI\",\"output.mime_type\":\"application/json\",\"output.value\":\"{\\\"id\\\":\\\"chatcmpl-BhGJAW79iSsHO7ES5wgoTga4hQFyn\\\",\\\"choices\\\":[{\\\"finish_reason\\\":\\\"tool_calls\\\",\\\"index\\\":0,\\\"logprobs\\\":null,\\\"message\\\":{\\\"content\\\":null,\\\"refusal\\\":null,\\\"role\\\":\\\"assistant\\\",\\\"annotations\\\":[],\\\"audio\\\":null,\\\"function_call\\\":null,\\\"tool_calls\\\":[{\\\"id\\\":\\\"call_VybxG748CQId8Xxo6wb2pWy1\\\",\\\"function\\\":{\\\"arguments\\\":\\\"{\\\\\\\"query\\\\\\\":\\\\\\\"currently trending on Twitter\\\\\\\"}\\\",\\\"name\\\":\\\"duckduckgo_search\\\"},\\\"type\\\":\\\"function\\\"}]}}],\\\"created\\\":1749650492,\\\"model\\\":\\\"gpt-4o-mini-2024-07-18\\\",\\\"object\\\":\\\"chat.completion\\\",\\\"service_tier\\\":\\\"default\\\",\\\"system_fingerprint\\\":\\\"fp_34a54ae93c\\\",\\\"usage\\\":{\\\"completion_tokens\\\":20,\\\"prompt_tokens\\\":163,\\\"total_tokens\\\":183,\\\"completion_tokens_details\\\":{\\\"accepted_prediction_tokens\\\":0,\\\"audio_tokens\\\":0,\\\"reasoning_tokens\\\":0,\\\"rejected_prediction_tokens\\\":0},\\\"prompt_tokens_details\\\":{\\\"audio_tokens\\\":0,\\\"cached_tokens\\\":0}}}\",\"openinference.span.kind\":\"LLM\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.33.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.agno\",\"version\":\"0.1.4\",\"attributes\":{}}}",
+ "internalModel": "clyrjp56f0000t0mzapoocd7u"
}
]
}
diff --git a/worker/src/__tests__/chatml/framework-traces/autogen-2025-06-06.trace.json b/worker/src/__tests__/chatml/framework-traces/autogen-2025-06-06.trace.json
index aa42953b3d..f4828362d0 100644
--- a/worker/src/__tests__/chatml/framework-traces/autogen-2025-06-06.trace.json
+++ b/worker/src/__tests__/chatml/framework-traces/autogen-2025-06-06.trace.json
@@ -24,6 +24,48 @@
"corrections": [],
"latency": 0.645,
"observations": [
+ {
+ "id": "95f4f51edeb603d9",
+ "traceId": "1b72c51fabed12ae7df83bfd4a09f545",
+ "startTime": "2025-06-06T11:31:33.965Z",
+ "endTime": "2025-06-06T11:31:34.610Z",
+ "projectId": "cloramnkj0002jz088vzn1ja4",
+ "parentObservationId": null,
+ "type": "SPAN",
+ "environment": "default",
+ "name": "autogen-chat-trace",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": "1.0.0",
+ "createdAt": "2025-06-06T11:31:35.295Z",
+ "updatedAt": "2025-06-06T11:31:35.337Z",
+ "input": null,
+ "output": null,
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": null,
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 0.645,
+ "timeToFirstToken": null,
+ "usageDetails": {},
+ "costDetails": {},
+ "providedCostDetails": {},
+ "inputCost": null,
+ "outputCost": null,
+ "totalCost": 0,
+ "inputUsage": 0,
+ "outputUsage": 0,
+ "totalUsage": 0,
+ "usagePricingTierId": null,
+ "usagePricingTierName": null,
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{}"
+ },
{
"id": "83517f9062f5ada4",
"traceId": "1b72c51fabed12ae7df83bfd4a09f545",
@@ -84,52 +126,53 @@
"toolCalls": [],
"toolCallNames": [],
"metadata": "{}"
- },
- {
- "id": "95f4f51edeb603d9",
- "traceId": "1b72c51fabed12ae7df83bfd4a09f545",
- "startTime": "2025-06-06T11:31:33.965Z",
- "endTime": "2025-06-06T11:31:34.610Z",
- "projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": null,
- "type": "SPAN",
- "environment": "default",
- "name": "autogen-chat-trace",
- "level": "DEFAULT",
- "statusMessage": null,
- "version": "1.0.0",
- "createdAt": "2025-06-06T11:31:35.295Z",
- "updatedAt": "2025-06-06T11:31:35.337Z",
- "input": null,
- "output": null,
- "model": null,
- "internalModelId": null,
- "modelParameters": null,
- "completionStartTime": null,
- "promptId": null,
- "promptName": null,
- "promptVersion": null,
- "latency": 0.645,
- "timeToFirstToken": null,
- "usageDetails": {},
- "costDetails": {},
- "providedCostDetails": {},
- "inputCost": null,
- "outputCost": null,
- "totalCost": 0,
- "inputUsage": 0,
- "outputUsage": 0,
- "totalUsage": 0,
- "usagePricingTierId": null,
- "usagePricingTierName": null,
- "toolDefinitions": {},
- "toolCalls": [],
- "toolCallNames": [],
- "metadata": "{}"
}
]
},
"observations": [
+ {
+ "id": "95f4f51edeb603d9",
+ "traceId": "1b72c51fabed12ae7df83bfd4a09f545",
+ "startTime": "2025-06-06T11:31:33.965Z",
+ "endTime": "2025-06-06T11:31:34.610Z",
+ "projectId": "cloramnkj0002jz088vzn1ja4",
+ "parentObservationId": null,
+ "type": "SPAN",
+ "environment": "default",
+ "name": "autogen-chat-trace",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": "1.0.0",
+ "createdAt": "2025-06-06T11:31:35.295Z",
+ "updatedAt": "2025-06-06T11:31:35.337Z",
+ "input": null,
+ "output": null,
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": null,
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 0.645,
+ "timeToFirstToken": null,
+ "usageDetails": {},
+ "costDetails": {},
+ "providedCostDetails": {},
+ "inputCost": null,
+ "outputCost": null,
+ "totalCost": 0,
+ "inputUsage": 0,
+ "outputUsage": 0,
+ "totalUsage": 0,
+ "usagePricingTierId": null,
+ "usagePricingTierName": null,
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.33.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"3.0.0\",\"attributes\":{\"public_key\":\"pk-lf-5855d85e-3943-497e-bd10-f50ad414bcba\"}}}",
+ "internalModel": null
+ },
{
"id": "83517f9062f5ada4",
"traceId": "1b72c51fabed12ae7df83bfd4a09f545",
@@ -191,49 +234,6 @@
"toolCallNames": [],
"metadata": "{\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.33.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"3.0.0\",\"attributes\":{\"public_key\":\"pk-lf-5855d85e-3943-497e-bd10-f50ad414bcba\"}}}",
"internalModel": "b9854a5c92dc496b997d99d20"
- },
- {
- "id": "95f4f51edeb603d9",
- "traceId": "1b72c51fabed12ae7df83bfd4a09f545",
- "startTime": "2025-06-06T11:31:33.965Z",
- "endTime": "2025-06-06T11:31:34.610Z",
- "projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": null,
- "type": "SPAN",
- "environment": "default",
- "name": "autogen-chat-trace",
- "level": "DEFAULT",
- "statusMessage": null,
- "version": "1.0.0",
- "createdAt": "2025-06-06T11:31:35.295Z",
- "updatedAt": "2025-06-06T11:31:35.337Z",
- "input": null,
- "output": null,
- "model": null,
- "internalModelId": null,
- "modelParameters": null,
- "completionStartTime": null,
- "promptId": null,
- "promptName": null,
- "promptVersion": null,
- "latency": 0.645,
- "timeToFirstToken": null,
- "usageDetails": {},
- "costDetails": {},
- "providedCostDetails": {},
- "inputCost": null,
- "outputCost": null,
- "totalCost": 0,
- "inputUsage": 0,
- "outputUsage": 0,
- "totalUsage": 0,
- "usagePricingTierId": null,
- "usagePricingTierName": null,
- "toolDefinitions": {},
- "toolCalls": [],
- "toolCallNames": [],
- "metadata": "{\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.33.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"3.0.0\",\"attributes\":{\"public_key\":\"pk-lf-5855d85e-3943-497e-bd10-f50ad414bcba\"}}}",
- "internalModel": null
}
]
}
diff --git a/worker/src/__tests__/chatml/framework-traces/beeai-2025-08-01.trace.json b/worker/src/__tests__/chatml/framework-traces/beeai-2025-08-01.trace.json
index 86d475e7bb..81102e1635 100644
--- a/worker/src/__tests__/chatml/framework-traces/beeai-2025-08-01.trace.json
+++ b/worker/src/__tests__/chatml/framework-traces/beeai-2025-08-01.trace.json
@@ -71,57 +71,40 @@
"latency": 17.173,
"observations": [
{
- "id": "1f956cbea34725bd",
+ "id": "ff8b04dfe1f3e047",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:56:54.170Z",
- "endTime": "2025-08-01T13:57:11.333Z",
+ "startTime": "2025-08-01T13:56:55.682Z",
+ "endTime": "2025-08-01T13:57:11.334Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "bf28223502262e87",
- "type": "GENERATION",
+ "parentObservationId": "c48e7d031a4cb886",
+ "type": "SPAN",
"environment": "default",
- "name": "backend.openai.chat.start-14",
+ "name": "agent.react.update-13",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
"createdAt": "2025-08-01T13:57:14.161Z",
- "updatedAt": "2025-08-01T13:57:14.214Z",
+ "updatedAt": "2025-08-01T13:57:14.259Z",
"input": null,
"output": null,
- "model": "gpt-4o-mini",
- "internalModelId": "clyrjp56f0000t0mzapoocd7u",
- "modelParameters": {
- "max_tokens": "null",
- "top_p": "null",
- "frequency_penalty": "null",
- "temperature": 0.7,
- "top_k": "null",
- "n": "null",
- "presence_penalty": "null",
- "seed": "null",
- "stop_sequences": "null",
- "stream": "null"
- },
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": null,
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 17.163,
+ "latency": 15.652,
"timeToFirstToken": null,
- "usageDetails": {
- "input": 1195,
- "total": 1195
- },
- "costDetails": {
- "input": 0.00017925,
- "total": 0.00017925
- },
+ "usageDetails": {},
+ "costDetails": {},
"providedCostDetails": {},
- "inputCost": 0.00017925,
+ "inputCost": null,
"outputCost": null,
- "totalCost": 0.00017925,
- "inputUsage": 1195,
+ "totalCost": 0,
+ "inputUsage": 0,
"outputUsage": 0,
- "totalUsage": 1195,
+ "totalUsage": 0,
"usagePricingTierId": null,
"usagePricingTierName": null,
"toolDefinitions": {},
@@ -130,57 +113,40 @@
"metadata": "{}"
},
{
- "id": "4c5c5a7936ca24bc",
+ "id": "fce7074c89470876",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:57:03.889Z",
+ "startTime": "2025-08-01T13:56:57.470Z",
"endTime": "2025-08-01T13:57:11.334Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "10b12fd4cca3ef99",
- "type": "GENERATION",
+ "parentObservationId": "c48e7d031a4cb886",
+ "type": "SPAN",
"environment": "default",
- "name": "backend.openai.chat.start-16",
+ "name": "agent.react.partial_update-263",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.162Z",
- "updatedAt": "2025-08-01T13:57:14.239Z",
+ "createdAt": "2025-08-01T13:57:14.161Z",
+ "updatedAt": "2025-08-01T13:57:14.256Z",
"input": null,
"output": null,
- "model": "gpt-4o-mini",
- "internalModelId": "clyrjp56f0000t0mzapoocd7u",
- "modelParameters": {
- "max_tokens": "null",
- "top_p": "null",
- "frequency_penalty": "null",
- "temperature": 0.7,
- "top_k": "null",
- "n": "null",
- "presence_penalty": "null",
- "seed": "null",
- "stop_sequences": "null",
- "stream": "null"
- },
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": null,
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 7.445,
+ "latency": 13.864,
"timeToFirstToken": null,
- "usageDetails": {
- "input": 2359,
- "total": 2359
- },
- "costDetails": {
- "input": 0.00035385,
- "total": 0.00035385
- },
+ "usageDetails": {},
+ "costDetails": {},
"providedCostDetails": {},
- "inputCost": 0.00035385,
+ "inputCost": null,
"outputCost": null,
- "totalCost": 0.00035385,
- "inputUsage": 2359,
+ "totalCost": 0,
+ "inputUsage": 0,
"outputUsage": 0,
- "totalUsage": 2359,
+ "totalUsage": 0,
"usagePricingTierId": null,
"usagePricingTierName": null,
"toolDefinitions": {},
@@ -189,57 +155,40 @@
"metadata": "{}"
},
{
- "id": "52df0f7f9dad6b23",
+ "id": "8d28081d2ea0b09a",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:56:57.475Z",
- "endTime": "2025-08-01T13:57:11.334Z",
+ "startTime": "2025-08-01T13:56:55.399Z",
+ "endTime": "2025-08-01T13:57:11.333Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "9381f6df60cf8aa3",
- "type": "GENERATION",
+ "parentObservationId": "c48e7d031a4cb886",
+ "type": "SPAN",
"environment": "default",
- "name": "backend.openai.chat.start-15",
+ "name": "agent.react.update-11",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.169Z",
- "updatedAt": "2025-08-01T13:57:14.245Z",
+ "createdAt": "2025-08-01T13:57:14.162Z",
+ "updatedAt": "2025-08-01T13:57:14.256Z",
"input": null,
"output": null,
- "model": "gpt-4o-mini",
- "internalModelId": "clyrjp56f0000t0mzapoocd7u",
- "modelParameters": {
- "max_tokens": "null",
- "top_p": "null",
- "frequency_penalty": "null",
- "temperature": 0.7,
- "top_k": "null",
- "n": "null",
- "presence_penalty": "null",
- "seed": "null",
- "stop_sequences": "null",
- "stream": "null"
- },
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": null,
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 13.859,
+ "latency": 15.934,
"timeToFirstToken": null,
- "usageDetails": {
- "input": 1988,
- "total": 1988
- },
- "costDetails": {
- "input": 0.0002982,
- "total": 0.0002982
- },
+ "usageDetails": {},
+ "costDetails": {},
"providedCostDetails": {},
- "inputCost": 0.0002982,
+ "inputCost": null,
"outputCost": null,
- "totalCost": 0.0002982,
- "inputUsage": 1988,
+ "totalCost": 0,
+ "inputUsage": 0,
"outputUsage": 0,
- "totalUsage": 1988,
+ "totalUsage": 0,
"usagePricingTierId": null,
"usagePricingTierName": null,
"toolDefinitions": {},
@@ -248,41 +197,30 @@
"metadata": "{}"
},
{
- "id": "b7b9a79830fe5c6b",
+ "id": "6c9cab010e21d9ef",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:57:11.330Z",
- "endTime": "2025-08-01T13:57:11.336Z",
+ "startTime": "2025-08-01T13:57:03.579Z",
+ "endTime": "2025-08-01T13:57:11.334Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "8b26b3ec668cf146",
- "type": "GENERATION",
+ "parentObservationId": "0eb76c10a47e9086",
+ "type": "SPAN",
"environment": "default",
- "name": "backend.openai.chat.finish-16",
+ "name": "agent.react.update-17",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.163Z",
- "updatedAt": "2025-08-01T13:57:14.243Z",
+ "createdAt": "2025-08-01T13:57:14.162Z",
+ "updatedAt": "2025-08-01T13:57:14.256Z",
"input": null,
"output": null,
- "model": "gpt-4o-mini",
- "internalModelId": "clyrjp56f0000t0mzapoocd7u",
- "modelParameters": {
- "max_tokens": "null",
- "top_p": "null",
- "frequency_penalty": "null",
- "temperature": 0.7,
- "top_k": "null",
- "n": "null",
- "presence_penalty": "null",
- "seed": "null",
- "stop_sequences": "null",
- "stream": "null"
- },
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": null,
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0.006,
+ "latency": 7.755,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -301,41 +239,30 @@
"metadata": "{}"
},
{
- "id": "f50f7bbf13112df9",
+ "id": "322299e937be4455",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:57:11.328Z",
+ "startTime": "2025-08-01T13:57:11.332Z",
"endTime": "2025-08-01T13:57:11.336Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "8b26b3ec668cf146",
- "type": "GENERATION",
+ "parentObservationId": "39d661bf29b4dbbd",
+ "type": "SPAN",
"environment": "default",
- "name": "backend.openai.chat.success-16",
+ "name": "agent.react.success-2",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.163Z",
- "updatedAt": "2025-08-01T13:57:14.239Z",
+ "createdAt": "2025-08-01T13:57:14.169Z",
+ "updatedAt": "2025-08-01T13:57:14.252Z",
"input": null,
"output": null,
- "model": "gpt-4o-mini",
- "internalModelId": "clyrjp56f0000t0mzapoocd7u",
- "modelParameters": {
- "max_tokens": "null",
- "top_p": "null",
- "frequency_penalty": "null",
- "temperature": 0.7,
- "top_k": "null",
- "n": "null",
- "presence_penalty": "null",
- "seed": "null",
- "stop_sequences": "null",
- "stream": "null"
- },
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": null,
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0.008,
+ "latency": 0.004,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -354,20 +281,20 @@
"metadata": "{}"
},
{
- "id": "0eb76c10a47e9086",
+ "id": "bf28223502262e87",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:56:57.470Z",
- "endTime": "2025-08-01T13:57:11.334Z",
+ "startTime": "2025-08-01T13:56:54.166Z",
+ "endTime": "2025-08-01T13:57:11.333Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "cb4886242bf214b8",
+ "parentObservationId": "c48e7d031a4cb886",
"type": "SPAN",
"environment": "default",
- "name": "iteration-2",
+ "name": "agent.react.start-4",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
"createdAt": "2025-08-01T13:57:14.163Z",
- "updatedAt": "2025-08-01T13:57:14.243Z",
+ "updatedAt": "2025-08-01T13:57:14.249Z",
"input": null,
"output": null,
"model": null,
@@ -377,7 +304,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 13.864,
+ "latency": 17.167,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -396,20 +323,20 @@
"metadata": "{}"
},
{
- "id": "10b12fd4cca3ef99",
+ "id": "1d8ae8c504c576d2",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:57:03.886Z",
- "endTime": "2025-08-01T13:57:11.335Z",
+ "startTime": "2025-08-01T13:56:55.683Z",
+ "endTime": "2025-08-01T13:57:11.334Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "39d661bf29b4dbbd",
+ "parentObservationId": "ff8b04dfe1f3e047",
"type": "SPAN",
"environment": "default",
- "name": "agent.react.start-6",
+ "name": "tool.search.wikipedia.start-12",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.163Z",
- "updatedAt": "2025-08-01T13:57:14.216Z",
+ "createdAt": "2025-08-01T13:57:14.162Z",
+ "updatedAt": "2025-08-01T13:57:14.246Z",
"input": null,
"output": null,
"model": null,
@@ -419,7 +346,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 7.449,
+ "latency": 15.651,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -438,40 +365,57 @@
"metadata": "{}"
},
{
- "id": "1d8ae8c504c576d2",
+ "id": "52df0f7f9dad6b23",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:56:55.683Z",
+ "startTime": "2025-08-01T13:56:57.475Z",
"endTime": "2025-08-01T13:57:11.334Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "ff8b04dfe1f3e047",
- "type": "SPAN",
+ "parentObservationId": "9381f6df60cf8aa3",
+ "type": "GENERATION",
"environment": "default",
- "name": "tool.search.wikipedia.start-12",
+ "name": "backend.openai.chat.start-15",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.162Z",
- "updatedAt": "2025-08-01T13:57:14.246Z",
+ "createdAt": "2025-08-01T13:57:14.169Z",
+ "updatedAt": "2025-08-01T13:57:14.245Z",
"input": null,
"output": null,
- "model": null,
- "internalModelId": null,
- "modelParameters": null,
+ "model": "gpt-4o-mini",
+ "internalModelId": "clyrjp56f0000t0mzapoocd7u",
+ "modelParameters": {
+ "max_tokens": "null",
+ "top_p": "null",
+ "frequency_penalty": "null",
+ "temperature": 0.7,
+ "top_k": "null",
+ "n": "null",
+ "presence_penalty": "null",
+ "seed": "null",
+ "stop_sequences": "null",
+ "stream": "null"
+ },
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 15.651,
+ "latency": 13.859,
"timeToFirstToken": null,
- "usageDetails": {},
- "costDetails": {},
+ "usageDetails": {
+ "input": 1988,
+ "total": 1988
+ },
+ "costDetails": {
+ "input": 0.0002982,
+ "total": 0.0002982
+ },
"providedCostDetails": {},
- "inputCost": null,
+ "inputCost": 0.0002982,
"outputCost": null,
- "totalCost": 0,
- "inputUsage": 0,
+ "totalCost": 0.0002982,
+ "inputUsage": 1988,
"outputUsage": 0,
- "totalUsage": 0,
+ "totalUsage": 1988,
"usagePricingTierId": null,
"usagePricingTierName": null,
"toolDefinitions": {},
@@ -522,30 +466,41 @@
"metadata": "{}"
},
{
- "id": "322299e937be4455",
+ "id": "b7b9a79830fe5c6b",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:57:11.332Z",
+ "startTime": "2025-08-01T13:57:11.330Z",
"endTime": "2025-08-01T13:57:11.336Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "39d661bf29b4dbbd",
- "type": "SPAN",
+ "parentObservationId": "8b26b3ec668cf146",
+ "type": "GENERATION",
"environment": "default",
- "name": "agent.react.success-2",
+ "name": "backend.openai.chat.finish-16",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.169Z",
- "updatedAt": "2025-08-01T13:57:14.252Z",
+ "createdAt": "2025-08-01T13:57:14.163Z",
+ "updatedAt": "2025-08-01T13:57:14.243Z",
"input": null,
"output": null,
- "model": null,
- "internalModelId": null,
- "modelParameters": null,
+ "model": "gpt-4o-mini",
+ "internalModelId": "clyrjp56f0000t0mzapoocd7u",
+ "modelParameters": {
+ "max_tokens": "null",
+ "top_p": "null",
+ "frequency_penalty": "null",
+ "temperature": 0.7,
+ "top_k": "null",
+ "n": "null",
+ "presence_penalty": "null",
+ "seed": "null",
+ "stop_sequences": "null",
+ "stream": "null"
+ },
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0.004,
+ "latency": 0.006,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -564,20 +519,20 @@
"metadata": "{}"
},
{
- "id": "376ecc80b166b4a5",
+ "id": "0eb76c10a47e9086",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:56:57.468Z",
+ "startTime": "2025-08-01T13:56:57.470Z",
"endTime": "2025-08-01T13:57:11.334Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "ff8b04dfe1f3e047",
+ "parentObservationId": "cb4886242bf214b8",
"type": "SPAN",
"environment": "default",
- "name": "tool.search.wikipedia.finish-12",
+ "name": "iteration-2",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.162Z",
- "updatedAt": "2025-08-01T13:57:14.242Z",
+ "createdAt": "2025-08-01T13:57:14.163Z",
+ "updatedAt": "2025-08-01T13:57:14.243Z",
"input": null,
"output": null,
"model": null,
@@ -587,7 +542,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 13.866,
+ "latency": 13.864,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -606,20 +561,20 @@
"metadata": "{}"
},
{
- "id": "39d661bf29b4dbbd",
+ "id": "638f1207eba5c924",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:57:03.886Z",
- "endTime": "2025-08-01T13:57:11.336Z",
+ "startTime": "2025-08-01T13:57:05.655Z",
+ "endTime": "2025-08-01T13:57:11.335Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "cb4886242bf214b8",
+ "parentObservationId": "39d661bf29b4dbbd",
"type": "SPAN",
"environment": "default",
- "name": "iteration-3",
+ "name": "agent.react.update-19",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.164Z",
- "updatedAt": "2025-08-01T13:57:14.233Z",
+ "createdAt": "2025-08-01T13:57:14.163Z",
+ "updatedAt": "2025-08-01T13:57:14.243Z",
"input": null,
"output": null,
"model": null,
@@ -629,7 +584,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 7.45,
+ "latency": 5.68,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -648,20 +603,20 @@
"metadata": "{}"
},
{
- "id": "477d350ab1c6548d",
+ "id": "4ab39fcf35639b0c",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:57:03.886Z",
+ "startTime": "2025-08-01T13:56:57.470Z",
"endTime": "2025-08-01T13:57:11.334Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "0eb76c10a47e9086",
+ "parentObservationId": "c48e7d031a4cb886",
"type": "SPAN",
"environment": "default",
- "name": "agent.react.update-18",
+ "name": "agent.react.update-14",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.163Z",
- "updatedAt": "2025-08-01T13:57:14.211Z",
+ "createdAt": "2025-08-01T13:57:14.162Z",
+ "updatedAt": "2025-08-01T13:57:14.242Z",
"input": null,
"output": null,
"model": null,
@@ -671,7 +626,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 7.448,
+ "latency": 13.864,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -690,7 +645,7 @@
"metadata": "{}"
},
{
- "id": "49b16d9910843ef4",
+ "id": "376ecc80b166b4a5",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
"startTime": "2025-08-01T13:56:57.468Z",
"endTime": "2025-08-01T13:57:11.334Z",
@@ -698,12 +653,12 @@
"parentObservationId": "ff8b04dfe1f3e047",
"type": "SPAN",
"environment": "default",
- "name": "tool.search.wikipedia.success-12",
+ "name": "tool.search.wikipedia.finish-12",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.161Z",
- "updatedAt": "2025-08-01T13:57:14.210Z",
+ "createdAt": "2025-08-01T13:57:14.162Z",
+ "updatedAt": "2025-08-01T13:57:14.242Z",
"input": null,
"output": null,
"model": null,
@@ -732,20 +687,20 @@
"metadata": "{}"
},
{
- "id": "4ab39fcf35639b0c",
+ "id": "6c69cf2f9ea80007",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:56:57.470Z",
+ "startTime": "2025-08-01T13:57:03.274Z",
"endTime": "2025-08-01T13:57:11.334Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "c48e7d031a4cb886",
+ "parentObservationId": "0eb76c10a47e9086",
"type": "SPAN",
"environment": "default",
- "name": "agent.react.update-14",
+ "name": "agent.react.update-16",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.162Z",
- "updatedAt": "2025-08-01T13:57:14.242Z",
+ "createdAt": "2025-08-01T13:57:14.163Z",
+ "updatedAt": "2025-08-01T13:57:14.240Z",
"input": null,
"output": null,
"model": null,
@@ -755,7 +710,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 13.864,
+ "latency": 8.06,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -774,20 +729,20 @@
"metadata": "{}"
},
{
- "id": "4f7a25ab4555e106",
+ "id": "c48e7d031a4cb886",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:57:03.029Z",
+ "startTime": "2025-08-01T13:56:54.166Z",
"endTime": "2025-08-01T13:57:11.334Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "0eb76c10a47e9086",
+ "parentObservationId": "cb4886242bf214b8",
"type": "SPAN",
"environment": "default",
- "name": "agent.react.update-15",
+ "name": "iteration-1",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.161Z",
- "updatedAt": "2025-08-01T13:57:14.230Z",
+ "createdAt": "2025-08-01T13:57:14.164Z",
+ "updatedAt": "2025-08-01T13:57:14.240Z",
"input": null,
"output": null,
"model": null,
@@ -797,7 +752,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 8.305,
+ "latency": 17.168,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -816,20 +771,20 @@
"metadata": "{}"
},
{
- "id": "638f1207eba5c924",
+ "id": "8b26b3ec668cf146",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:57:05.655Z",
- "endTime": "2025-08-01T13:57:11.335Z",
+ "startTime": "2025-08-01T13:57:11.315Z",
+ "endTime": "2025-08-01T13:57:11.336Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
"parentObservationId": "39d661bf29b4dbbd",
"type": "SPAN",
"environment": "default",
- "name": "agent.react.update-19",
+ "name": "agent.react.partial_update-610",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
"createdAt": "2025-08-01T13:57:14.163Z",
- "updatedAt": "2025-08-01T13:57:14.243Z",
+ "updatedAt": "2025-08-01T13:57:14.239Z",
"input": null,
"output": null,
"model": null,
@@ -839,7 +794,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 5.68,
+ "latency": 0.021,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -858,30 +813,41 @@
"metadata": "{}"
},
{
- "id": "6c69cf2f9ea80007",
+ "id": "f50f7bbf13112df9",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:57:03.274Z",
- "endTime": "2025-08-01T13:57:11.334Z",
+ "startTime": "2025-08-01T13:57:11.328Z",
+ "endTime": "2025-08-01T13:57:11.336Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "0eb76c10a47e9086",
- "type": "SPAN",
+ "parentObservationId": "8b26b3ec668cf146",
+ "type": "GENERATION",
"environment": "default",
- "name": "agent.react.update-16",
+ "name": "backend.openai.chat.success-16",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
"createdAt": "2025-08-01T13:57:14.163Z",
- "updatedAt": "2025-08-01T13:57:14.240Z",
+ "updatedAt": "2025-08-01T13:57:14.239Z",
"input": null,
"output": null,
- "model": null,
- "internalModelId": null,
- "modelParameters": null,
+ "model": "gpt-4o-mini",
+ "internalModelId": "clyrjp56f0000t0mzapoocd7u",
+ "modelParameters": {
+ "max_tokens": "null",
+ "top_p": "null",
+ "frequency_penalty": "null",
+ "temperature": 0.7,
+ "top_k": "null",
+ "n": "null",
+ "presence_penalty": "null",
+ "seed": "null",
+ "stop_sequences": "null",
+ "stream": "null"
+ },
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 8.06,
+ "latency": 0.008,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -900,40 +866,57 @@
"metadata": "{}"
},
{
- "id": "6c9cab010e21d9ef",
+ "id": "4c5c5a7936ca24bc",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:57:03.579Z",
+ "startTime": "2025-08-01T13:57:03.889Z",
"endTime": "2025-08-01T13:57:11.334Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "0eb76c10a47e9086",
- "type": "SPAN",
+ "parentObservationId": "10b12fd4cca3ef99",
+ "type": "GENERATION",
"environment": "default",
- "name": "agent.react.update-17",
+ "name": "backend.openai.chat.start-16",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
"createdAt": "2025-08-01T13:57:14.162Z",
- "updatedAt": "2025-08-01T13:57:14.256Z",
+ "updatedAt": "2025-08-01T13:57:14.239Z",
"input": null,
"output": null,
- "model": null,
- "internalModelId": null,
- "modelParameters": null,
+ "model": "gpt-4o-mini",
+ "internalModelId": "clyrjp56f0000t0mzapoocd7u",
+ "modelParameters": {
+ "max_tokens": "null",
+ "top_p": "null",
+ "frequency_penalty": "null",
+ "temperature": 0.7,
+ "top_k": "null",
+ "n": "null",
+ "presence_penalty": "null",
+ "seed": "null",
+ "stop_sequences": "null",
+ "stream": "null"
+ },
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 7.755,
+ "latency": 7.445,
"timeToFirstToken": null,
- "usageDetails": {},
- "costDetails": {},
+ "usageDetails": {
+ "input": 2359,
+ "total": 2359
+ },
+ "costDetails": {
+ "input": 0.00035385,
+ "total": 0.00035385
+ },
"providedCostDetails": {},
- "inputCost": null,
+ "inputCost": 0.00035385,
"outputCost": null,
- "totalCost": 0,
- "inputUsage": 0,
+ "totalCost": 0.00035385,
+ "inputUsage": 2359,
"outputUsage": 0,
- "totalUsage": 0,
+ "totalUsage": 2359,
"usagePricingTierId": null,
"usagePricingTierName": null,
"toolDefinitions": {},
@@ -942,20 +925,20 @@
"metadata": "{}"
},
{
- "id": "8b26b3ec668cf146",
+ "id": "9381f6df60cf8aa3",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:57:11.315Z",
- "endTime": "2025-08-01T13:57:11.336Z",
+ "startTime": "2025-08-01T13:56:57.470Z",
+ "endTime": "2025-08-01T13:57:11.334Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "39d661bf29b4dbbd",
+ "parentObservationId": "0eb76c10a47e9086",
"type": "SPAN",
"environment": "default",
- "name": "agent.react.partial_update-610",
+ "name": "agent.react.start-5",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.163Z",
- "updatedAt": "2025-08-01T13:57:14.239Z",
+ "createdAt": "2025-08-01T13:57:14.161Z",
+ "updatedAt": "2025-08-01T13:57:14.237Z",
"input": null,
"output": null,
"model": null,
@@ -965,7 +948,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0.021,
+ "latency": 13.864,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -984,20 +967,20 @@
"metadata": "{}"
},
{
- "id": "8d28081d2ea0b09a",
+ "id": "96cb191e191a9378",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:56:55.399Z",
- "endTime": "2025-08-01T13:57:11.333Z",
+ "startTime": "2025-08-01T13:57:03.885Z",
+ "endTime": "2025-08-01T13:57:11.334Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "c48e7d031a4cb886",
+ "parentObservationId": "0eb76c10a47e9086",
"type": "SPAN",
"environment": "default",
- "name": "agent.react.update-11",
+ "name": "agent.react.partial_update-318",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.162Z",
- "updatedAt": "2025-08-01T13:57:14.256Z",
+ "createdAt": "2025-08-01T13:57:14.163Z",
+ "updatedAt": "2025-08-01T13:57:14.234Z",
"input": null,
"output": null,
"model": null,
@@ -1007,7 +990,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 15.934,
+ "latency": 7.449,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -1026,20 +1009,20 @@
"metadata": "{}"
},
{
- "id": "9381f6df60cf8aa3",
+ "id": "39d661bf29b4dbbd",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:56:57.470Z",
- "endTime": "2025-08-01T13:57:11.334Z",
+ "startTime": "2025-08-01T13:57:03.886Z",
+ "endTime": "2025-08-01T13:57:11.336Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "0eb76c10a47e9086",
+ "parentObservationId": "cb4886242bf214b8",
"type": "SPAN",
"environment": "default",
- "name": "agent.react.start-5",
+ "name": "iteration-3",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.161Z",
- "updatedAt": "2025-08-01T13:57:14.237Z",
+ "createdAt": "2025-08-01T13:57:14.164Z",
+ "updatedAt": "2025-08-01T13:57:14.233Z",
"input": null,
"output": null,
"model": null,
@@ -1049,7 +1032,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 13.864,
+ "latency": 7.45,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -1068,20 +1051,20 @@
"metadata": "{}"
},
{
- "id": "96cb191e191a9378",
+ "id": "4f7a25ab4555e106",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:57:03.885Z",
+ "startTime": "2025-08-01T13:57:03.029Z",
"endTime": "2025-08-01T13:57:11.334Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
"parentObservationId": "0eb76c10a47e9086",
"type": "SPAN",
"environment": "default",
- "name": "agent.react.partial_update-318",
+ "name": "agent.react.update-15",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.163Z",
- "updatedAt": "2025-08-01T13:57:14.234Z",
+ "createdAt": "2025-08-01T13:57:14.161Z",
+ "updatedAt": "2025-08-01T13:57:14.230Z",
"input": null,
"output": null,
"model": null,
@@ -1091,7 +1074,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 7.449,
+ "latency": 8.305,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -1152,20 +1135,20 @@
"metadata": "{}"
},
{
- "id": "bf28223502262e87",
+ "id": "10b12fd4cca3ef99",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:56:54.166Z",
- "endTime": "2025-08-01T13:57:11.333Z",
+ "startTime": "2025-08-01T13:57:03.886Z",
+ "endTime": "2025-08-01T13:57:11.335Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "c48e7d031a4cb886",
+ "parentObservationId": "39d661bf29b4dbbd",
"type": "SPAN",
"environment": "default",
- "name": "agent.react.start-4",
+ "name": "agent.react.start-6",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
"createdAt": "2025-08-01T13:57:14.163Z",
- "updatedAt": "2025-08-01T13:57:14.249Z",
+ "updatedAt": "2025-08-01T13:57:14.216Z",
"input": null,
"output": null,
"model": null,
@@ -1175,7 +1158,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 17.167,
+ "latency": 7.449,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -1194,40 +1177,57 @@
"metadata": "{}"
},
{
- "id": "c48e7d031a4cb886",
+ "id": "1f956cbea34725bd",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:56:54.166Z",
- "endTime": "2025-08-01T13:57:11.334Z",
+ "startTime": "2025-08-01T13:56:54.170Z",
+ "endTime": "2025-08-01T13:57:11.333Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "cb4886242bf214b8",
- "type": "SPAN",
+ "parentObservationId": "bf28223502262e87",
+ "type": "GENERATION",
"environment": "default",
- "name": "iteration-1",
+ "name": "backend.openai.chat.start-14",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.164Z",
- "updatedAt": "2025-08-01T13:57:14.240Z",
+ "createdAt": "2025-08-01T13:57:14.161Z",
+ "updatedAt": "2025-08-01T13:57:14.214Z",
"input": null,
"output": null,
- "model": null,
- "internalModelId": null,
- "modelParameters": null,
+ "model": "gpt-4o-mini",
+ "internalModelId": "clyrjp56f0000t0mzapoocd7u",
+ "modelParameters": {
+ "max_tokens": "null",
+ "top_p": "null",
+ "frequency_penalty": "null",
+ "temperature": 0.7,
+ "top_k": "null",
+ "n": "null",
+ "presence_penalty": "null",
+ "seed": "null",
+ "stop_sequences": "null",
+ "stream": "null"
+ },
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 17.168,
+ "latency": 17.163,
"timeToFirstToken": null,
- "usageDetails": {},
- "costDetails": {},
+ "usageDetails": {
+ "input": 1195,
+ "total": 1195
+ },
+ "costDetails": {
+ "input": 0.00017925,
+ "total": 0.00017925
+ },
"providedCostDetails": {},
- "inputCost": null,
+ "inputCost": 0.00017925,
"outputCost": null,
- "totalCost": 0,
- "inputUsage": 0,
+ "totalCost": 0.00017925,
+ "inputUsage": 1195,
"outputUsage": 0,
- "totalUsage": 0,
+ "totalUsage": 1195,
"usagePricingTierId": null,
"usagePricingTierName": null,
"toolDefinitions": {},
@@ -1278,20 +1278,20 @@
"metadata": "{}"
},
{
- "id": "fce7074c89470876",
+ "id": "477d350ab1c6548d",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:56:57.470Z",
+ "startTime": "2025-08-01T13:57:03.886Z",
"endTime": "2025-08-01T13:57:11.334Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "c48e7d031a4cb886",
+ "parentObservationId": "0eb76c10a47e9086",
"type": "SPAN",
"environment": "default",
- "name": "agent.react.partial_update-263",
+ "name": "agent.react.update-18",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.161Z",
- "updatedAt": "2025-08-01T13:57:14.256Z",
+ "createdAt": "2025-08-01T13:57:14.163Z",
+ "updatedAt": "2025-08-01T13:57:14.211Z",
"input": null,
"output": null,
"model": null,
@@ -1301,7 +1301,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 13.864,
+ "latency": 7.448,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -1320,20 +1320,20 @@
"metadata": "{}"
},
{
- "id": "ff8b04dfe1f3e047",
+ "id": "49b16d9910843ef4",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:56:55.682Z",
+ "startTime": "2025-08-01T13:56:57.468Z",
"endTime": "2025-08-01T13:57:11.334Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "c48e7d031a4cb886",
+ "parentObservationId": "ff8b04dfe1f3e047",
"type": "SPAN",
"environment": "default",
- "name": "agent.react.update-13",
+ "name": "tool.search.wikipedia.success-12",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
"createdAt": "2025-08-01T13:57:14.161Z",
- "updatedAt": "2025-08-01T13:57:14.259Z",
+ "updatedAt": "2025-08-01T13:57:14.210Z",
"input": null,
"output": null,
"model": null,
@@ -1343,7 +1343,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 15.652,
+ "latency": 13.866,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -1365,221 +1365,116 @@
},
"observations": [
{
- "id": "1f956cbea34725bd",
- "traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:56:54.170Z",
- "endTime": "2025-08-01T13:57:11.333Z",
- "projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "bf28223502262e87",
- "type": "GENERATION",
- "environment": "default",
- "name": "backend.openai.chat.start-14",
- "level": "DEFAULT",
- "statusMessage": null,
- "version": null,
- "createdAt": "2025-08-01T13:57:14.161Z",
- "updatedAt": "2025-08-01T13:57:14.214Z",
- "input": "[{\"role\": \"system\", \"content\": \"# Available functions\\nYou can only use the following functions. Always use all required parameters.\\n\\nFunction Name: Wikipedia\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\nInput Schema: {\\\"properties\\\": {\\\"full_text\\\": {\\\"default\\\": false, \\\"description\\\": \\\"If set to true, it will return the full text of the page instead of its short summary.\\\", \\\"title\\\": \\\"Full Text\\\", \\\"type\\\": \\\"boolean\\\"}, \\\"query\\\": {\\\"description\\\": \\\"Name of the Wikipedia page.\\\", \\\"title\\\": \\\"Query\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"query\\\"], \\\"title\\\": \\\"WikipediaToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\nFunction Name: OpenMeteoTool\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\nInput Schema: {\\\"properties\\\": {\\\"country\\\": {\\\"anyOf\\\": [{\\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Country name.\\\", \\\"title\\\": \\\"Country\\\"}, \\\"end_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"End Date\\\"}, \\\"location_name\\\": {\\\"description\\\": \\\"The name of the location to retrieve weather information.\\\", \\\"title\\\": \\\"Location Name\\\", \\\"type\\\": \\\"string\\\"}, \\\"start_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"Start Date\\\"}, \\\"temperature_unit\\\": {\\\"default\\\": \\\"celsius\\\", \\\"description\\\": \\\"The unit to express temperature\\\", \\\"enum\\\": [\\\"celsius\\\", \\\"fahrenheit\\\"], \\\"title\\\": \\\"Temperature Unit\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"location_name\\\"], \\\"title\\\": \\\"OpenMeteoToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\n# Communication structure\\nYou communicate only in instruction lines. The format is: \\\"Instruction: expected output\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\n\\nMessage: User's message. You never use this instruction line.\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\"arg1\\\":\\\"value1\\\", \\\"arg2\\\":\\\"value2\\\"}. Empty object is a valid parameter.\\nFunction Output: Output of the function in JSON format.\\nThought: Continue your thinking process.\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\n\\n## Examples\\nMessage: Can you translate \\\"How are you\\\" into French?\\nThought: The user wants to translate a text into French. I can do that.\\nFinal Answer: Comment vas-tu?\\n\\n# Instructions\\nUser can only see the Final Answer, all answers must be provided there.\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\nFunctions must be used to retrieve factual or historical information to answer the message.\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\n\\n# Your capabilities\\nPrefer to use these capabilities over functions.\\n- You understand these languages: English, Spanish, French.\\n- You can translate and summarize, even long documents.\\n\\n# Notes\\n- If you don't know the answer, say that you don't know.\\n- The current time and date in ISO format might be found in the last message.\\n- When answering the user, use friendly formats for time and date.\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\n\"}, {\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\n\\nThis message was created at 2025-08-01T13:56:54+00:00\"}]}]",
- "output": null,
- "model": "gpt-4o-mini",
- "internalModelId": "clyrjp56f0000t0mzapoocd7u",
- "modelParameters": {
- "max_tokens": "null",
- "top_p": "null",
- "frequency_penalty": "null",
- "temperature": 0.7,
- "top_k": "null",
- "n": "null",
- "presence_penalty": "null",
- "seed": "null",
- "stop_sequences": "null",
- "stream": "null"
- },
- "completionStartTime": null,
- "promptId": null,
- "promptName": null,
- "promptVersion": null,
- "latency": 17.163,
- "timeToFirstToken": null,
- "usageDetails": {
- "input": 1195,
- "total": 1195
- },
- "costDetails": {
- "input": 0.00017925,
- "total": 0.00017925
- },
- "providedCostDetails": {},
- "inputCost": 0.00017925,
- "outputCost": null,
- "totalCost": 0.00017925,
- "inputUsage": 1195,
- "outputUsage": 0,
- "totalUsage": 1195,
- "usagePricingTierId": null,
- "usagePricingTierName": null,
- "toolDefinitions": {},
- "toolCalls": [],
- "toolCallNames": [],
- "metadata": "{\"attributes\":{\"target\":\"backend.openai.chat.start\",\"name\":\"start\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"input.mime_type\":\"application/json\",\"input.value\":\"[{\\\"role\\\": \\\"system\\\", \\\"content\\\": \\\"# Available functions\\\\nYou can only use the following functions. Always use all required parameters.\\\\n\\\\nFunction Name: Wikipedia\\\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\\\nInput Schema: {\\\\\\\"properties\\\\\\\": {\\\\\\\"full_text\\\\\\\": {\\\\\\\"default\\\\\\\": false, \\\\\\\"description\\\\\\\": \\\\\\\"If set to true, it will return the full text of the page instead of its short summary.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Full Text\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"boolean\\\\\\\"}, \\\\\\\"query\\\\\\\": {\\\\\\\"description\\\\\\\": \\\\\\\"Name of the Wikipedia page.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Query\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}}, \\\\\\\"required\\\\\\\": [\\\\\\\"query\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"WikipediaToolInput\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"object\\\\\\\"}\\\\n\\\\nFunction Name: OpenMeteoTool\\\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\\\nInput Schema: {\\\\\\\"properties\\\\\\\": {\\\\\\\"country\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"Country name.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Country\\\\\\\"}, \\\\\\\"end_date\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"format\\\\\\\": \\\\\\\"date\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"End Date\\\\\\\"}, \\\\\\\"location_name\\\\\\\": {\\\\\\\"description\\\\\\\": \\\\\\\"The name of the location to retrieve weather information.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Location Name\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, \\\\\\\"start_date\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"format\\\\\\\": \\\\\\\"date\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Start Date\\\\\\\"}, \\\\\\\"temperature_unit\\\\\\\": {\\\\\\\"default\\\\\\\": \\\\\\\"celsius\\\\\\\", \\\\\\\"description\\\\\\\": \\\\\\\"The unit to express temperature\\\\\\\", \\\\\\\"enum\\\\\\\": [\\\\\\\"celsius\\\\\\\", \\\\\\\"fahrenheit\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"Temperature Unit\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}}, \\\\\\\"required\\\\\\\": [\\\\\\\"location_name\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"OpenMeteoToolInput\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"object\\\\\\\"}\\\\n\\\\n# Communication structure\\\\nYou communicate only in instruction lines. The format is: \\\\\\\"Instruction: expected output\\\\\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\\\n\\\\nMessage: User's message. You never use this instruction line.\\\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\\\\\"arg1\\\\\\\":\\\\\\\"value1\\\\\\\", \\\\\\\"arg2\\\\\\\":\\\\\\\"value2\\\\\\\"}. Empty object is a valid parameter.\\\\nFunction Output: Output of the function in JSON format.\\\\nThought: Continue your thinking process.\\\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\\\n\\\\n## Examples\\\\nMessage: Can you translate \\\\\\\"How are you\\\\\\\" into French?\\\\nThought: The user wants to translate a text into French. I can do that.\\\\nFinal Answer: Comment vas-tu?\\\\n\\\\n# Instructions\\\\nUser can only see the Final Answer, all answers must be provided there.\\\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\\\nFunctions must be used to retrieve factual or historical information to answer the message.\\\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\\\n\\\\n# Your capabilities\\\\nPrefer to use these capabilities over functions.\\\\n- You understand these languages: English, Spanish, French.\\\\n- You can translate and summarize, even long documents.\\\\n\\\\n# Notes\\\\n- If you don't know the answer, say that you don't know.\\\\n- The current time and date in ISO format might be found in the last message.\\\\n- When answering the user, use friendly formats for time and date.\\\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\\\n\\\"}, {\\\"role\\\": \\\"user\\\", \\\"content\\\": [{\\\"type\\\": \\\"text\\\", \\\"text\\\": \\\"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\\\n\\\\nThis message was created at 2025-08-01T13:56:54+00:00\\\"}]}]\",\"llm.input_messages.0.message.role\":\"system\",\"llm.input_messages.0.message.content\":\"# Available functions\\nYou can only use the following functions. Always use all required parameters.\\n\\nFunction Name: Wikipedia\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\nInput Schema: {\\\"properties\\\": {\\\"full_text\\\": {\\\"default\\\": false, \\\"description\\\": \\\"If set to true, it will return the full text of the page instead of its short summary.\\\", \\\"title\\\": \\\"Full Text\\\", \\\"type\\\": \\\"boolean\\\"}, \\\"query\\\": {\\\"description\\\": \\\"Name of the Wikipedia page.\\\", \\\"title\\\": \\\"Query\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"query\\\"], \\\"title\\\": \\\"WikipediaToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\nFunction Name: OpenMeteoTool\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\nInput Schema: {\\\"properties\\\": {\\\"country\\\": {\\\"anyOf\\\": [{\\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Country name.\\\", \\\"title\\\": \\\"Country\\\"}, \\\"end_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"End Date\\\"}, \\\"location_name\\\": {\\\"description\\\": \\\"The name of the location to retrieve weather information.\\\", \\\"title\\\": \\\"Location Name\\\", \\\"type\\\": \\\"string\\\"}, \\\"start_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"Start Date\\\"}, \\\"temperature_unit\\\": {\\\"default\\\": \\\"celsius\\\", \\\"description\\\": \\\"The unit to express temperature\\\", \\\"enum\\\": [\\\"celsius\\\", \\\"fahrenheit\\\"], \\\"title\\\": \\\"Temperature Unit\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"location_name\\\"], \\\"title\\\": \\\"OpenMeteoToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\n# Communication structure\\nYou communicate only in instruction lines. The format is: \\\"Instruction: expected output\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\n\\nMessage: User's message. You never use this instruction line.\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\"arg1\\\":\\\"value1\\\", \\\"arg2\\\":\\\"value2\\\"}. Empty object is a valid parameter.\\nFunction Output: Output of the function in JSON format.\\nThought: Continue your thinking process.\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\n\\n## Examples\\nMessage: Can you translate \\\"How are you\\\" into French?\\nThought: The user wants to translate a text into French. I can do that.\\nFinal Answer: Comment vas-tu?\\n\\n# Instructions\\nUser can only see the Final Answer, all answers must be provided there.\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\nFunctions must be used to retrieve factual or historical information to answer the message.\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\n\\n# Your capabilities\\nPrefer to use these capabilities over functions.\\n- You understand these languages: English, Spanish, French.\\n- You can translate and summarize, even long documents.\\n\\n# Notes\\n- If you don't know the answer, say that you don't know.\\n- The current time and date in ISO format might be found in the last message.\\n- When answering the user, use friendly formats for time and date.\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\n\",\"llm.input_messages.1.message.role\":\"user\",\"llm.input_messages.1.message.content\":\"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\n\\nThis message was created at 2025-08-01T13:56:54+00:00\",\"llm.provider\":\"openai\",\"llm.model_name\":\"gpt-4o-mini\",\"llm.invocation_parameters\":\"{\\\"max_tokens\\\":null,\\\"top_p\\\":null,\\\"frequency_penalty\\\":null,\\\"temperature\\\":0.7,\\\"top_k\\\":null,\\\"n\\\":null,\\\"presence_penalty\\\":null,\\\"seed\\\":null,\\\"stop_sequences\\\":null,\\\"stream\\\":null}\",\"openinference.span.kind\":\"LLM\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
- "internalModel": "clyrjp56f0000t0mzapoocd7u"
- },
- {
- "id": "4c5c5a7936ca24bc",
+ "id": "ff8b04dfe1f3e047",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:57:03.889Z",
+ "startTime": "2025-08-01T13:56:55.682Z",
"endTime": "2025-08-01T13:57:11.334Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "10b12fd4cca3ef99",
- "type": "GENERATION",
+ "parentObservationId": "c48e7d031a4cb886",
+ "type": "SPAN",
"environment": "default",
- "name": "backend.openai.chat.start-16",
+ "name": "agent.react.update-13",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.162Z",
- "updatedAt": "2025-08-01T13:57:14.239Z",
- "input": "[{\"role\": \"system\", \"content\": \"# Available functions\\nYou can only use the following functions. Always use all required parameters.\\n\\nFunction Name: Wikipedia\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\nInput Schema: {\\\"properties\\\": {\\\"full_text\\\": {\\\"default\\\": false, \\\"description\\\": \\\"If set to true, it will return the full text of the page instead of its short summary.\\\", \\\"title\\\": \\\"Full Text\\\", \\\"type\\\": \\\"boolean\\\"}, \\\"query\\\": {\\\"description\\\": \\\"Name of the Wikipedia page.\\\", \\\"title\\\": \\\"Query\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"query\\\"], \\\"title\\\": \\\"WikipediaToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\nFunction Name: OpenMeteoTool\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\nInput Schema: {\\\"properties\\\": {\\\"country\\\": {\\\"anyOf\\\": [{\\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Country name.\\\", \\\"title\\\": \\\"Country\\\"}, \\\"end_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"End Date\\\"}, \\\"location_name\\\": {\\\"description\\\": \\\"The name of the location to retrieve weather information.\\\", \\\"title\\\": \\\"Location Name\\\", \\\"type\\\": \\\"string\\\"}, \\\"start_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"Start Date\\\"}, \\\"temperature_unit\\\": {\\\"default\\\": \\\"celsius\\\", \\\"description\\\": \\\"The unit to express temperature\\\", \\\"enum\\\": [\\\"celsius\\\", \\\"fahrenheit\\\"], \\\"title\\\": \\\"Temperature Unit\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"location_name\\\"], \\\"title\\\": \\\"OpenMeteoToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\n# Communication structure\\nYou communicate only in instruction lines. The format is: \\\"Instruction: expected output\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\n\\nMessage: User's message. You never use this instruction line.\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\"arg1\\\":\\\"value1\\\", \\\"arg2\\\":\\\"value2\\\"}. Empty object is a valid parameter.\\nFunction Output: Output of the function in JSON format.\\nThought: Continue your thinking process.\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\n\\n## Examples\\nMessage: Can you translate \\\"How are you\\\" into French?\\nThought: The user wants to translate a text into French. I can do that.\\nFinal Answer: Comment vas-tu?\\n\\n# Instructions\\nUser can only see the Final Answer, all answers must be provided there.\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\nFunctions must be used to retrieve factual or historical information to answer the message.\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\n\\n# Your capabilities\\nPrefer to use these capabilities over functions.\\n- You understand these languages: English, Spanish, French.\\n- You can translate and summarize, even long documents.\\n\\n# Notes\\n- If you don't know the answer, say that you don't know.\\n- The current time and date in ISO format might be found in the last message.\\n- When answering the user, use friendly formats for time and date.\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\n\"}, {\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\n\\nThis message was created at 2025-08-01T13:56:54+00:00\"}]}, {\"role\": \"assistant\", \"content\": [{\"type\": \"text\", \"text\": \"Thought: I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \\nFunction Name: Wikipedia\\nFunction Input: {\\\"query\\\": \\\"Tourism in Barcelona\\\"}\\nFunction Output: [{\\\"description\\\": \\\"Barcelona ( BAR-s\\u0259-LOH-n\\u0259; Catalan: [b\\u0259\\u027es\\u0259\\u02c8lon\\u0259] ; Spanish: [ba\\u027e\\u03b8e\\u02c8lona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Bes\\u00f2s, bounded to the west by the Serra de Collserola mountain range.\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaud\\u00ed and Llu\\u00eds Dom\\u00e8nech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona\\u2013El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\", \\\"title\\\": \\\"Barcelona\\\", \\\"url\\\": \\\"https://en.wikipedia.org/wiki/Barcelona\\\"}]\\n\"}]}, {\"role\": \"assistant\", \"content\": [{\"type\": \"text\", \"text\": \"Thought: I found information about Barcelona, including its rich cultural heritage and key attractions like the architectural works of Antoni Gaud\\u00ed. Now, I will check the current weather conditions in Barcelona. \\nFunction Name: OpenMeteoTool\\nFunction Input: {\\\"country\\\": \\\"Spain\\\", \\\"location_name\\\": \\\"Barcelona\\\"}\\nFunction Output: {\\\"latitude\\\": 41.4375, \\\"longitude\\\": 2.1875, \\\"generationtime_ms\\\": 0.0553131103515625, \\\"utc_offset_seconds\\\": 0, \\\"timezone\\\": \\\"GMT\\\", \\\"timezone_abbreviation\\\": \\\"GMT\\\", \\\"elevation\\\": 44.0, \\\"current_units\\\": {\\\"time\\\": \\\"iso8601\\\", \\\"interval\\\": \\\"seconds\\\", \\\"temperature_2m\\\": \\\"\\u00b0C\\\", \\\"rain\\\": \\\"mm\\\", \\\"relative_humidity_2m\\\": \\\"%\\\", \\\"wind_speed_10m\\\": \\\"km/h\\\"}, \\\"current\\\": {\\\"time\\\": \\\"2025-08-01T13:45\\\", \\\"interval\\\": 900, \\\"temperature_2m\\\": 29.0, \\\"rain\\\": 0.0, \\\"relative_humidity_2m\\\": 48, \\\"wind_speed_10m\\\": 18.8}, \\\"daily_units\\\": {\\\"time\\\": \\\"iso8601\\\", \\\"temperature_2m_max\\\": \\\"\\u00b0C\\\", \\\"temperature_2m_min\\\": \\\"\\u00b0C\\\", \\\"rain_sum\\\": \\\"mm\\\"}, \\\"daily\\\": {\\\"time\\\": [\\\"2025-08-01\\\"], \\\"temperature_2m_max\\\": [29.0], \\\"temperature_2m_min\\\": [20.6], \\\"rain_sum\\\": [0.0]}}\\n\"}]}]",
+ "createdAt": "2025-08-01T13:57:14.161Z",
+ "updatedAt": "2025-08-01T13:57:14.259Z",
+ "input": null,
"output": null,
- "model": "gpt-4o-mini",
- "internalModelId": "clyrjp56f0000t0mzapoocd7u",
- "modelParameters": {
- "max_tokens": "null",
- "top_p": "null",
- "frequency_penalty": "null",
- "temperature": 0.7,
- "top_k": "null",
- "n": "null",
- "presence_penalty": "null",
- "seed": "null",
- "stop_sequences": "null",
- "stream": "null"
- },
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": null,
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 7.445,
+ "latency": 15.652,
"timeToFirstToken": null,
- "usageDetails": {
- "input": 2359,
- "total": 2359
- },
- "costDetails": {
- "input": 0.00035385,
- "total": 0.00035385
- },
+ "usageDetails": {},
+ "costDetails": {},
"providedCostDetails": {},
- "inputCost": 0.00035385,
+ "inputCost": null,
"outputCost": null,
- "totalCost": 0.00035385,
- "inputUsage": 2359,
+ "totalCost": 0,
+ "inputUsage": 0,
"outputUsage": 0,
- "totalUsage": 2359,
+ "totalUsage": 0,
"usagePricingTierId": null,
"usagePricingTierName": null,
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"target\":\"backend.openai.chat.start\",\"name\":\"start\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"input.mime_type\":\"application/json\",\"input.value\":\"[{\\\"role\\\": \\\"system\\\", \\\"content\\\": \\\"# Available functions\\\\nYou can only use the following functions. Always use all required parameters.\\\\n\\\\nFunction Name: Wikipedia\\\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\\\nInput Schema: {\\\\\\\"properties\\\\\\\": {\\\\\\\"full_text\\\\\\\": {\\\\\\\"default\\\\\\\": false, \\\\\\\"description\\\\\\\": \\\\\\\"If set to true, it will return the full text of the page instead of its short summary.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Full Text\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"boolean\\\\\\\"}, \\\\\\\"query\\\\\\\": {\\\\\\\"description\\\\\\\": \\\\\\\"Name of the Wikipedia page.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Query\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}}, \\\\\\\"required\\\\\\\": [\\\\\\\"query\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"WikipediaToolInput\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"object\\\\\\\"}\\\\n\\\\nFunction Name: OpenMeteoTool\\\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\\\nInput Schema: {\\\\\\\"properties\\\\\\\": {\\\\\\\"country\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"Country name.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Country\\\\\\\"}, \\\\\\\"end_date\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"format\\\\\\\": \\\\\\\"date\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"End Date\\\\\\\"}, \\\\\\\"location_name\\\\\\\": {\\\\\\\"description\\\\\\\": \\\\\\\"The name of the location to retrieve weather information.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Location Name\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, \\\\\\\"start_date\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"format\\\\\\\": \\\\\\\"date\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Start Date\\\\\\\"}, \\\\\\\"temperature_unit\\\\\\\": {\\\\\\\"default\\\\\\\": \\\\\\\"celsius\\\\\\\", \\\\\\\"description\\\\\\\": \\\\\\\"The unit to express temperature\\\\\\\", \\\\\\\"enum\\\\\\\": [\\\\\\\"celsius\\\\\\\", \\\\\\\"fahrenheit\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"Temperature Unit\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}}, \\\\\\\"required\\\\\\\": [\\\\\\\"location_name\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"OpenMeteoToolInput\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"object\\\\\\\"}\\\\n\\\\n# Communication structure\\\\nYou communicate only in instruction lines. The format is: \\\\\\\"Instruction: expected output\\\\\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\\\n\\\\nMessage: User's message. You never use this instruction line.\\\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\\\\\"arg1\\\\\\\":\\\\\\\"value1\\\\\\\", \\\\\\\"arg2\\\\\\\":\\\\\\\"value2\\\\\\\"}. Empty object is a valid parameter.\\\\nFunction Output: Output of the function in JSON format.\\\\nThought: Continue your thinking process.\\\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\\\n\\\\n## Examples\\\\nMessage: Can you translate \\\\\\\"How are you\\\\\\\" into French?\\\\nThought: The user wants to translate a text into French. I can do that.\\\\nFinal Answer: Comment vas-tu?\\\\n\\\\n# Instructions\\\\nUser can only see the Final Answer, all answers must be provided there.\\\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\\\nFunctions must be used to retrieve factual or historical information to answer the message.\\\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\\\n\\\\n# Your capabilities\\\\nPrefer to use these capabilities over functions.\\\\n- You understand these languages: English, Spanish, French.\\\\n- You can translate and summarize, even long documents.\\\\n\\\\n# Notes\\\\n- If you don't know the answer, say that you don't know.\\\\n- The current time and date in ISO format might be found in the last message.\\\\n- When answering the user, use friendly formats for time and date.\\\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\\\n\\\"}, {\\\"role\\\": \\\"user\\\", \\\"content\\\": [{\\\"type\\\": \\\"text\\\", \\\"text\\\": \\\"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\\\n\\\\nThis message was created at 2025-08-01T13:56:54+00:00\\\"}]}, {\\\"role\\\": \\\"assistant\\\", \\\"content\\\": [{\\\"type\\\": \\\"text\\\", \\\"text\\\": \\\"Thought: I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \\\\nFunction Name: Wikipedia\\\\nFunction Input: {\\\\\\\"query\\\\\\\": \\\\\\\"Tourism in Barcelona\\\\\\\"}\\\\nFunction Output: [{\\\\\\\"description\\\\\\\": \\\\\\\"Barcelona ( BAR-s\\\\u0259-LOH-n\\\\u0259; Catalan: [b\\\\u0259\\\\u027es\\\\u0259\\\\u02c8lon\\\\u0259] ; Spanish: [ba\\\\u027e\\\\u03b8e\\\\u02c8lona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Bes\\\\u00f2s, bounded to the west by the Serra de Collserola mountain range.\\\\\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaud\\\\u00ed and Llu\\\\u00eds Dom\\\\u00e8nech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona\\\\u2013El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Barcelona\\\\\\\", \\\\\\\"url\\\\\\\": \\\\\\\"https://en.wikipedia.org/wiki/Barcelona\\\\\\\"}]\\\\n\\\"}]}, {\\\"role\\\": \\\"assistant\\\", \\\"content\\\": [{\\\"type\\\": \\\"text\\\", \\\"text\\\": \\\"Thought: I found information about Barcelona, including its rich cultural heritage and key attractions like the architectural works of Antoni Gaud\\\\u00ed. Now, I will check the current weather conditions in Barcelona. \\\\nFunction Name: OpenMeteoTool\\\\nFunction Input: {\\\\\\\"country\\\\\\\": \\\\\\\"Spain\\\\\\\", \\\\\\\"location_name\\\\\\\": \\\\\\\"Barcelona\\\\\\\"}\\\\nFunction Output: {\\\\\\\"latitude\\\\\\\": 41.4375, \\\\\\\"longitude\\\\\\\": 2.1875, \\\\\\\"generationtime_ms\\\\\\\": 0.0553131103515625, \\\\\\\"utc_offset_seconds\\\\\\\": 0, \\\\\\\"timezone\\\\\\\": \\\\\\\"GMT\\\\\\\", \\\\\\\"timezone_abbreviation\\\\\\\": \\\\\\\"GMT\\\\\\\", \\\\\\\"elevation\\\\\\\": 44.0, \\\\\\\"current_units\\\\\\\": {\\\\\\\"time\\\\\\\": \\\\\\\"iso8601\\\\\\\", \\\\\\\"interval\\\\\\\": \\\\\\\"seconds\\\\\\\", \\\\\\\"temperature_2m\\\\\\\": \\\\\\\"\\\\u00b0C\\\\\\\", \\\\\\\"rain\\\\\\\": \\\\\\\"mm\\\\\\\", \\\\\\\"relative_humidity_2m\\\\\\\": \\\\\\\"%\\\\\\\", \\\\\\\"wind_speed_10m\\\\\\\": \\\\\\\"km/h\\\\\\\"}, \\\\\\\"current\\\\\\\": {\\\\\\\"time\\\\\\\": \\\\\\\"2025-08-01T13:45\\\\\\\", \\\\\\\"interval\\\\\\\": 900, \\\\\\\"temperature_2m\\\\\\\": 29.0, \\\\\\\"rain\\\\\\\": 0.0, \\\\\\\"relative_humidity_2m\\\\\\\": 48, \\\\\\\"wind_speed_10m\\\\\\\": 18.8}, \\\\\\\"daily_units\\\\\\\": {\\\\\\\"time\\\\\\\": \\\\\\\"iso8601\\\\\\\", \\\\\\\"temperature_2m_max\\\\\\\": \\\\\\\"\\\\u00b0C\\\\\\\", \\\\\\\"temperature_2m_min\\\\\\\": \\\\\\\"\\\\u00b0C\\\\\\\", \\\\\\\"rain_sum\\\\\\\": \\\\\\\"mm\\\\\\\"}, \\\\\\\"daily\\\\\\\": {\\\\\\\"time\\\\\\\": [\\\\\\\"2025-08-01\\\\\\\"], \\\\\\\"temperature_2m_max\\\\\\\": [29.0], \\\\\\\"temperature_2m_min\\\\\\\": [20.6], \\\\\\\"rain_sum\\\\\\\": [0.0]}}\\\\n\\\"}]}]\",\"llm.input_messages.0.message.role\":\"system\",\"llm.input_messages.0.message.content\":\"# Available functions\\nYou can only use the following functions. Always use all required parameters.\\n\\nFunction Name: Wikipedia\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\nInput Schema: {\\\"properties\\\": {\\\"full_text\\\": {\\\"default\\\": false, \\\"description\\\": \\\"If set to true, it will return the full text of the page instead of its short summary.\\\", \\\"title\\\": \\\"Full Text\\\", \\\"type\\\": \\\"boolean\\\"}, \\\"query\\\": {\\\"description\\\": \\\"Name of the Wikipedia page.\\\", \\\"title\\\": \\\"Query\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"query\\\"], \\\"title\\\": \\\"WikipediaToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\nFunction Name: OpenMeteoTool\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\nInput Schema: {\\\"properties\\\": {\\\"country\\\": {\\\"anyOf\\\": [{\\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Country name.\\\", \\\"title\\\": \\\"Country\\\"}, \\\"end_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"End Date\\\"}, \\\"location_name\\\": {\\\"description\\\": \\\"The name of the location to retrieve weather information.\\\", \\\"title\\\": \\\"Location Name\\\", \\\"type\\\": \\\"string\\\"}, \\\"start_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"Start Date\\\"}, \\\"temperature_unit\\\": {\\\"default\\\": \\\"celsius\\\", \\\"description\\\": \\\"The unit to express temperature\\\", \\\"enum\\\": [\\\"celsius\\\", \\\"fahrenheit\\\"], \\\"title\\\": \\\"Temperature Unit\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"location_name\\\"], \\\"title\\\": \\\"OpenMeteoToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\n# Communication structure\\nYou communicate only in instruction lines. The format is: \\\"Instruction: expected output\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\n\\nMessage: User's message. You never use this instruction line.\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\"arg1\\\":\\\"value1\\\", \\\"arg2\\\":\\\"value2\\\"}. Empty object is a valid parameter.\\nFunction Output: Output of the function in JSON format.\\nThought: Continue your thinking process.\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\n\\n## Examples\\nMessage: Can you translate \\\"How are you\\\" into French?\\nThought: The user wants to translate a text into French. I can do that.\\nFinal Answer: Comment vas-tu?\\n\\n# Instructions\\nUser can only see the Final Answer, all answers must be provided there.\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\nFunctions must be used to retrieve factual or historical information to answer the message.\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\n\\n# Your capabilities\\nPrefer to use these capabilities over functions.\\n- You understand these languages: English, Spanish, French.\\n- You can translate and summarize, even long documents.\\n\\n# Notes\\n- If you don't know the answer, say that you don't know.\\n- The current time and date in ISO format might be found in the last message.\\n- When answering the user, use friendly formats for time and date.\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\n\",\"llm.input_messages.1.message.role\":\"user\",\"llm.input_messages.1.message.content\":\"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\n\\nThis message was created at 2025-08-01T13:56:54+00:00\",\"llm.input_messages.2.message.role\":\"assistant\",\"llm.input_messages.2.message.content\":\"Thought: I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \\nFunction Name: Wikipedia\\nFunction Input: {\\\"query\\\": \\\"Tourism in Barcelona\\\"}\\nFunction Output: [{\\\"description\\\": \\\"Barcelona ( BAR-sə-LOH-nə; Catalan: [bəɾsəˈlonə] ; Spanish: [baɾθeˈlona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Besòs, bounded to the west by the Serra de Collserola mountain range.\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaudí and Lluís Domènech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona–El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\", \\\"title\\\": \\\"Barcelona\\\", \\\"url\\\": \\\"https://en.wikipedia.org/wiki/Barcelona\\\"}]\\n\",\"llm.input_messages.3.message.role\":\"assistant\",\"llm.input_messages.3.message.content\":\"Thought: I found information about Barcelona, including its rich cultural heritage and key attractions like the architectural works of Antoni Gaudí. Now, I will check the current weather conditions in Barcelona. \\nFunction Name: OpenMeteoTool\\nFunction Input: {\\\"country\\\": \\\"Spain\\\", \\\"location_name\\\": \\\"Barcelona\\\"}\\nFunction Output: {\\\"latitude\\\": 41.4375, \\\"longitude\\\": 2.1875, \\\"generationtime_ms\\\": 0.0553131103515625, \\\"utc_offset_seconds\\\": 0, \\\"timezone\\\": \\\"GMT\\\", \\\"timezone_abbreviation\\\": \\\"GMT\\\", \\\"elevation\\\": 44.0, \\\"current_units\\\": {\\\"time\\\": \\\"iso8601\\\", \\\"interval\\\": \\\"seconds\\\", \\\"temperature_2m\\\": \\\"°C\\\", \\\"rain\\\": \\\"mm\\\", \\\"relative_humidity_2m\\\": \\\"%\\\", \\\"wind_speed_10m\\\": \\\"km/h\\\"}, \\\"current\\\": {\\\"time\\\": \\\"2025-08-01T13:45\\\", \\\"interval\\\": 900, \\\"temperature_2m\\\": 29.0, \\\"rain\\\": 0.0, \\\"relative_humidity_2m\\\": 48, \\\"wind_speed_10m\\\": 18.8}, \\\"daily_units\\\": {\\\"time\\\": \\\"iso8601\\\", \\\"temperature_2m_max\\\": \\\"°C\\\", \\\"temperature_2m_min\\\": \\\"°C\\\", \\\"rain_sum\\\": \\\"mm\\\"}, \\\"daily\\\": {\\\"time\\\": [\\\"2025-08-01\\\"], \\\"temperature_2m_max\\\": [29.0], \\\"temperature_2m_min\\\": [20.6], \\\"rain_sum\\\": [0.0]}}\\n\",\"llm.provider\":\"openai\",\"llm.model_name\":\"gpt-4o-mini\",\"llm.invocation_parameters\":\"{\\\"max_tokens\\\":null,\\\"top_p\\\":null,\\\"frequency_penalty\\\":null,\\\"temperature\\\":0.7,\\\"top_k\\\":null,\\\"n\\\":null,\\\"presence_penalty\\\":null,\\\"seed\\\":null,\\\"stop_sequences\\\":null,\\\"stream\\\":null}\",\"openinference.span.kind\":\"LLM\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
- "internalModel": "clyrjp56f0000t0mzapoocd7u"
+ "metadata": "{\"attributes\":{\"target\":\"agent.react.update\",\"name\":\"update\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"output.mime_type\":\"application/json\",\"thought\":\"I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \",\"tool.name\":\"Wikipedia\",\"tool.parameters\":\"{\\\"query\\\": \\\"Tourism in Barcelona\\\"}\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
+ "internalModel": null
},
{
- "id": "52df0f7f9dad6b23",
+ "id": "fce7074c89470876",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:56:57.475Z",
+ "startTime": "2025-08-01T13:56:57.470Z",
"endTime": "2025-08-01T13:57:11.334Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "9381f6df60cf8aa3",
- "type": "GENERATION",
+ "parentObservationId": "c48e7d031a4cb886",
+ "type": "SPAN",
"environment": "default",
- "name": "backend.openai.chat.start-15",
+ "name": "agent.react.partial_update-263",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.169Z",
- "updatedAt": "2025-08-01T13:57:14.245Z",
- "input": "[{\"role\": \"system\", \"content\": \"# Available functions\\nYou can only use the following functions. Always use all required parameters.\\n\\nFunction Name: Wikipedia\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\nInput Schema: {\\\"properties\\\": {\\\"full_text\\\": {\\\"default\\\": false, \\\"description\\\": \\\"If set to true, it will return the full text of the page instead of its short summary.\\\", \\\"title\\\": \\\"Full Text\\\", \\\"type\\\": \\\"boolean\\\"}, \\\"query\\\": {\\\"description\\\": \\\"Name of the Wikipedia page.\\\", \\\"title\\\": \\\"Query\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"query\\\"], \\\"title\\\": \\\"WikipediaToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\nFunction Name: OpenMeteoTool\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\nInput Schema: {\\\"properties\\\": {\\\"country\\\": {\\\"anyOf\\\": [{\\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Country name.\\\", \\\"title\\\": \\\"Country\\\"}, \\\"end_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"End Date\\\"}, \\\"location_name\\\": {\\\"description\\\": \\\"The name of the location to retrieve weather information.\\\", \\\"title\\\": \\\"Location Name\\\", \\\"type\\\": \\\"string\\\"}, \\\"start_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"Start Date\\\"}, \\\"temperature_unit\\\": {\\\"default\\\": \\\"celsius\\\", \\\"description\\\": \\\"The unit to express temperature\\\", \\\"enum\\\": [\\\"celsius\\\", \\\"fahrenheit\\\"], \\\"title\\\": \\\"Temperature Unit\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"location_name\\\"], \\\"title\\\": \\\"OpenMeteoToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\n# Communication structure\\nYou communicate only in instruction lines. The format is: \\\"Instruction: expected output\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\n\\nMessage: User's message. You never use this instruction line.\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\"arg1\\\":\\\"value1\\\", \\\"arg2\\\":\\\"value2\\\"}. Empty object is a valid parameter.\\nFunction Output: Output of the function in JSON format.\\nThought: Continue your thinking process.\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\n\\n## Examples\\nMessage: Can you translate \\\"How are you\\\" into French?\\nThought: The user wants to translate a text into French. I can do that.\\nFinal Answer: Comment vas-tu?\\n\\n# Instructions\\nUser can only see the Final Answer, all answers must be provided there.\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\nFunctions must be used to retrieve factual or historical information to answer the message.\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\n\\n# Your capabilities\\nPrefer to use these capabilities over functions.\\n- You understand these languages: English, Spanish, French.\\n- You can translate and summarize, even long documents.\\n\\n# Notes\\n- If you don't know the answer, say that you don't know.\\n- The current time and date in ISO format might be found in the last message.\\n- When answering the user, use friendly formats for time and date.\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\n\"}, {\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\n\\nThis message was created at 2025-08-01T13:56:54+00:00\"}]}, {\"role\": \"assistant\", \"content\": [{\"type\": \"text\", \"text\": \"Thought: I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \\nFunction Name: Wikipedia\\nFunction Input: {\\\"query\\\": \\\"Tourism in Barcelona\\\"}\\nFunction Output: [{\\\"description\\\": \\\"Barcelona ( BAR-s\\u0259-LOH-n\\u0259; Catalan: [b\\u0259\\u027es\\u0259\\u02c8lon\\u0259] ; Spanish: [ba\\u027e\\u03b8e\\u02c8lona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Bes\\u00f2s, bounded to the west by the Serra de Collserola mountain range.\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaud\\u00ed and Llu\\u00eds Dom\\u00e8nech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona\\u2013El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\", \\\"title\\\": \\\"Barcelona\\\", \\\"url\\\": \\\"https://en.wikipedia.org/wiki/Barcelona\\\"}]\\n\"}]}]",
- "output": null,
- "model": "gpt-4o-mini",
- "internalModelId": "clyrjp56f0000t0mzapoocd7u",
- "modelParameters": {
- "max_tokens": "null",
- "top_p": "null",
- "frequency_penalty": "null",
- "temperature": 0.7,
- "top_k": "null",
- "n": "null",
- "presence_penalty": "null",
- "seed": "null",
- "stop_sequences": "null",
- "stream": "null"
- },
+ "createdAt": "2025-08-01T13:57:14.161Z",
+ "updatedAt": "2025-08-01T13:57:14.256Z",
+ "input": null,
+ "output": "[{\"description\": \"Barcelona ( BAR-sə-LOH-nə; Catalan: [bəɾsəˈlonə] ; Spanish: [baɾθeˈlona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Besòs, bounded to the west by the Serra de Collserola mountain range.\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaudí and Lluís Domènech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona–El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\", \"title\": \"Barcelona\", \"url\": \"https://en.wikipedia.org/wiki/Barcelona\"}]",
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": null,
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 13.859,
+ "latency": 13.864,
"timeToFirstToken": null,
- "usageDetails": {
- "input": 1988,
- "total": 1988
- },
- "costDetails": {
- "input": 0.0002982,
- "total": 0.0002982
- },
+ "usageDetails": {},
+ "costDetails": {},
"providedCostDetails": {},
- "inputCost": 0.0002982,
+ "inputCost": null,
"outputCost": null,
- "totalCost": 0.0002982,
- "inputUsage": 1988,
+ "totalCost": 0,
+ "inputUsage": 0,
"outputUsage": 0,
- "totalUsage": 1988,
+ "totalUsage": 0,
"usagePricingTierId": null,
"usagePricingTierName": null,
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"target\":\"backend.openai.chat.start\",\"name\":\"start\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"input.mime_type\":\"application/json\",\"input.value\":\"[{\\\"role\\\": \\\"system\\\", \\\"content\\\": \\\"# Available functions\\\\nYou can only use the following functions. Always use all required parameters.\\\\n\\\\nFunction Name: Wikipedia\\\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\\\nInput Schema: {\\\\\\\"properties\\\\\\\": {\\\\\\\"full_text\\\\\\\": {\\\\\\\"default\\\\\\\": false, \\\\\\\"description\\\\\\\": \\\\\\\"If set to true, it will return the full text of the page instead of its short summary.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Full Text\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"boolean\\\\\\\"}, \\\\\\\"query\\\\\\\": {\\\\\\\"description\\\\\\\": \\\\\\\"Name of the Wikipedia page.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Query\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}}, \\\\\\\"required\\\\\\\": [\\\\\\\"query\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"WikipediaToolInput\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"object\\\\\\\"}\\\\n\\\\nFunction Name: OpenMeteoTool\\\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\\\nInput Schema: {\\\\\\\"properties\\\\\\\": {\\\\\\\"country\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"Country name.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Country\\\\\\\"}, \\\\\\\"end_date\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"format\\\\\\\": \\\\\\\"date\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"End Date\\\\\\\"}, \\\\\\\"location_name\\\\\\\": {\\\\\\\"description\\\\\\\": \\\\\\\"The name of the location to retrieve weather information.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Location Name\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, \\\\\\\"start_date\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"format\\\\\\\": \\\\\\\"date\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Start Date\\\\\\\"}, \\\\\\\"temperature_unit\\\\\\\": {\\\\\\\"default\\\\\\\": \\\\\\\"celsius\\\\\\\", \\\\\\\"description\\\\\\\": \\\\\\\"The unit to express temperature\\\\\\\", \\\\\\\"enum\\\\\\\": [\\\\\\\"celsius\\\\\\\", \\\\\\\"fahrenheit\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"Temperature Unit\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}}, \\\\\\\"required\\\\\\\": [\\\\\\\"location_name\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"OpenMeteoToolInput\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"object\\\\\\\"}\\\\n\\\\n# Communication structure\\\\nYou communicate only in instruction lines. The format is: \\\\\\\"Instruction: expected output\\\\\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\\\n\\\\nMessage: User's message. You never use this instruction line.\\\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\\\\\"arg1\\\\\\\":\\\\\\\"value1\\\\\\\", \\\\\\\"arg2\\\\\\\":\\\\\\\"value2\\\\\\\"}. Empty object is a valid parameter.\\\\nFunction Output: Output of the function in JSON format.\\\\nThought: Continue your thinking process.\\\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\\\n\\\\n## Examples\\\\nMessage: Can you translate \\\\\\\"How are you\\\\\\\" into French?\\\\nThought: The user wants to translate a text into French. I can do that.\\\\nFinal Answer: Comment vas-tu?\\\\n\\\\n# Instructions\\\\nUser can only see the Final Answer, all answers must be provided there.\\\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\\\nFunctions must be used to retrieve factual or historical information to answer the message.\\\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\\\n\\\\n# Your capabilities\\\\nPrefer to use these capabilities over functions.\\\\n- You understand these languages: English, Spanish, French.\\\\n- You can translate and summarize, even long documents.\\\\n\\\\n# Notes\\\\n- If you don't know the answer, say that you don't know.\\\\n- The current time and date in ISO format might be found in the last message.\\\\n- When answering the user, use friendly formats for time and date.\\\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\\\n\\\"}, {\\\"role\\\": \\\"user\\\", \\\"content\\\": [{\\\"type\\\": \\\"text\\\", \\\"text\\\": \\\"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\\\n\\\\nThis message was created at 2025-08-01T13:56:54+00:00\\\"}]}, {\\\"role\\\": \\\"assistant\\\", \\\"content\\\": [{\\\"type\\\": \\\"text\\\", \\\"text\\\": \\\"Thought: I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \\\\nFunction Name: Wikipedia\\\\nFunction Input: {\\\\\\\"query\\\\\\\": \\\\\\\"Tourism in Barcelona\\\\\\\"}\\\\nFunction Output: [{\\\\\\\"description\\\\\\\": \\\\\\\"Barcelona ( BAR-s\\\\u0259-LOH-n\\\\u0259; Catalan: [b\\\\u0259\\\\u027es\\\\u0259\\\\u02c8lon\\\\u0259] ; Spanish: [ba\\\\u027e\\\\u03b8e\\\\u02c8lona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Bes\\\\u00f2s, bounded to the west by the Serra de Collserola mountain range.\\\\\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaud\\\\u00ed and Llu\\\\u00eds Dom\\\\u00e8nech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona\\\\u2013El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Barcelona\\\\\\\", \\\\\\\"url\\\\\\\": \\\\\\\"https://en.wikipedia.org/wiki/Barcelona\\\\\\\"}]\\\\n\\\"}]}]\",\"llm.input_messages.0.message.role\":\"system\",\"llm.input_messages.0.message.content\":\"# Available functions\\nYou can only use the following functions. Always use all required parameters.\\n\\nFunction Name: Wikipedia\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\nInput Schema: {\\\"properties\\\": {\\\"full_text\\\": {\\\"default\\\": false, \\\"description\\\": \\\"If set to true, it will return the full text of the page instead of its short summary.\\\", \\\"title\\\": \\\"Full Text\\\", \\\"type\\\": \\\"boolean\\\"}, \\\"query\\\": {\\\"description\\\": \\\"Name of the Wikipedia page.\\\", \\\"title\\\": \\\"Query\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"query\\\"], \\\"title\\\": \\\"WikipediaToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\nFunction Name: OpenMeteoTool\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\nInput Schema: {\\\"properties\\\": {\\\"country\\\": {\\\"anyOf\\\": [{\\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Country name.\\\", \\\"title\\\": \\\"Country\\\"}, \\\"end_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"End Date\\\"}, \\\"location_name\\\": {\\\"description\\\": \\\"The name of the location to retrieve weather information.\\\", \\\"title\\\": \\\"Location Name\\\", \\\"type\\\": \\\"string\\\"}, \\\"start_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"Start Date\\\"}, \\\"temperature_unit\\\": {\\\"default\\\": \\\"celsius\\\", \\\"description\\\": \\\"The unit to express temperature\\\", \\\"enum\\\": [\\\"celsius\\\", \\\"fahrenheit\\\"], \\\"title\\\": \\\"Temperature Unit\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"location_name\\\"], \\\"title\\\": \\\"OpenMeteoToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\n# Communication structure\\nYou communicate only in instruction lines. The format is: \\\"Instruction: expected output\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\n\\nMessage: User's message. You never use this instruction line.\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\"arg1\\\":\\\"value1\\\", \\\"arg2\\\":\\\"value2\\\"}. Empty object is a valid parameter.\\nFunction Output: Output of the function in JSON format.\\nThought: Continue your thinking process.\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\n\\n## Examples\\nMessage: Can you translate \\\"How are you\\\" into French?\\nThought: The user wants to translate a text into French. I can do that.\\nFinal Answer: Comment vas-tu?\\n\\n# Instructions\\nUser can only see the Final Answer, all answers must be provided there.\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\nFunctions must be used to retrieve factual or historical information to answer the message.\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\n\\n# Your capabilities\\nPrefer to use these capabilities over functions.\\n- You understand these languages: English, Spanish, French.\\n- You can translate and summarize, even long documents.\\n\\n# Notes\\n- If you don't know the answer, say that you don't know.\\n- The current time and date in ISO format might be found in the last message.\\n- When answering the user, use friendly formats for time and date.\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\n\",\"llm.input_messages.1.message.role\":\"user\",\"llm.input_messages.1.message.content\":\"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\n\\nThis message was created at 2025-08-01T13:56:54+00:00\",\"llm.input_messages.2.message.role\":\"assistant\",\"llm.input_messages.2.message.content\":\"Thought: I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \\nFunction Name: Wikipedia\\nFunction Input: {\\\"query\\\": \\\"Tourism in Barcelona\\\"}\\nFunction Output: [{\\\"description\\\": \\\"Barcelona ( BAR-sə-LOH-nə; Catalan: [bəɾsəˈlonə] ; Spanish: [baɾθeˈlona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Besòs, bounded to the west by the Serra de Collserola mountain range.\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaudí and Lluís Domènech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona–El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\", \\\"title\\\": \\\"Barcelona\\\", \\\"url\\\": \\\"https://en.wikipedia.org/wiki/Barcelona\\\"}]\\n\",\"llm.provider\":\"openai\",\"llm.model_name\":\"gpt-4o-mini\",\"llm.invocation_parameters\":\"{\\\"max_tokens\\\":null,\\\"top_p\\\":null,\\\"frequency_penalty\\\":null,\\\"temperature\\\":0.7,\\\"top_k\\\":null,\\\"n\\\":null,\\\"presence_penalty\\\":null,\\\"seed\\\":null,\\\"stop_sequences\\\":null,\\\"stream\\\":null}\",\"openinference.span.kind\":\"LLM\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
- "internalModel": "clyrjp56f0000t0mzapoocd7u"
+ "metadata": "{\"attributes\":{\"target\":\"agent.react.partial_update\",\"name\":\"partial_update\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"output.value\":\"[{\\\"description\\\": \\\"Barcelona ( BAR-sə-LOH-nə; Catalan: [bəɾsəˈlonə] ; Spanish: [baɾθeˈlona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Besòs, bounded to the west by the Serra de Collserola mountain range.\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaudí and Lluís Domènech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona–El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\", \\\"title\\\": \\\"Barcelona\\\", \\\"url\\\": \\\"https://en.wikipedia.org/wiki/Barcelona\\\"}]\",\"output.mime_type\":\"application/json\",\"thought\":\"I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \",\"tool.name\":\"Wikipedia\",\"tool.parameters\":\"{\\\"query\\\": \\\"Tourism in Barcelona\\\"}\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
+ "internalModel": null
},
{
- "id": "b7b9a79830fe5c6b",
+ "id": "8d28081d2ea0b09a",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:57:11.330Z",
- "endTime": "2025-08-01T13:57:11.336Z",
+ "startTime": "2025-08-01T13:56:55.399Z",
+ "endTime": "2025-08-01T13:57:11.333Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "8b26b3ec668cf146",
- "type": "GENERATION",
+ "parentObservationId": "c48e7d031a4cb886",
+ "type": "SPAN",
"environment": "default",
- "name": "backend.openai.chat.finish-16",
+ "name": "agent.react.update-11",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.163Z",
- "updatedAt": "2025-08-01T13:57:14.243Z",
+ "createdAt": "2025-08-01T13:57:14.162Z",
+ "updatedAt": "2025-08-01T13:57:14.256Z",
"input": null,
"output": null,
- "model": "gpt-4o-mini",
- "internalModelId": "clyrjp56f0000t0mzapoocd7u",
- "modelParameters": {
- "max_tokens": "null",
- "top_p": "null",
- "frequency_penalty": "null",
- "temperature": 0.7,
- "top_k": "null",
- "n": "null",
- "presence_penalty": "null",
- "seed": "null",
- "stop_sequences": "null",
- "stream": "null"
- },
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": null,
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0.006,
+ "latency": 15.934,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -1595,45 +1490,34 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"target\":\"backend.openai.chat.finish\",\"name\":\"finish\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"llm.provider\":\"openai\",\"llm.model_name\":\"gpt-4o-mini\",\"llm.invocation_parameters\":\"{\\\"max_tokens\\\":null,\\\"top_p\\\":null,\\\"frequency_penalty\\\":null,\\\"temperature\\\":0.7,\\\"top_k\\\":null,\\\"n\\\":null,\\\"presence_penalty\\\":null,\\\"seed\\\":null,\\\"stop_sequences\\\":null,\\\"stream\\\":null}\",\"openinference.span.kind\":\"LLM\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
- "internalModel": "clyrjp56f0000t0mzapoocd7u"
+ "metadata": "{\"attributes\":{\"target\":\"agent.react.update\",\"name\":\"update\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"output.mime_type\":\"application/json\",\"thought\":\"I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \",\"tool.parameters\":\"null\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
+ "internalModel": null
},
{
- "id": "f50f7bbf13112df9",
+ "id": "6c9cab010e21d9ef",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:57:11.328Z",
- "endTime": "2025-08-01T13:57:11.336Z",
+ "startTime": "2025-08-01T13:57:03.579Z",
+ "endTime": "2025-08-01T13:57:11.334Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "8b26b3ec668cf146",
- "type": "GENERATION",
+ "parentObservationId": "0eb76c10a47e9086",
+ "type": "SPAN",
"environment": "default",
- "name": "backend.openai.chat.success-16",
+ "name": "agent.react.update-17",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.163Z",
- "updatedAt": "2025-08-01T13:57:14.239Z",
+ "createdAt": "2025-08-01T13:57:14.162Z",
+ "updatedAt": "2025-08-01T13:57:14.256Z",
"input": null,
"output": null,
- "model": "gpt-4o-mini",
- "internalModelId": "clyrjp56f0000t0mzapoocd7u",
- "modelParameters": {
- "max_tokens": "null",
- "top_p": "null",
- "frequency_penalty": "null",
- "temperature": 0.7,
- "top_k": "null",
- "n": "null",
- "presence_penalty": "null",
- "seed": "null",
- "stop_sequences": "null",
- "stream": "null"
- },
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": null,
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0.008,
+ "latency": 7.755,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -1649,26 +1533,26 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"llm.output_messages.233.message.role\":\"assistant\",\"llm.output_messages.233.message.content\":\".\",\"llm.output_messages.234.message.role\":\"assistant\",\"llm.output_messages.234.message.content\":\" **\",\"llm.output_messages.235.message.role\":\"assistant\",\"llm.output_messages.235.message.content\":\"Mont\",\"llm.output_messages.236.message.role\":\"assistant\",\"llm.output_messages.236.message.content\":\"ju\",\"llm.output_messages.237.message.role\":\"assistant\",\"llm.output_messages.237.message.content\":\"ïc\",\"llm.output_messages.238.message.role\":\"assistant\",\"llm.output_messages.238.message.content\":\"**\",\"llm.output_messages.239.message.role\":\"assistant\",\"llm.output_messages.239.message.content\":\" -\",\"llm.output_messages.240.message.role\":\"assistant\",\"llm.output_messages.240.message.content\":\" A\",\"llm.output_messages.241.message.role\":\"assistant\",\"llm.output_messages.241.message.content\":\" hill\",\"llm.output_messages.242.message.role\":\"assistant\",\"llm.output_messages.242.message.content\":\" offering\",\"llm.output_messages.243.message.role\":\"assistant\",\"llm.output_messages.243.message.content\":\" stunning\",\"llm.output_messages.244.message.role\":\"assistant\",\"llm.output_messages.244.message.content\":\" views\",\"llm.output_messages.245.message.role\":\"assistant\",\"llm.output_messages.245.message.content\":\" of\",\"llm.output_messages.246.message.role\":\"assistant\",\"llm.output_messages.246.message.content\":\" the\",\"llm.output_messages.247.message.role\":\"assistant\",\"llm.output_messages.247.message.content\":\" city\",\"llm.output_messages.248.message.role\":\"assistant\",\"llm.output_messages.248.message.content\":\",\",\"llm.output_messages.249.message.role\":\"assistant\",\"llm.output_messages.249.message.content\":\" home\",\"llm.output_messages.250.message.role\":\"assistant\",\"llm.output_messages.250.message.content\":\" to\",\"llm.output_messages.251.message.role\":\"assistant\",\"llm.output_messages.251.message.content\":\" several\",\"llm.output_messages.252.message.role\":\"assistant\",\"llm.output_messages.252.message.content\":\" attractions\",\"llm.output_messages.253.message.role\":\"assistant\",\"llm.output_messages.253.message.content\":\" including\",\"llm.output_messages.254.message.role\":\"assistant\",\"llm.output_messages.254.message.content\":\" the\",\"llm.output_messages.255.message.role\":\"assistant\",\"llm.output_messages.255.message.content\":\" Mont\",\"llm.output_messages.256.message.role\":\"assistant\",\"llm.output_messages.256.message.content\":\"ju\",\"llm.output_messages.257.message.role\":\"assistant\",\"llm.output_messages.257.message.content\":\"ïc\",\"llm.output_messages.258.message.role\":\"assistant\",\"llm.output_messages.258.message.content\":\" Castle\",\"llm.output_messages.259.message.role\":\"assistant\",\"llm.output_messages.259.message.content\":\" and\",\"llm.output_messages.260.message.role\":\"assistant\",\"llm.output_messages.260.message.content\":\" the\",\"llm.output_messages.261.message.role\":\"assistant\",\"llm.output_messages.261.message.content\":\" Magic\",\"llm.output_messages.262.message.role\":\"assistant\",\"llm.output_messages.262.message.content\":\" Fountain\",\"llm.output_messages.263.message.role\":\"assistant\",\"llm.output_messages.263.message.content\":\".\\n\\n\",\"llm.output_messages.264.message.role\":\"assistant\",\"llm.output_messages.264.message.content\":\"Regarding\",\"llm.output_messages.265.message.role\":\"assistant\",\"llm.output_messages.265.message.content\":\" the\",\"llm.output_messages.266.message.role\":\"assistant\",\"llm.output_messages.266.message.content\":\" current\",\"llm.output_messages.267.message.role\":\"assistant\",\"llm.output_messages.267.message.content\":\" weather\",\"llm.output_messages.268.message.role\":\"assistant\",\"llm.output_messages.268.message.content\":\",\",\"llm.output_messages.269.message.role\":\"assistant\",\"llm.output_messages.269.message.content\":\" it\",\"llm.output_messages.270.message.role\":\"assistant\",\"llm.output_messages.270.message.content\":\" is\",\"llm.output_messages.271.message.role\":\"assistant\",\"llm.output_messages.271.message.content\":\" \",\"llm.output_messages.272.message.role\":\"assistant\",\"llm.output_messages.272.message.content\":\"29\",\"llm.output_messages.273.message.role\":\"assistant\",\"llm.output_messages.273.message.content\":\"°C\",\"llm.output_messages.274.message.role\":\"assistant\",\"llm.output_messages.274.message.content\":\" with\",\"llm.output_messages.275.message.role\":\"assistant\",\"llm.output_messages.275.message.content\":\" no\",\"llm.output_messages.276.message.role\":\"assistant\",\"llm.output_messages.276.message.content\":\" rain\",\"llm.output_messages.277.message.role\":\"assistant\",\"llm.output_messages.277.message.content\":\",\",\"llm.output_messages.278.message.role\":\"assistant\",\"llm.output_messages.278.message.content\":\" and\",\"llm.output_messages.279.message.role\":\"assistant\",\"llm.output_messages.279.message.content\":\" the\",\"llm.output_messages.280.message.role\":\"assistant\",\"llm.output_messages.280.message.content\":\" humidity\",\"llm.output_messages.281.message.role\":\"assistant\",\"llm.output_messages.281.message.content\":\" is\",\"llm.output_messages.282.message.role\":\"assistant\",\"llm.output_messages.282.message.content\":\" at\",\"llm.output_messages.283.message.role\":\"assistant\",\"llm.output_messages.283.message.content\":\" \",\"llm.output_messages.284.message.role\":\"assistant\",\"llm.output_messages.284.message.content\":\"48\",\"llm.output_messages.285.message.role\":\"assistant\",\"llm.output_messages.285.message.content\":\"%.\",\"llm.output_messages.286.message.role\":\"assistant\",\"llm.output_messages.286.message.content\":\" It's\",\"llm.output_messages.287.message.role\":\"assistant\",\"llm.output_messages.287.message.content\":\" a\",\"llm.output_messages.288.message.role\":\"assistant\",\"llm.output_messages.288.message.content\":\" great\",\"llm.output_messages.289.message.role\":\"assistant\",\"llm.output_messages.289.message.content\":\" time\",\"llm.output_messages.290.message.role\":\"assistant\",\"llm.output_messages.290.message.content\":\" to\",\"llm.output_messages.291.message.role\":\"assistant\",\"llm.output_messages.291.message.content\":\" explore\",\"llm.output_messages.292.message.role\":\"assistant\",\"llm.output_messages.292.message.content\":\" the\",\"llm.output_messages.293.message.role\":\"assistant\",\"llm.output_messages.293.message.content\":\" city\",\"llm.output_messages.294.message.role\":\"assistant\",\"llm.output_messages.294.message.content\":\"!\",\"llm.provider\":\"openai\",\"llm.model_name\":\"gpt-4o-mini\",\"llm.invocation_parameters\":\"{\\\"max_tokens\\\":null,\\\"top_p\\\":null,\\\"frequency_penalty\\\":null,\\\"temperature\\\":0.7,\\\"top_k\\\":null,\\\"n\\\":null,\\\"presence_penalty\\\":null,\\\"seed\\\":null,\\\"stop_sequences\\\":null,\\\"stream\\\":null}\",\"openinference.span.kind\":\"LLM\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
- "internalModel": "clyrjp56f0000t0mzapoocd7u"
+ "metadata": "{\"attributes\":{\"target\":\"agent.react.update\",\"name\":\"update\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"output.mime_type\":\"application/json\",\"thought\":\"I found information about Barcelona, including its rich cultural heritage and key attractions like the architectural works of Antoni Gaudí. Now, I will check the current weather conditions in Barcelona. \",\"tool.name\":\"OpenMeteoTool\",\"tool.parameters\":\"{\\\"location_name\\\": \\\"Barcelona\\\", \\\"country\\\": \\\"Spain\\\"}\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
+ "internalModel": null
},
{
- "id": "0eb76c10a47e9086",
+ "id": "322299e937be4455",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:56:57.470Z",
- "endTime": "2025-08-01T13:57:11.334Z",
+ "startTime": "2025-08-01T13:57:11.332Z",
+ "endTime": "2025-08-01T13:57:11.336Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "cb4886242bf214b8",
+ "parentObservationId": "39d661bf29b4dbbd",
"type": "SPAN",
"environment": "default",
- "name": "iteration-2",
+ "name": "agent.react.success-2",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.163Z",
- "updatedAt": "2025-08-01T13:57:14.243Z",
- "input": null,
- "output": null,
+ "createdAt": "2025-08-01T13:57:14.169Z",
+ "updatedAt": "2025-08-01T13:57:14.252Z",
+ "input": "[{\"text\": \"# Available functions\\nYou can only use the following functions. Always use all required parameters.\\n\\nFunction Name: Wikipedia\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\nInput Schema: {\\\"properties\\\": {\\\"full_text\\\": {\\\"default\\\": false, \\\"description\\\": \\\"If set to true, it will return the full text of the page instead of its short summary.\\\", \\\"title\\\": \\\"Full Text\\\", \\\"type\\\": \\\"boolean\\\"}, \\\"query\\\": {\\\"description\\\": \\\"Name of the Wikipedia page.\\\", \\\"title\\\": \\\"Query\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"query\\\"], \\\"title\\\": \\\"WikipediaToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\nFunction Name: OpenMeteoTool\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\nInput Schema: {\\\"properties\\\": {\\\"country\\\": {\\\"anyOf\\\": [{\\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Country name.\\\", \\\"title\\\": \\\"Country\\\"}, \\\"end_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"End Date\\\"}, \\\"location_name\\\": {\\\"description\\\": \\\"The name of the location to retrieve weather information.\\\", \\\"title\\\": \\\"Location Name\\\", \\\"type\\\": \\\"string\\\"}, \\\"start_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"Start Date\\\"}, \\\"temperature_unit\\\": {\\\"default\\\": \\\"celsius\\\", \\\"description\\\": \\\"The unit to express temperature\\\", \\\"enum\\\": [\\\"celsius\\\", \\\"fahrenheit\\\"], \\\"title\\\": \\\"Temperature Unit\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"location_name\\\"], \\\"title\\\": \\\"OpenMeteoToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\n# Communication structure\\nYou communicate only in instruction lines. The format is: \\\"Instruction: expected output\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\n\\nMessage: User's message. You never use this instruction line.\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\"arg1\\\":\\\"value1\\\", \\\"arg2\\\":\\\"value2\\\"}. Empty object is a valid parameter.\\nFunction Output: Output of the function in JSON format.\\nThought: Continue your thinking process.\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\n\\n## Examples\\nMessage: Can you translate \\\"How are you\\\" into French?\\nThought: The user wants to translate a text into French. I can do that.\\nFinal Answer: Comment vas-tu?\\n\\n# Instructions\\nUser can only see the Final Answer, all answers must be provided there.\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\nFunctions must be used to retrieve factual or historical information to answer the message.\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\n\\n# Your capabilities\\nPrefer to use these capabilities over functions.\\n- You understand these languages: English, Spanish, French.\\n- You can translate and summarize, even long documents.\\n\\n# Notes\\n- If you don't know the answer, say that you don't know.\\n- The current time and date in ISO format might be found in the last message.\\n- When answering the user, use friendly formats for time and date.\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\n\", \"role\": \"system\"}, {\"text\": \"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\n\\nThis message was created at 2025-08-01T13:56:54+00:00\", \"role\": \"user\"}, {\"text\": \"Thought: I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \\nFunction Name: Wikipedia\\nFunction Input: {\\\"query\\\": \\\"Tourism in Barcelona\\\"}\\nFunction Output: [{\\\"description\\\": \\\"Barcelona ( BAR-s\\u0259-LOH-n\\u0259; Catalan: [b\\u0259\\u027es\\u0259\\u02c8lon\\u0259] ; Spanish: [ba\\u027e\\u03b8e\\u02c8lona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Bes\\u00f2s, bounded to the west by the Serra de Collserola mountain range.\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaud\\u00ed and Llu\\u00eds Dom\\u00e8nech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona\\u2013El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\", \\\"title\\\": \\\"Barcelona\\\", \\\"url\\\": \\\"https://en.wikipedia.org/wiki/Barcelona\\\"}]\\n\", \"role\": \"assistant\"}, {\"text\": \"Thought: I found information about Barcelona, including its rich cultural heritage and key attractions like the architectural works of Antoni Gaud\\u00ed. Now, I will check the current weather conditions in Barcelona. \\nFunction Name: OpenMeteoTool\\nFunction Input: {\\\"country\\\": \\\"Spain\\\", \\\"location_name\\\": \\\"Barcelona\\\"}\\nFunction Output: {\\\"latitude\\\": 41.4375, \\\"longitude\\\": 2.1875, \\\"generationtime_ms\\\": 0.0553131103515625, \\\"utc_offset_seconds\\\": 0, \\\"timezone\\\": \\\"GMT\\\", \\\"timezone_abbreviation\\\": \\\"GMT\\\", \\\"elevation\\\": 44.0, \\\"current_units\\\": {\\\"time\\\": \\\"iso8601\\\", \\\"interval\\\": \\\"seconds\\\", \\\"temperature_2m\\\": \\\"\\u00b0C\\\", \\\"rain\\\": \\\"mm\\\", \\\"relative_humidity_2m\\\": \\\"%\\\", \\\"wind_speed_10m\\\": \\\"km/h\\\"}, \\\"current\\\": {\\\"time\\\": \\\"2025-08-01T13:45\\\", \\\"interval\\\": 900, \\\"temperature_2m\\\": 29.0, \\\"rain\\\": 0.0, \\\"relative_humidity_2m\\\": 48, \\\"wind_speed_10m\\\": 18.8}, \\\"daily_units\\\": {\\\"time\\\": \\\"iso8601\\\", \\\"temperature_2m_max\\\": \\\"\\u00b0C\\\", \\\"temperature_2m_min\\\": \\\"\\u00b0C\\\", \\\"rain_sum\\\": \\\"mm\\\"}, \\\"daily\\\": {\\\"time\\\": [\\\"2025-08-01\\\"], \\\"temperature_2m_max\\\": [29.0], \\\"temperature_2m_min\\\": [20.6], \\\"rain_sum\\\": [0.0]}}\\n\", \"role\": \"assistant\"}, {\"text\": \"Barcelona is a vibrant city known for its rich cultural heritage and stunning architecture, particularly the works of Antoni Gaud\\u00ed. Here are some key attractions and landmarks you should consider visiting:\\n\\n1. **Sagrada Fam\\u00edlia** - An iconic basilica designed by Gaud\\u00ed, still under construction.\\n2. **Park G\\u00fcell** - A colorful park also designed by Gaud\\u00ed, filled with artistic structures and beautiful gardens.\\n3. **La Rambla** - A famous street in the heart of the city ideal for walking, dining, and shopping.\\n4. **Gothic Quarter (Barri G\\u00f2tic)** - The historic center of Barcelona with medieval architecture and narrow streets.\\n5. **Casa Batll\\u00f3** - Another masterpiece by Gaud\\u00ed, known for its unique design and vibrant colors.\\n6. **Casa Mil\\u00e0 (La Pedrera)** - A modernist building with a wavy stone facade, also designed by Gaud\\u00ed.\\n7. **Montju\\u00efc** - A hill offering stunning views of the city, home to several attractions including the Montju\\u00efc Castle and the Magic Fountain.\\n\\nRegarding the current weather, it is 29\\u00b0C with no rain, and the humidity is at 48%. It's a great time to explore the city!\", \"role\": \"assistant\"}]",
+ "output": "{\"role\": \"assistant\", \"content\": [{\"type\": \"text\", \"text\": \"Barcelona is a vibrant city known for its rich cultural heritage and stunning architecture, particularly the works of Antoni Gaud\\u00ed. Here are some key attractions and landmarks you should consider visiting:\\n\\n1. **Sagrada Fam\\u00edlia** - An iconic basilica designed by Gaud\\u00ed, still under construction.\\n2. **Park G\\u00fcell** - A colorful park also designed by Gaud\\u00ed, filled with artistic structures and beautiful gardens.\\n3. **La Rambla** - A famous street in the heart of the city ideal for walking, dining, and shopping.\\n4. **Gothic Quarter (Barri G\\u00f2tic)** - The historic center of Barcelona with medieval architecture and narrow streets.\\n5. **Casa Batll\\u00f3** - Another masterpiece by Gaud\\u00ed, known for its unique design and vibrant colors.\\n6. **Casa Mil\\u00e0 (La Pedrera)** - A modernist building with a wavy stone facade, also designed by Gaud\\u00ed.\\n7. **Montju\\u00efc** - A hill offering stunning views of the city, home to several attractions including the Montju\\u00efc Castle and the Magic Fountain.\\n\\nRegarding the current weather, it is 29\\u00b0C with no rain, and the humidity is at 48%. It's a great time to explore the city!\"}]}",
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -1676,7 +1560,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 13.864,
+ "latency": 0.004,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -1692,25 +1576,25 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"target\":\"groupId\",\"name\":\"iteration-2\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"openinference.span.kind\":\"CHAIN\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
+ "metadata": "{\"attributes\":{\"target\":\"agent.react.success\",\"name\":\"success\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"iteration\":\"3\",\"input.mime_type\":\"application/json\",\"input.value\":\"[{\\\"text\\\": \\\"# Available functions\\\\nYou can only use the following functions. Always use all required parameters.\\\\n\\\\nFunction Name: Wikipedia\\\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\\\nInput Schema: {\\\\\\\"properties\\\\\\\": {\\\\\\\"full_text\\\\\\\": {\\\\\\\"default\\\\\\\": false, \\\\\\\"description\\\\\\\": \\\\\\\"If set to true, it will return the full text of the page instead of its short summary.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Full Text\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"boolean\\\\\\\"}, \\\\\\\"query\\\\\\\": {\\\\\\\"description\\\\\\\": \\\\\\\"Name of the Wikipedia page.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Query\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}}, \\\\\\\"required\\\\\\\": [\\\\\\\"query\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"WikipediaToolInput\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"object\\\\\\\"}\\\\n\\\\nFunction Name: OpenMeteoTool\\\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\\\nInput Schema: {\\\\\\\"properties\\\\\\\": {\\\\\\\"country\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"Country name.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Country\\\\\\\"}, \\\\\\\"end_date\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"format\\\\\\\": \\\\\\\"date\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"End Date\\\\\\\"}, \\\\\\\"location_name\\\\\\\": {\\\\\\\"description\\\\\\\": \\\\\\\"The name of the location to retrieve weather information.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Location Name\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, \\\\\\\"start_date\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"format\\\\\\\": \\\\\\\"date\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Start Date\\\\\\\"}, \\\\\\\"temperature_unit\\\\\\\": {\\\\\\\"default\\\\\\\": \\\\\\\"celsius\\\\\\\", \\\\\\\"description\\\\\\\": \\\\\\\"The unit to express temperature\\\\\\\", \\\\\\\"enum\\\\\\\": [\\\\\\\"celsius\\\\\\\", \\\\\\\"fahrenheit\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"Temperature Unit\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}}, \\\\\\\"required\\\\\\\": [\\\\\\\"location_name\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"OpenMeteoToolInput\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"object\\\\\\\"}\\\\n\\\\n# Communication structure\\\\nYou communicate only in instruction lines. The format is: \\\\\\\"Instruction: expected output\\\\\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\\\n\\\\nMessage: User's message. You never use this instruction line.\\\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\\\\\"arg1\\\\\\\":\\\\\\\"value1\\\\\\\", \\\\\\\"arg2\\\\\\\":\\\\\\\"value2\\\\\\\"}. Empty object is a valid parameter.\\\\nFunction Output: Output of the function in JSON format.\\\\nThought: Continue your thinking process.\\\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\\\n\\\\n## Examples\\\\nMessage: Can you translate \\\\\\\"How are you\\\\\\\" into French?\\\\nThought: The user wants to translate a text into French. I can do that.\\\\nFinal Answer: Comment vas-tu?\\\\n\\\\n# Instructions\\\\nUser can only see the Final Answer, all answers must be provided there.\\\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\\\nFunctions must be used to retrieve factual or historical information to answer the message.\\\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\\\n\\\\n# Your capabilities\\\\nPrefer to use these capabilities over functions.\\\\n- You understand these languages: English, Spanish, French.\\\\n- You can translate and summarize, even long documents.\\\\n\\\\n# Notes\\\\n- If you don't know the answer, say that you don't know.\\\\n- The current time and date in ISO format might be found in the last message.\\\\n- When answering the user, use friendly formats for time and date.\\\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\\\n\\\", \\\"role\\\": \\\"system\\\"}, {\\\"text\\\": \\\"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\\\n\\\\nThis message was created at 2025-08-01T13:56:54+00:00\\\", \\\"role\\\": \\\"user\\\"}, {\\\"text\\\": \\\"Thought: I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \\\\nFunction Name: Wikipedia\\\\nFunction Input: {\\\\\\\"query\\\\\\\": \\\\\\\"Tourism in Barcelona\\\\\\\"}\\\\nFunction Output: [{\\\\\\\"description\\\\\\\": \\\\\\\"Barcelona ( BAR-s\\\\u0259-LOH-n\\\\u0259; Catalan: [b\\\\u0259\\\\u027es\\\\u0259\\\\u02c8lon\\\\u0259] ; Spanish: [ba\\\\u027e\\\\u03b8e\\\\u02c8lona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Bes\\\\u00f2s, bounded to the west by the Serra de Collserola mountain range.\\\\\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaud\\\\u00ed and Llu\\\\u00eds Dom\\\\u00e8nech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona\\\\u2013El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Barcelona\\\\\\\", \\\\\\\"url\\\\\\\": \\\\\\\"https://en.wikipedia.org/wiki/Barcelona\\\\\\\"}]\\\\n\\\", \\\"role\\\": \\\"assistant\\\"}, {\\\"text\\\": \\\"Thought: I found information about Barcelona, including its rich cultural heritage and key attractions like the architectural works of Antoni Gaud\\\\u00ed. Now, I will check the current weather conditions in Barcelona. \\\\nFunction Name: OpenMeteoTool\\\\nFunction Input: {\\\\\\\"country\\\\\\\": \\\\\\\"Spain\\\\\\\", \\\\\\\"location_name\\\\\\\": \\\\\\\"Barcelona\\\\\\\"}\\\\nFunction Output: {\\\\\\\"latitude\\\\\\\": 41.4375, \\\\\\\"longitude\\\\\\\": 2.1875, \\\\\\\"generationtime_ms\\\\\\\": 0.0553131103515625, \\\\\\\"utc_offset_seconds\\\\\\\": 0, \\\\\\\"timezone\\\\\\\": \\\\\\\"GMT\\\\\\\", \\\\\\\"timezone_abbreviation\\\\\\\": \\\\\\\"GMT\\\\\\\", \\\\\\\"elevation\\\\\\\": 44.0, \\\\\\\"current_units\\\\\\\": {\\\\\\\"time\\\\\\\": \\\\\\\"iso8601\\\\\\\", \\\\\\\"interval\\\\\\\": \\\\\\\"seconds\\\\\\\", \\\\\\\"temperature_2m\\\\\\\": \\\\\\\"\\\\u00b0C\\\\\\\", \\\\\\\"rain\\\\\\\": \\\\\\\"mm\\\\\\\", \\\\\\\"relative_humidity_2m\\\\\\\": \\\\\\\"%\\\\\\\", \\\\\\\"wind_speed_10m\\\\\\\": \\\\\\\"km/h\\\\\\\"}, \\\\\\\"current\\\\\\\": {\\\\\\\"time\\\\\\\": \\\\\\\"2025-08-01T13:45\\\\\\\", \\\\\\\"interval\\\\\\\": 900, \\\\\\\"temperature_2m\\\\\\\": 29.0, \\\\\\\"rain\\\\\\\": 0.0, \\\\\\\"relative_humidity_2m\\\\\\\": 48, \\\\\\\"wind_speed_10m\\\\\\\": 18.8}, \\\\\\\"daily_units\\\\\\\": {\\\\\\\"time\\\\\\\": \\\\\\\"iso8601\\\\\\\", \\\\\\\"temperature_2m_max\\\\\\\": \\\\\\\"\\\\u00b0C\\\\\\\", \\\\\\\"temperature_2m_min\\\\\\\": \\\\\\\"\\\\u00b0C\\\\\\\", \\\\\\\"rain_sum\\\\\\\": \\\\\\\"mm\\\\\\\"}, \\\\\\\"daily\\\\\\\": {\\\\\\\"time\\\\\\\": [\\\\\\\"2025-08-01\\\\\\\"], \\\\\\\"temperature_2m_max\\\\\\\": [29.0], \\\\\\\"temperature_2m_min\\\\\\\": [20.6], \\\\\\\"rain_sum\\\\\\\": [0.0]}}\\\\n\\\", \\\"role\\\": \\\"assistant\\\"}, {\\\"text\\\": \\\"Barcelona is a vibrant city known for its rich cultural heritage and stunning architecture, particularly the works of Antoni Gaud\\\\u00ed. Here are some key attractions and landmarks you should consider visiting:\\\\n\\\\n1. **Sagrada Fam\\\\u00edlia** - An iconic basilica designed by Gaud\\\\u00ed, still under construction.\\\\n2. **Park G\\\\u00fcell** - A colorful park also designed by Gaud\\\\u00ed, filled with artistic structures and beautiful gardens.\\\\n3. **La Rambla** - A famous street in the heart of the city ideal for walking, dining, and shopping.\\\\n4. **Gothic Quarter (Barri G\\\\u00f2tic)** - The historic center of Barcelona with medieval architecture and narrow streets.\\\\n5. **Casa Batll\\\\u00f3** - Another masterpiece by Gaud\\\\u00ed, known for its unique design and vibrant colors.\\\\n6. **Casa Mil\\\\u00e0 (La Pedrera)** - A modernist building with a wavy stone facade, also designed by Gaud\\\\u00ed.\\\\n7. **Montju\\\\u00efc** - A hill offering stunning views of the city, home to several attractions including the Montju\\\\u00efc Castle and the Magic Fountain.\\\\n\\\\nRegarding the current weather, it is 29\\\\u00b0C with no rain, and the humidity is at 48%. It's a great time to explore the city!\\\", \\\"role\\\": \\\"assistant\\\"}]\",\"output.mime_type\":\"application/json\",\"output.value\":\"{\\\"role\\\": \\\"assistant\\\", \\\"content\\\": [{\\\"type\\\": \\\"text\\\", \\\"text\\\": \\\"Barcelona is a vibrant city known for its rich cultural heritage and stunning architecture, particularly the works of Antoni Gaud\\\\u00ed. Here are some key attractions and landmarks you should consider visiting:\\\\n\\\\n1. **Sagrada Fam\\\\u00edlia** - An iconic basilica designed by Gaud\\\\u00ed, still under construction.\\\\n2. **Park G\\\\u00fcell** - A colorful park also designed by Gaud\\\\u00ed, filled with artistic structures and beautiful gardens.\\\\n3. **La Rambla** - A famous street in the heart of the city ideal for walking, dining, and shopping.\\\\n4. **Gothic Quarter (Barri G\\\\u00f2tic)** - The historic center of Barcelona with medieval architecture and narrow streets.\\\\n5. **Casa Batll\\\\u00f3** - Another masterpiece by Gaud\\\\u00ed, known for its unique design and vibrant colors.\\\\n6. **Casa Mil\\\\u00e0 (La Pedrera)** - A modernist building with a wavy stone facade, also designed by Gaud\\\\u00ed.\\\\n7. **Montju\\\\u00efc** - A hill offering stunning views of the city, home to several attractions including the Montju\\\\u00efc Castle and the Magic Fountain.\\\\n\\\\nRegarding the current weather, it is 29\\\\u00b0C with no rain, and the humidity is at 48%. It's a great time to explore the city!\\\"}]}\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "10b12fd4cca3ef99",
+ "id": "bf28223502262e87",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:57:03.886Z",
- "endTime": "2025-08-01T13:57:11.335Z",
+ "startTime": "2025-08-01T13:56:54.166Z",
+ "endTime": "2025-08-01T13:57:11.333Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "39d661bf29b4dbbd",
+ "parentObservationId": "c48e7d031a4cb886",
"type": "SPAN",
"environment": "default",
- "name": "agent.react.start-6",
+ "name": "agent.react.start-4",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
"createdAt": "2025-08-01T13:57:14.163Z",
- "updatedAt": "2025-08-01T13:57:14.216Z",
- "input": "[{\"text\": \"# Available functions\\nYou can only use the following functions. Always use all required parameters.\\n\\nFunction Name: Wikipedia\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\nInput Schema: {\\\"properties\\\": {\\\"full_text\\\": {\\\"default\\\": false, \\\"description\\\": \\\"If set to true, it will return the full text of the page instead of its short summary.\\\", \\\"title\\\": \\\"Full Text\\\", \\\"type\\\": \\\"boolean\\\"}, \\\"query\\\": {\\\"description\\\": \\\"Name of the Wikipedia page.\\\", \\\"title\\\": \\\"Query\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"query\\\"], \\\"title\\\": \\\"WikipediaToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\nFunction Name: OpenMeteoTool\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\nInput Schema: {\\\"properties\\\": {\\\"country\\\": {\\\"anyOf\\\": [{\\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Country name.\\\", \\\"title\\\": \\\"Country\\\"}, \\\"end_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"End Date\\\"}, \\\"location_name\\\": {\\\"description\\\": \\\"The name of the location to retrieve weather information.\\\", \\\"title\\\": \\\"Location Name\\\", \\\"type\\\": \\\"string\\\"}, \\\"start_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"Start Date\\\"}, \\\"temperature_unit\\\": {\\\"default\\\": \\\"celsius\\\", \\\"description\\\": \\\"The unit to express temperature\\\", \\\"enum\\\": [\\\"celsius\\\", \\\"fahrenheit\\\"], \\\"title\\\": \\\"Temperature Unit\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"location_name\\\"], \\\"title\\\": \\\"OpenMeteoToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\n# Communication structure\\nYou communicate only in instruction lines. The format is: \\\"Instruction: expected output\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\n\\nMessage: User's message. You never use this instruction line.\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\"arg1\\\":\\\"value1\\\", \\\"arg2\\\":\\\"value2\\\"}. Empty object is a valid parameter.\\nFunction Output: Output of the function in JSON format.\\nThought: Continue your thinking process.\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\n\\n## Examples\\nMessage: Can you translate \\\"How are you\\\" into French?\\nThought: The user wants to translate a text into French. I can do that.\\nFinal Answer: Comment vas-tu?\\n\\n# Instructions\\nUser can only see the Final Answer, all answers must be provided there.\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\nFunctions must be used to retrieve factual or historical information to answer the message.\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\n\\n# Your capabilities\\nPrefer to use these capabilities over functions.\\n- You understand these languages: English, Spanish, French.\\n- You can translate and summarize, even long documents.\\n\\n# Notes\\n- If you don't know the answer, say that you don't know.\\n- The current time and date in ISO format might be found in the last message.\\n- When answering the user, use friendly formats for time and date.\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\n\", \"role\": \"system\"}, {\"text\": \"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\n\\nThis message was created at 2025-08-01T13:56:54+00:00\", \"role\": \"user\"}, {\"text\": \"Thought: I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \\nFunction Name: Wikipedia\\nFunction Input: {\\\"query\\\": \\\"Tourism in Barcelona\\\"}\\nFunction Output: [{\\\"description\\\": \\\"Barcelona ( BAR-s\\u0259-LOH-n\\u0259; Catalan: [b\\u0259\\u027es\\u0259\\u02c8lon\\u0259] ; Spanish: [ba\\u027e\\u03b8e\\u02c8lona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Bes\\u00f2s, bounded to the west by the Serra de Collserola mountain range.\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaud\\u00ed and Llu\\u00eds Dom\\u00e8nech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona\\u2013El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\", \\\"title\\\": \\\"Barcelona\\\", \\\"url\\\": \\\"https://en.wikipedia.org/wiki/Barcelona\\\"}]\\n\", \"role\": \"assistant\"}, {\"text\": \"Thought: I found information about Barcelona, including its rich cultural heritage and key attractions like the architectural works of Antoni Gaud\\u00ed. Now, I will check the current weather conditions in Barcelona. \\nFunction Name: OpenMeteoTool\\nFunction Input: {\\\"country\\\": \\\"Spain\\\", \\\"location_name\\\": \\\"Barcelona\\\"}\\nFunction Output: {\\\"latitude\\\": 41.4375, \\\"longitude\\\": 2.1875, \\\"generationtime_ms\\\": 0.0553131103515625, \\\"utc_offset_seconds\\\": 0, \\\"timezone\\\": \\\"GMT\\\", \\\"timezone_abbreviation\\\": \\\"GMT\\\", \\\"elevation\\\": 44.0, \\\"current_units\\\": {\\\"time\\\": \\\"iso8601\\\", \\\"interval\\\": \\\"seconds\\\", \\\"temperature_2m\\\": \\\"\\u00b0C\\\", \\\"rain\\\": \\\"mm\\\", \\\"relative_humidity_2m\\\": \\\"%\\\", \\\"wind_speed_10m\\\": \\\"km/h\\\"}, \\\"current\\\": {\\\"time\\\": \\\"2025-08-01T13:45\\\", \\\"interval\\\": 900, \\\"temperature_2m\\\": 29.0, \\\"rain\\\": 0.0, \\\"relative_humidity_2m\\\": 48, \\\"wind_speed_10m\\\": 18.8}, \\\"daily_units\\\": {\\\"time\\\": \\\"iso8601\\\", \\\"temperature_2m_max\\\": \\\"\\u00b0C\\\", \\\"temperature_2m_min\\\": \\\"\\u00b0C\\\", \\\"rain_sum\\\": \\\"mm\\\"}, \\\"daily\\\": {\\\"time\\\": [\\\"2025-08-01\\\"], \\\"temperature_2m_max\\\": [29.0], \\\"temperature_2m_min\\\": [20.6], \\\"rain_sum\\\": [0.0]}}\\n\", \"role\": \"assistant\"}]",
+ "updatedAt": "2025-08-01T13:57:14.249Z",
+ "input": "[{\"text\": \"# Available functions\\nYou can only use the following functions. Always use all required parameters.\\n\\nFunction Name: Wikipedia\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\nInput Schema: {\\\"properties\\\": {\\\"full_text\\\": {\\\"default\\\": false, \\\"description\\\": \\\"If set to true, it will return the full text of the page instead of its short summary.\\\", \\\"title\\\": \\\"Full Text\\\", \\\"type\\\": \\\"boolean\\\"}, \\\"query\\\": {\\\"description\\\": \\\"Name of the Wikipedia page.\\\", \\\"title\\\": \\\"Query\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"query\\\"], \\\"title\\\": \\\"WikipediaToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\nFunction Name: OpenMeteoTool\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\nInput Schema: {\\\"properties\\\": {\\\"country\\\": {\\\"anyOf\\\": [{\\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Country name.\\\", \\\"title\\\": \\\"Country\\\"}, \\\"end_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"End Date\\\"}, \\\"location_name\\\": {\\\"description\\\": \\\"The name of the location to retrieve weather information.\\\", \\\"title\\\": \\\"Location Name\\\", \\\"type\\\": \\\"string\\\"}, \\\"start_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"Start Date\\\"}, \\\"temperature_unit\\\": {\\\"default\\\": \\\"celsius\\\", \\\"description\\\": \\\"The unit to express temperature\\\", \\\"enum\\\": [\\\"celsius\\\", \\\"fahrenheit\\\"], \\\"title\\\": \\\"Temperature Unit\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"location_name\\\"], \\\"title\\\": \\\"OpenMeteoToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\n# Communication structure\\nYou communicate only in instruction lines. The format is: \\\"Instruction: expected output\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\n\\nMessage: User's message. You never use this instruction line.\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\"arg1\\\":\\\"value1\\\", \\\"arg2\\\":\\\"value2\\\"}. Empty object is a valid parameter.\\nFunction Output: Output of the function in JSON format.\\nThought: Continue your thinking process.\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\n\\n## Examples\\nMessage: Can you translate \\\"How are you\\\" into French?\\nThought: The user wants to translate a text into French. I can do that.\\nFinal Answer: Comment vas-tu?\\n\\n# Instructions\\nUser can only see the Final Answer, all answers must be provided there.\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\nFunctions must be used to retrieve factual or historical information to answer the message.\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\n\\n# Your capabilities\\nPrefer to use these capabilities over functions.\\n- You understand these languages: English, Spanish, French.\\n- You can translate and summarize, even long documents.\\n\\n# Notes\\n- If you don't know the answer, say that you don't know.\\n- The current time and date in ISO format might be found in the last message.\\n- When answering the user, use friendly formats for time and date.\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\n\", \"role\": \"system\"}, {\"text\": \"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\n\\nThis message was created at 2025-08-01T13:56:54+00:00\", \"role\": \"user\"}]",
"output": null,
"model": null,
"internalModelId": null,
@@ -1719,7 +1603,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 7.449,
+ "latency": 17.167,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -1735,7 +1619,7 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"target\":\"agent.react.start\",\"name\":\"start\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"iteration\":\"3\",\"llm.tools\":\"[{\\\"tool.name\\\": \\\"Wikipedia\\\", \\\"tool.description\\\": \\\"Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\\", \\\"tool.options\\\": \\\"null\\\"}, {\\\"tool.name\\\": \\\"OpenMeteoTool\\\", \\\"tool.description\\\": \\\"Retrieve current, past, or future weather forecasts for a location.\\\", \\\"tool.options\\\": \\\"null\\\"}]\",\"input.mime_type\":\"application/json\",\"input.value\":\"[{\\\"text\\\": \\\"# Available functions\\\\nYou can only use the following functions. Always use all required parameters.\\\\n\\\\nFunction Name: Wikipedia\\\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\\\nInput Schema: {\\\\\\\"properties\\\\\\\": {\\\\\\\"full_text\\\\\\\": {\\\\\\\"default\\\\\\\": false, \\\\\\\"description\\\\\\\": \\\\\\\"If set to true, it will return the full text of the page instead of its short summary.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Full Text\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"boolean\\\\\\\"}, \\\\\\\"query\\\\\\\": {\\\\\\\"description\\\\\\\": \\\\\\\"Name of the Wikipedia page.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Query\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}}, \\\\\\\"required\\\\\\\": [\\\\\\\"query\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"WikipediaToolInput\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"object\\\\\\\"}\\\\n\\\\nFunction Name: OpenMeteoTool\\\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\\\nInput Schema: {\\\\\\\"properties\\\\\\\": {\\\\\\\"country\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"Country name.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Country\\\\\\\"}, \\\\\\\"end_date\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"format\\\\\\\": \\\\\\\"date\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"End Date\\\\\\\"}, \\\\\\\"location_name\\\\\\\": {\\\\\\\"description\\\\\\\": \\\\\\\"The name of the location to retrieve weather information.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Location Name\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, \\\\\\\"start_date\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"format\\\\\\\": \\\\\\\"date\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Start Date\\\\\\\"}, \\\\\\\"temperature_unit\\\\\\\": {\\\\\\\"default\\\\\\\": \\\\\\\"celsius\\\\\\\", \\\\\\\"description\\\\\\\": \\\\\\\"The unit to express temperature\\\\\\\", \\\\\\\"enum\\\\\\\": [\\\\\\\"celsius\\\\\\\", \\\\\\\"fahrenheit\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"Temperature Unit\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}}, \\\\\\\"required\\\\\\\": [\\\\\\\"location_name\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"OpenMeteoToolInput\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"object\\\\\\\"}\\\\n\\\\n# Communication structure\\\\nYou communicate only in instruction lines. The format is: \\\\\\\"Instruction: expected output\\\\\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\\\n\\\\nMessage: User's message. You never use this instruction line.\\\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\\\\\"arg1\\\\\\\":\\\\\\\"value1\\\\\\\", \\\\\\\"arg2\\\\\\\":\\\\\\\"value2\\\\\\\"}. Empty object is a valid parameter.\\\\nFunction Output: Output of the function in JSON format.\\\\nThought: Continue your thinking process.\\\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\\\n\\\\n## Examples\\\\nMessage: Can you translate \\\\\\\"How are you\\\\\\\" into French?\\\\nThought: The user wants to translate a text into French. I can do that.\\\\nFinal Answer: Comment vas-tu?\\\\n\\\\n# Instructions\\\\nUser can only see the Final Answer, all answers must be provided there.\\\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\\\nFunctions must be used to retrieve factual or historical information to answer the message.\\\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\\\n\\\\n# Your capabilities\\\\nPrefer to use these capabilities over functions.\\\\n- You understand these languages: English, Spanish, French.\\\\n- You can translate and summarize, even long documents.\\\\n\\\\n# Notes\\\\n- If you don't know the answer, say that you don't know.\\\\n- The current time and date in ISO format might be found in the last message.\\\\n- When answering the user, use friendly formats for time and date.\\\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\\\n\\\", \\\"role\\\": \\\"system\\\"}, {\\\"text\\\": \\\"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\\\n\\\\nThis message was created at 2025-08-01T13:56:54+00:00\\\", \\\"role\\\": \\\"user\\\"}, {\\\"text\\\": \\\"Thought: I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \\\\nFunction Name: Wikipedia\\\\nFunction Input: {\\\\\\\"query\\\\\\\": \\\\\\\"Tourism in Barcelona\\\\\\\"}\\\\nFunction Output: [{\\\\\\\"description\\\\\\\": \\\\\\\"Barcelona ( BAR-s\\\\u0259-LOH-n\\\\u0259; Catalan: [b\\\\u0259\\\\u027es\\\\u0259\\\\u02c8lon\\\\u0259] ; Spanish: [ba\\\\u027e\\\\u03b8e\\\\u02c8lona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Bes\\\\u00f2s, bounded to the west by the Serra de Collserola mountain range.\\\\\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaud\\\\u00ed and Llu\\\\u00eds Dom\\\\u00e8nech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona\\\\u2013El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Barcelona\\\\\\\", \\\\\\\"url\\\\\\\": \\\\\\\"https://en.wikipedia.org/wiki/Barcelona\\\\\\\"}]\\\\n\\\", \\\"role\\\": \\\"assistant\\\"}, {\\\"text\\\": \\\"Thought: I found information about Barcelona, including its rich cultural heritage and key attractions like the architectural works of Antoni Gaud\\\\u00ed. Now, I will check the current weather conditions in Barcelona. \\\\nFunction Name: OpenMeteoTool\\\\nFunction Input: {\\\\\\\"country\\\\\\\": \\\\\\\"Spain\\\\\\\", \\\\\\\"location_name\\\\\\\": \\\\\\\"Barcelona\\\\\\\"}\\\\nFunction Output: {\\\\\\\"latitude\\\\\\\": 41.4375, \\\\\\\"longitude\\\\\\\": 2.1875, \\\\\\\"generationtime_ms\\\\\\\": 0.0553131103515625, \\\\\\\"utc_offset_seconds\\\\\\\": 0, \\\\\\\"timezone\\\\\\\": \\\\\\\"GMT\\\\\\\", \\\\\\\"timezone_abbreviation\\\\\\\": \\\\\\\"GMT\\\\\\\", \\\\\\\"elevation\\\\\\\": 44.0, \\\\\\\"current_units\\\\\\\": {\\\\\\\"time\\\\\\\": \\\\\\\"iso8601\\\\\\\", \\\\\\\"interval\\\\\\\": \\\\\\\"seconds\\\\\\\", \\\\\\\"temperature_2m\\\\\\\": \\\\\\\"\\\\u00b0C\\\\\\\", \\\\\\\"rain\\\\\\\": \\\\\\\"mm\\\\\\\", \\\\\\\"relative_humidity_2m\\\\\\\": \\\\\\\"%\\\\\\\", \\\\\\\"wind_speed_10m\\\\\\\": \\\\\\\"km/h\\\\\\\"}, \\\\\\\"current\\\\\\\": {\\\\\\\"time\\\\\\\": \\\\\\\"2025-08-01T13:45\\\\\\\", \\\\\\\"interval\\\\\\\": 900, \\\\\\\"temperature_2m\\\\\\\": 29.0, \\\\\\\"rain\\\\\\\": 0.0, \\\\\\\"relative_humidity_2m\\\\\\\": 48, \\\\\\\"wind_speed_10m\\\\\\\": 18.8}, \\\\\\\"daily_units\\\\\\\": {\\\\\\\"time\\\\\\\": \\\\\\\"iso8601\\\\\\\", \\\\\\\"temperature_2m_max\\\\\\\": \\\\\\\"\\\\u00b0C\\\\\\\", \\\\\\\"temperature_2m_min\\\\\\\": \\\\\\\"\\\\u00b0C\\\\\\\", \\\\\\\"rain_sum\\\\\\\": \\\\\\\"mm\\\\\\\"}, \\\\\\\"daily\\\\\\\": {\\\\\\\"time\\\\\\\": [\\\\\\\"2025-08-01\\\\\\\"], \\\\\\\"temperature_2m_max\\\\\\\": [29.0], \\\\\\\"temperature_2m_min\\\\\\\": [20.6], \\\\\\\"rain_sum\\\\\\\": [0.0]}}\\\\n\\\", \\\"role\\\": \\\"assistant\\\"}]\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
+ "metadata": "{\"attributes\":{\"target\":\"agent.react.start\",\"name\":\"start\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"iteration\":\"1\",\"llm.tools\":\"[{\\\"tool.name\\\": \\\"Wikipedia\\\", \\\"tool.description\\\": \\\"Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\\", \\\"tool.options\\\": \\\"null\\\"}, {\\\"tool.name\\\": \\\"OpenMeteoTool\\\", \\\"tool.description\\\": \\\"Retrieve current, past, or future weather forecasts for a location.\\\", \\\"tool.options\\\": \\\"null\\\"}]\",\"input.mime_type\":\"application/json\",\"input.value\":\"[{\\\"text\\\": \\\"# Available functions\\\\nYou can only use the following functions. Always use all required parameters.\\\\n\\\\nFunction Name: Wikipedia\\\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\\\nInput Schema: {\\\\\\\"properties\\\\\\\": {\\\\\\\"full_text\\\\\\\": {\\\\\\\"default\\\\\\\": false, \\\\\\\"description\\\\\\\": \\\\\\\"If set to true, it will return the full text of the page instead of its short summary.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Full Text\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"boolean\\\\\\\"}, \\\\\\\"query\\\\\\\": {\\\\\\\"description\\\\\\\": \\\\\\\"Name of the Wikipedia page.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Query\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}}, \\\\\\\"required\\\\\\\": [\\\\\\\"query\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"WikipediaToolInput\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"object\\\\\\\"}\\\\n\\\\nFunction Name: OpenMeteoTool\\\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\\\nInput Schema: {\\\\\\\"properties\\\\\\\": {\\\\\\\"country\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"Country name.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Country\\\\\\\"}, \\\\\\\"end_date\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"format\\\\\\\": \\\\\\\"date\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"End Date\\\\\\\"}, \\\\\\\"location_name\\\\\\\": {\\\\\\\"description\\\\\\\": \\\\\\\"The name of the location to retrieve weather information.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Location Name\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, \\\\\\\"start_date\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"format\\\\\\\": \\\\\\\"date\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Start Date\\\\\\\"}, \\\\\\\"temperature_unit\\\\\\\": {\\\\\\\"default\\\\\\\": \\\\\\\"celsius\\\\\\\", \\\\\\\"description\\\\\\\": \\\\\\\"The unit to express temperature\\\\\\\", \\\\\\\"enum\\\\\\\": [\\\\\\\"celsius\\\\\\\", \\\\\\\"fahrenheit\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"Temperature Unit\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}}, \\\\\\\"required\\\\\\\": [\\\\\\\"location_name\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"OpenMeteoToolInput\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"object\\\\\\\"}\\\\n\\\\n# Communication structure\\\\nYou communicate only in instruction lines. The format is: \\\\\\\"Instruction: expected output\\\\\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\\\n\\\\nMessage: User's message. You never use this instruction line.\\\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\\\\\"arg1\\\\\\\":\\\\\\\"value1\\\\\\\", \\\\\\\"arg2\\\\\\\":\\\\\\\"value2\\\\\\\"}. Empty object is a valid parameter.\\\\nFunction Output: Output of the function in JSON format.\\\\nThought: Continue your thinking process.\\\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\\\n\\\\n## Examples\\\\nMessage: Can you translate \\\\\\\"How are you\\\\\\\" into French?\\\\nThought: The user wants to translate a text into French. I can do that.\\\\nFinal Answer: Comment vas-tu?\\\\n\\\\n# Instructions\\\\nUser can only see the Final Answer, all answers must be provided there.\\\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\\\nFunctions must be used to retrieve factual or historical information to answer the message.\\\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\\\n\\\\n# Your capabilities\\\\nPrefer to use these capabilities over functions.\\\\n- You understand these languages: English, Spanish, French.\\\\n- You can translate and summarize, even long documents.\\\\n\\\\n# Notes\\\\n- If you don't know the answer, say that you don't know.\\\\n- The current time and date in ISO format might be found in the last message.\\\\n- When answering the user, use friendly formats for time and date.\\\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\\\n\\\", \\\"role\\\": \\\"system\\\"}, {\\\"text\\\": \\\"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\\\n\\\\nThis message was created at 2025-08-01T13:56:54+00:00\\\", \\\"role\\\": \\\"user\\\"}]\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
"internalModel": null
},
{
@@ -1781,6 +1665,66 @@
"metadata": "{\"attributes\":{\"target\":\"tool.search.wikipedia.start\",\"name\":\"start\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"tool.parameters\":\"{\\\"query\\\":\\\"Tourism in Barcelona\\\",\\\"full_text\\\":false}\",\"openinference.span.kind\":\"TOOL\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
"internalModel": null
},
+ {
+ "id": "52df0f7f9dad6b23",
+ "traceId": "096fc09a30ab90d2431778f9ee2b3936",
+ "startTime": "2025-08-01T13:56:57.475Z",
+ "endTime": "2025-08-01T13:57:11.334Z",
+ "projectId": "cloramnkj0002jz088vzn1ja4",
+ "parentObservationId": "9381f6df60cf8aa3",
+ "type": "GENERATION",
+ "environment": "default",
+ "name": "backend.openai.chat.start-15",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": null,
+ "createdAt": "2025-08-01T13:57:14.169Z",
+ "updatedAt": "2025-08-01T13:57:14.245Z",
+ "input": "[{\"role\": \"system\", \"content\": \"# Available functions\\nYou can only use the following functions. Always use all required parameters.\\n\\nFunction Name: Wikipedia\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\nInput Schema: {\\\"properties\\\": {\\\"full_text\\\": {\\\"default\\\": false, \\\"description\\\": \\\"If set to true, it will return the full text of the page instead of its short summary.\\\", \\\"title\\\": \\\"Full Text\\\", \\\"type\\\": \\\"boolean\\\"}, \\\"query\\\": {\\\"description\\\": \\\"Name of the Wikipedia page.\\\", \\\"title\\\": \\\"Query\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"query\\\"], \\\"title\\\": \\\"WikipediaToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\nFunction Name: OpenMeteoTool\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\nInput Schema: {\\\"properties\\\": {\\\"country\\\": {\\\"anyOf\\\": [{\\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Country name.\\\", \\\"title\\\": \\\"Country\\\"}, \\\"end_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"End Date\\\"}, \\\"location_name\\\": {\\\"description\\\": \\\"The name of the location to retrieve weather information.\\\", \\\"title\\\": \\\"Location Name\\\", \\\"type\\\": \\\"string\\\"}, \\\"start_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"Start Date\\\"}, \\\"temperature_unit\\\": {\\\"default\\\": \\\"celsius\\\", \\\"description\\\": \\\"The unit to express temperature\\\", \\\"enum\\\": [\\\"celsius\\\", \\\"fahrenheit\\\"], \\\"title\\\": \\\"Temperature Unit\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"location_name\\\"], \\\"title\\\": \\\"OpenMeteoToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\n# Communication structure\\nYou communicate only in instruction lines. The format is: \\\"Instruction: expected output\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\n\\nMessage: User's message. You never use this instruction line.\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\"arg1\\\":\\\"value1\\\", \\\"arg2\\\":\\\"value2\\\"}. Empty object is a valid parameter.\\nFunction Output: Output of the function in JSON format.\\nThought: Continue your thinking process.\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\n\\n## Examples\\nMessage: Can you translate \\\"How are you\\\" into French?\\nThought: The user wants to translate a text into French. I can do that.\\nFinal Answer: Comment vas-tu?\\n\\n# Instructions\\nUser can only see the Final Answer, all answers must be provided there.\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\nFunctions must be used to retrieve factual or historical information to answer the message.\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\n\\n# Your capabilities\\nPrefer to use these capabilities over functions.\\n- You understand these languages: English, Spanish, French.\\n- You can translate and summarize, even long documents.\\n\\n# Notes\\n- If you don't know the answer, say that you don't know.\\n- The current time and date in ISO format might be found in the last message.\\n- When answering the user, use friendly formats for time and date.\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\n\"}, {\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\n\\nThis message was created at 2025-08-01T13:56:54+00:00\"}]}, {\"role\": \"assistant\", \"content\": [{\"type\": \"text\", \"text\": \"Thought: I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \\nFunction Name: Wikipedia\\nFunction Input: {\\\"query\\\": \\\"Tourism in Barcelona\\\"}\\nFunction Output: [{\\\"description\\\": \\\"Barcelona ( BAR-s\\u0259-LOH-n\\u0259; Catalan: [b\\u0259\\u027es\\u0259\\u02c8lon\\u0259] ; Spanish: [ba\\u027e\\u03b8e\\u02c8lona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Bes\\u00f2s, bounded to the west by the Serra de Collserola mountain range.\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaud\\u00ed and Llu\\u00eds Dom\\u00e8nech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona\\u2013El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\", \\\"title\\\": \\\"Barcelona\\\", \\\"url\\\": \\\"https://en.wikipedia.org/wiki/Barcelona\\\"}]\\n\"}]}]",
+ "output": null,
+ "model": "gpt-4o-mini",
+ "internalModelId": "clyrjp56f0000t0mzapoocd7u",
+ "modelParameters": {
+ "max_tokens": "null",
+ "top_p": "null",
+ "frequency_penalty": "null",
+ "temperature": 0.7,
+ "top_k": "null",
+ "n": "null",
+ "presence_penalty": "null",
+ "seed": "null",
+ "stop_sequences": "null",
+ "stream": "null"
+ },
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 13.859,
+ "timeToFirstToken": null,
+ "usageDetails": {
+ "input": 1988,
+ "total": 1988
+ },
+ "costDetails": {
+ "input": 0.0002982,
+ "total": 0.0002982
+ },
+ "providedCostDetails": {},
+ "inputCost": 0.0002982,
+ "outputCost": null,
+ "totalCost": 0.0002982,
+ "inputUsage": 1988,
+ "outputUsage": 0,
+ "totalUsage": 1988,
+ "usagePricingTierId": null,
+ "usagePricingTierName": null,
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{\"attributes\":{\"target\":\"backend.openai.chat.start\",\"name\":\"start\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"input.mime_type\":\"application/json\",\"input.value\":\"[{\\\"role\\\": \\\"system\\\", \\\"content\\\": \\\"# Available functions\\\\nYou can only use the following functions. Always use all required parameters.\\\\n\\\\nFunction Name: Wikipedia\\\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\\\nInput Schema: {\\\\\\\"properties\\\\\\\": {\\\\\\\"full_text\\\\\\\": {\\\\\\\"default\\\\\\\": false, \\\\\\\"description\\\\\\\": \\\\\\\"If set to true, it will return the full text of the page instead of its short summary.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Full Text\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"boolean\\\\\\\"}, \\\\\\\"query\\\\\\\": {\\\\\\\"description\\\\\\\": \\\\\\\"Name of the Wikipedia page.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Query\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}}, \\\\\\\"required\\\\\\\": [\\\\\\\"query\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"WikipediaToolInput\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"object\\\\\\\"}\\\\n\\\\nFunction Name: OpenMeteoTool\\\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\\\nInput Schema: {\\\\\\\"properties\\\\\\\": {\\\\\\\"country\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"Country name.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Country\\\\\\\"}, \\\\\\\"end_date\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"format\\\\\\\": \\\\\\\"date\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"End Date\\\\\\\"}, \\\\\\\"location_name\\\\\\\": {\\\\\\\"description\\\\\\\": \\\\\\\"The name of the location to retrieve weather information.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Location Name\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, \\\\\\\"start_date\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"format\\\\\\\": \\\\\\\"date\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Start Date\\\\\\\"}, \\\\\\\"temperature_unit\\\\\\\": {\\\\\\\"default\\\\\\\": \\\\\\\"celsius\\\\\\\", \\\\\\\"description\\\\\\\": \\\\\\\"The unit to express temperature\\\\\\\", \\\\\\\"enum\\\\\\\": [\\\\\\\"celsius\\\\\\\", \\\\\\\"fahrenheit\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"Temperature Unit\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}}, \\\\\\\"required\\\\\\\": [\\\\\\\"location_name\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"OpenMeteoToolInput\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"object\\\\\\\"}\\\\n\\\\n# Communication structure\\\\nYou communicate only in instruction lines. The format is: \\\\\\\"Instruction: expected output\\\\\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\\\n\\\\nMessage: User's message. You never use this instruction line.\\\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\\\\\"arg1\\\\\\\":\\\\\\\"value1\\\\\\\", \\\\\\\"arg2\\\\\\\":\\\\\\\"value2\\\\\\\"}. Empty object is a valid parameter.\\\\nFunction Output: Output of the function in JSON format.\\\\nThought: Continue your thinking process.\\\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\\\n\\\\n## Examples\\\\nMessage: Can you translate \\\\\\\"How are you\\\\\\\" into French?\\\\nThought: The user wants to translate a text into French. I can do that.\\\\nFinal Answer: Comment vas-tu?\\\\n\\\\n# Instructions\\\\nUser can only see the Final Answer, all answers must be provided there.\\\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\\\nFunctions must be used to retrieve factual or historical information to answer the message.\\\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\\\n\\\\n# Your capabilities\\\\nPrefer to use these capabilities over functions.\\\\n- You understand these languages: English, Spanish, French.\\\\n- You can translate and summarize, even long documents.\\\\n\\\\n# Notes\\\\n- If you don't know the answer, say that you don't know.\\\\n- The current time and date in ISO format might be found in the last message.\\\\n- When answering the user, use friendly formats for time and date.\\\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\\\n\\\"}, {\\\"role\\\": \\\"user\\\", \\\"content\\\": [{\\\"type\\\": \\\"text\\\", \\\"text\\\": \\\"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\\\n\\\\nThis message was created at 2025-08-01T13:56:54+00:00\\\"}]}, {\\\"role\\\": \\\"assistant\\\", \\\"content\\\": [{\\\"type\\\": \\\"text\\\", \\\"text\\\": \\\"Thought: I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \\\\nFunction Name: Wikipedia\\\\nFunction Input: {\\\\\\\"query\\\\\\\": \\\\\\\"Tourism in Barcelona\\\\\\\"}\\\\nFunction Output: [{\\\\\\\"description\\\\\\\": \\\\\\\"Barcelona ( BAR-s\\\\u0259-LOH-n\\\\u0259; Catalan: [b\\\\u0259\\\\u027es\\\\u0259\\\\u02c8lon\\\\u0259] ; Spanish: [ba\\\\u027e\\\\u03b8e\\\\u02c8lona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Bes\\\\u00f2s, bounded to the west by the Serra de Collserola mountain range.\\\\\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaud\\\\u00ed and Llu\\\\u00eds Dom\\\\u00e8nech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona\\\\u2013El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Barcelona\\\\\\\", \\\\\\\"url\\\\\\\": \\\\\\\"https://en.wikipedia.org/wiki/Barcelona\\\\\\\"}]\\\\n\\\"}]}]\",\"llm.input_messages.0.message.role\":\"system\",\"llm.input_messages.0.message.content\":\"# Available functions\\nYou can only use the following functions. Always use all required parameters.\\n\\nFunction Name: Wikipedia\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\nInput Schema: {\\\"properties\\\": {\\\"full_text\\\": {\\\"default\\\": false, \\\"description\\\": \\\"If set to true, it will return the full text of the page instead of its short summary.\\\", \\\"title\\\": \\\"Full Text\\\", \\\"type\\\": \\\"boolean\\\"}, \\\"query\\\": {\\\"description\\\": \\\"Name of the Wikipedia page.\\\", \\\"title\\\": \\\"Query\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"query\\\"], \\\"title\\\": \\\"WikipediaToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\nFunction Name: OpenMeteoTool\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\nInput Schema: {\\\"properties\\\": {\\\"country\\\": {\\\"anyOf\\\": [{\\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Country name.\\\", \\\"title\\\": \\\"Country\\\"}, \\\"end_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"End Date\\\"}, \\\"location_name\\\": {\\\"description\\\": \\\"The name of the location to retrieve weather information.\\\", \\\"title\\\": \\\"Location Name\\\", \\\"type\\\": \\\"string\\\"}, \\\"start_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"Start Date\\\"}, \\\"temperature_unit\\\": {\\\"default\\\": \\\"celsius\\\", \\\"description\\\": \\\"The unit to express temperature\\\", \\\"enum\\\": [\\\"celsius\\\", \\\"fahrenheit\\\"], \\\"title\\\": \\\"Temperature Unit\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"location_name\\\"], \\\"title\\\": \\\"OpenMeteoToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\n# Communication structure\\nYou communicate only in instruction lines. The format is: \\\"Instruction: expected output\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\n\\nMessage: User's message. You never use this instruction line.\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\"arg1\\\":\\\"value1\\\", \\\"arg2\\\":\\\"value2\\\"}. Empty object is a valid parameter.\\nFunction Output: Output of the function in JSON format.\\nThought: Continue your thinking process.\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\n\\n## Examples\\nMessage: Can you translate \\\"How are you\\\" into French?\\nThought: The user wants to translate a text into French. I can do that.\\nFinal Answer: Comment vas-tu?\\n\\n# Instructions\\nUser can only see the Final Answer, all answers must be provided there.\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\nFunctions must be used to retrieve factual or historical information to answer the message.\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\n\\n# Your capabilities\\nPrefer to use these capabilities over functions.\\n- You understand these languages: English, Spanish, French.\\n- You can translate and summarize, even long documents.\\n\\n# Notes\\n- If you don't know the answer, say that you don't know.\\n- The current time and date in ISO format might be found in the last message.\\n- When answering the user, use friendly formats for time and date.\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\n\",\"llm.input_messages.1.message.role\":\"user\",\"llm.input_messages.1.message.content\":\"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\n\\nThis message was created at 2025-08-01T13:56:54+00:00\",\"llm.input_messages.2.message.role\":\"assistant\",\"llm.input_messages.2.message.content\":\"Thought: I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \\nFunction Name: Wikipedia\\nFunction Input: {\\\"query\\\": \\\"Tourism in Barcelona\\\"}\\nFunction Output: [{\\\"description\\\": \\\"Barcelona ( BAR-sə-LOH-nə; Catalan: [bəɾsəˈlonə] ; Spanish: [baɾθeˈlona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Besòs, bounded to the west by the Serra de Collserola mountain range.\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaudí and Lluís Domènech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona–El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\", \\\"title\\\": \\\"Barcelona\\\", \\\"url\\\": \\\"https://en.wikipedia.org/wiki/Barcelona\\\"}]\\n\",\"llm.provider\":\"openai\",\"llm.model_name\":\"gpt-4o-mini\",\"llm.invocation_parameters\":\"{\\\"max_tokens\\\":null,\\\"top_p\\\":null,\\\"frequency_penalty\\\":null,\\\"temperature\\\":0.7,\\\"top_k\\\":null,\\\"n\\\":null,\\\"presence_penalty\\\":null,\\\"seed\\\":null,\\\"stop_sequences\\\":null,\\\"stream\\\":null}\",\"openinference.span.kind\":\"LLM\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
+ "internalModel": "clyrjp56f0000t0mzapoocd7u"
+ },
{
"id": "2d1f33fc0925a297",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
@@ -1825,30 +1769,41 @@
"internalModel": null
},
{
- "id": "322299e937be4455",
+ "id": "b7b9a79830fe5c6b",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:57:11.332Z",
+ "startTime": "2025-08-01T13:57:11.330Z",
"endTime": "2025-08-01T13:57:11.336Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "39d661bf29b4dbbd",
- "type": "SPAN",
+ "parentObservationId": "8b26b3ec668cf146",
+ "type": "GENERATION",
"environment": "default",
- "name": "agent.react.success-2",
+ "name": "backend.openai.chat.finish-16",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.169Z",
- "updatedAt": "2025-08-01T13:57:14.252Z",
- "input": "[{\"text\": \"# Available functions\\nYou can only use the following functions. Always use all required parameters.\\n\\nFunction Name: Wikipedia\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\nInput Schema: {\\\"properties\\\": {\\\"full_text\\\": {\\\"default\\\": false, \\\"description\\\": \\\"If set to true, it will return the full text of the page instead of its short summary.\\\", \\\"title\\\": \\\"Full Text\\\", \\\"type\\\": \\\"boolean\\\"}, \\\"query\\\": {\\\"description\\\": \\\"Name of the Wikipedia page.\\\", \\\"title\\\": \\\"Query\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"query\\\"], \\\"title\\\": \\\"WikipediaToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\nFunction Name: OpenMeteoTool\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\nInput Schema: {\\\"properties\\\": {\\\"country\\\": {\\\"anyOf\\\": [{\\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Country name.\\\", \\\"title\\\": \\\"Country\\\"}, \\\"end_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"End Date\\\"}, \\\"location_name\\\": {\\\"description\\\": \\\"The name of the location to retrieve weather information.\\\", \\\"title\\\": \\\"Location Name\\\", \\\"type\\\": \\\"string\\\"}, \\\"start_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"Start Date\\\"}, \\\"temperature_unit\\\": {\\\"default\\\": \\\"celsius\\\", \\\"description\\\": \\\"The unit to express temperature\\\", \\\"enum\\\": [\\\"celsius\\\", \\\"fahrenheit\\\"], \\\"title\\\": \\\"Temperature Unit\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"location_name\\\"], \\\"title\\\": \\\"OpenMeteoToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\n# Communication structure\\nYou communicate only in instruction lines. The format is: \\\"Instruction: expected output\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\n\\nMessage: User's message. You never use this instruction line.\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\"arg1\\\":\\\"value1\\\", \\\"arg2\\\":\\\"value2\\\"}. Empty object is a valid parameter.\\nFunction Output: Output of the function in JSON format.\\nThought: Continue your thinking process.\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\n\\n## Examples\\nMessage: Can you translate \\\"How are you\\\" into French?\\nThought: The user wants to translate a text into French. I can do that.\\nFinal Answer: Comment vas-tu?\\n\\n# Instructions\\nUser can only see the Final Answer, all answers must be provided there.\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\nFunctions must be used to retrieve factual or historical information to answer the message.\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\n\\n# Your capabilities\\nPrefer to use these capabilities over functions.\\n- You understand these languages: English, Spanish, French.\\n- You can translate and summarize, even long documents.\\n\\n# Notes\\n- If you don't know the answer, say that you don't know.\\n- The current time and date in ISO format might be found in the last message.\\n- When answering the user, use friendly formats for time and date.\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\n\", \"role\": \"system\"}, {\"text\": \"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\n\\nThis message was created at 2025-08-01T13:56:54+00:00\", \"role\": \"user\"}, {\"text\": \"Thought: I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \\nFunction Name: Wikipedia\\nFunction Input: {\\\"query\\\": \\\"Tourism in Barcelona\\\"}\\nFunction Output: [{\\\"description\\\": \\\"Barcelona ( BAR-s\\u0259-LOH-n\\u0259; Catalan: [b\\u0259\\u027es\\u0259\\u02c8lon\\u0259] ; Spanish: [ba\\u027e\\u03b8e\\u02c8lona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Bes\\u00f2s, bounded to the west by the Serra de Collserola mountain range.\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaud\\u00ed and Llu\\u00eds Dom\\u00e8nech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona\\u2013El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\", \\\"title\\\": \\\"Barcelona\\\", \\\"url\\\": \\\"https://en.wikipedia.org/wiki/Barcelona\\\"}]\\n\", \"role\": \"assistant\"}, {\"text\": \"Thought: I found information about Barcelona, including its rich cultural heritage and key attractions like the architectural works of Antoni Gaud\\u00ed. Now, I will check the current weather conditions in Barcelona. \\nFunction Name: OpenMeteoTool\\nFunction Input: {\\\"country\\\": \\\"Spain\\\", \\\"location_name\\\": \\\"Barcelona\\\"}\\nFunction Output: {\\\"latitude\\\": 41.4375, \\\"longitude\\\": 2.1875, \\\"generationtime_ms\\\": 0.0553131103515625, \\\"utc_offset_seconds\\\": 0, \\\"timezone\\\": \\\"GMT\\\", \\\"timezone_abbreviation\\\": \\\"GMT\\\", \\\"elevation\\\": 44.0, \\\"current_units\\\": {\\\"time\\\": \\\"iso8601\\\", \\\"interval\\\": \\\"seconds\\\", \\\"temperature_2m\\\": \\\"\\u00b0C\\\", \\\"rain\\\": \\\"mm\\\", \\\"relative_humidity_2m\\\": \\\"%\\\", \\\"wind_speed_10m\\\": \\\"km/h\\\"}, \\\"current\\\": {\\\"time\\\": \\\"2025-08-01T13:45\\\", \\\"interval\\\": 900, \\\"temperature_2m\\\": 29.0, \\\"rain\\\": 0.0, \\\"relative_humidity_2m\\\": 48, \\\"wind_speed_10m\\\": 18.8}, \\\"daily_units\\\": {\\\"time\\\": \\\"iso8601\\\", \\\"temperature_2m_max\\\": \\\"\\u00b0C\\\", \\\"temperature_2m_min\\\": \\\"\\u00b0C\\\", \\\"rain_sum\\\": \\\"mm\\\"}, \\\"daily\\\": {\\\"time\\\": [\\\"2025-08-01\\\"], \\\"temperature_2m_max\\\": [29.0], \\\"temperature_2m_min\\\": [20.6], \\\"rain_sum\\\": [0.0]}}\\n\", \"role\": \"assistant\"}, {\"text\": \"Barcelona is a vibrant city known for its rich cultural heritage and stunning architecture, particularly the works of Antoni Gaud\\u00ed. Here are some key attractions and landmarks you should consider visiting:\\n\\n1. **Sagrada Fam\\u00edlia** - An iconic basilica designed by Gaud\\u00ed, still under construction.\\n2. **Park G\\u00fcell** - A colorful park also designed by Gaud\\u00ed, filled with artistic structures and beautiful gardens.\\n3. **La Rambla** - A famous street in the heart of the city ideal for walking, dining, and shopping.\\n4. **Gothic Quarter (Barri G\\u00f2tic)** - The historic center of Barcelona with medieval architecture and narrow streets.\\n5. **Casa Batll\\u00f3** - Another masterpiece by Gaud\\u00ed, known for its unique design and vibrant colors.\\n6. **Casa Mil\\u00e0 (La Pedrera)** - A modernist building with a wavy stone facade, also designed by Gaud\\u00ed.\\n7. **Montju\\u00efc** - A hill offering stunning views of the city, home to several attractions including the Montju\\u00efc Castle and the Magic Fountain.\\n\\nRegarding the current weather, it is 29\\u00b0C with no rain, and the humidity is at 48%. It's a great time to explore the city!\", \"role\": \"assistant\"}]",
- "output": "{\"role\": \"assistant\", \"content\": [{\"type\": \"text\", \"text\": \"Barcelona is a vibrant city known for its rich cultural heritage and stunning architecture, particularly the works of Antoni Gaud\\u00ed. Here are some key attractions and landmarks you should consider visiting:\\n\\n1. **Sagrada Fam\\u00edlia** - An iconic basilica designed by Gaud\\u00ed, still under construction.\\n2. **Park G\\u00fcell** - A colorful park also designed by Gaud\\u00ed, filled with artistic structures and beautiful gardens.\\n3. **La Rambla** - A famous street in the heart of the city ideal for walking, dining, and shopping.\\n4. **Gothic Quarter (Barri G\\u00f2tic)** - The historic center of Barcelona with medieval architecture and narrow streets.\\n5. **Casa Batll\\u00f3** - Another masterpiece by Gaud\\u00ed, known for its unique design and vibrant colors.\\n6. **Casa Mil\\u00e0 (La Pedrera)** - A modernist building with a wavy stone facade, also designed by Gaud\\u00ed.\\n7. **Montju\\u00efc** - A hill offering stunning views of the city, home to several attractions including the Montju\\u00efc Castle and the Magic Fountain.\\n\\nRegarding the current weather, it is 29\\u00b0C with no rain, and the humidity is at 48%. It's a great time to explore the city!\"}]}",
- "model": null,
- "internalModelId": null,
- "modelParameters": null,
+ "createdAt": "2025-08-01T13:57:14.163Z",
+ "updatedAt": "2025-08-01T13:57:14.243Z",
+ "input": null,
+ "output": null,
+ "model": "gpt-4o-mini",
+ "internalModelId": "clyrjp56f0000t0mzapoocd7u",
+ "modelParameters": {
+ "max_tokens": "null",
+ "top_p": "null",
+ "frequency_penalty": "null",
+ "temperature": 0.7,
+ "top_k": "null",
+ "n": "null",
+ "presence_penalty": "null",
+ "seed": "null",
+ "stop_sequences": "null",
+ "stream": "null"
+ },
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0.004,
+ "latency": 0.006,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -1864,24 +1819,24 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"target\":\"agent.react.success\",\"name\":\"success\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"iteration\":\"3\",\"input.mime_type\":\"application/json\",\"input.value\":\"[{\\\"text\\\": \\\"# Available functions\\\\nYou can only use the following functions. Always use all required parameters.\\\\n\\\\nFunction Name: Wikipedia\\\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\\\nInput Schema: {\\\\\\\"properties\\\\\\\": {\\\\\\\"full_text\\\\\\\": {\\\\\\\"default\\\\\\\": false, \\\\\\\"description\\\\\\\": \\\\\\\"If set to true, it will return the full text of the page instead of its short summary.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Full Text\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"boolean\\\\\\\"}, \\\\\\\"query\\\\\\\": {\\\\\\\"description\\\\\\\": \\\\\\\"Name of the Wikipedia page.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Query\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}}, \\\\\\\"required\\\\\\\": [\\\\\\\"query\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"WikipediaToolInput\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"object\\\\\\\"}\\\\n\\\\nFunction Name: OpenMeteoTool\\\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\\\nInput Schema: {\\\\\\\"properties\\\\\\\": {\\\\\\\"country\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"Country name.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Country\\\\\\\"}, \\\\\\\"end_date\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"format\\\\\\\": \\\\\\\"date\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"End Date\\\\\\\"}, \\\\\\\"location_name\\\\\\\": {\\\\\\\"description\\\\\\\": \\\\\\\"The name of the location to retrieve weather information.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Location Name\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, \\\\\\\"start_date\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"format\\\\\\\": \\\\\\\"date\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Start Date\\\\\\\"}, \\\\\\\"temperature_unit\\\\\\\": {\\\\\\\"default\\\\\\\": \\\\\\\"celsius\\\\\\\", \\\\\\\"description\\\\\\\": \\\\\\\"The unit to express temperature\\\\\\\", \\\\\\\"enum\\\\\\\": [\\\\\\\"celsius\\\\\\\", \\\\\\\"fahrenheit\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"Temperature Unit\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}}, \\\\\\\"required\\\\\\\": [\\\\\\\"location_name\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"OpenMeteoToolInput\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"object\\\\\\\"}\\\\n\\\\n# Communication structure\\\\nYou communicate only in instruction lines. The format is: \\\\\\\"Instruction: expected output\\\\\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\\\n\\\\nMessage: User's message. You never use this instruction line.\\\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\\\\\"arg1\\\\\\\":\\\\\\\"value1\\\\\\\", \\\\\\\"arg2\\\\\\\":\\\\\\\"value2\\\\\\\"}. Empty object is a valid parameter.\\\\nFunction Output: Output of the function in JSON format.\\\\nThought: Continue your thinking process.\\\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\\\n\\\\n## Examples\\\\nMessage: Can you translate \\\\\\\"How are you\\\\\\\" into French?\\\\nThought: The user wants to translate a text into French. I can do that.\\\\nFinal Answer: Comment vas-tu?\\\\n\\\\n# Instructions\\\\nUser can only see the Final Answer, all answers must be provided there.\\\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\\\nFunctions must be used to retrieve factual or historical information to answer the message.\\\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\\\n\\\\n# Your capabilities\\\\nPrefer to use these capabilities over functions.\\\\n- You understand these languages: English, Spanish, French.\\\\n- You can translate and summarize, even long documents.\\\\n\\\\n# Notes\\\\n- If you don't know the answer, say that you don't know.\\\\n- The current time and date in ISO format might be found in the last message.\\\\n- When answering the user, use friendly formats for time and date.\\\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\\\n\\\", \\\"role\\\": \\\"system\\\"}, {\\\"text\\\": \\\"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\\\n\\\\nThis message was created at 2025-08-01T13:56:54+00:00\\\", \\\"role\\\": \\\"user\\\"}, {\\\"text\\\": \\\"Thought: I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \\\\nFunction Name: Wikipedia\\\\nFunction Input: {\\\\\\\"query\\\\\\\": \\\\\\\"Tourism in Barcelona\\\\\\\"}\\\\nFunction Output: [{\\\\\\\"description\\\\\\\": \\\\\\\"Barcelona ( BAR-s\\\\u0259-LOH-n\\\\u0259; Catalan: [b\\\\u0259\\\\u027es\\\\u0259\\\\u02c8lon\\\\u0259] ; Spanish: [ba\\\\u027e\\\\u03b8e\\\\u02c8lona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Bes\\\\u00f2s, bounded to the west by the Serra de Collserola mountain range.\\\\\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaud\\\\u00ed and Llu\\\\u00eds Dom\\\\u00e8nech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona\\\\u2013El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Barcelona\\\\\\\", \\\\\\\"url\\\\\\\": \\\\\\\"https://en.wikipedia.org/wiki/Barcelona\\\\\\\"}]\\\\n\\\", \\\"role\\\": \\\"assistant\\\"}, {\\\"text\\\": \\\"Thought: I found information about Barcelona, including its rich cultural heritage and key attractions like the architectural works of Antoni Gaud\\\\u00ed. Now, I will check the current weather conditions in Barcelona. \\\\nFunction Name: OpenMeteoTool\\\\nFunction Input: {\\\\\\\"country\\\\\\\": \\\\\\\"Spain\\\\\\\", \\\\\\\"location_name\\\\\\\": \\\\\\\"Barcelona\\\\\\\"}\\\\nFunction Output: {\\\\\\\"latitude\\\\\\\": 41.4375, \\\\\\\"longitude\\\\\\\": 2.1875, \\\\\\\"generationtime_ms\\\\\\\": 0.0553131103515625, \\\\\\\"utc_offset_seconds\\\\\\\": 0, \\\\\\\"timezone\\\\\\\": \\\\\\\"GMT\\\\\\\", \\\\\\\"timezone_abbreviation\\\\\\\": \\\\\\\"GMT\\\\\\\", \\\\\\\"elevation\\\\\\\": 44.0, \\\\\\\"current_units\\\\\\\": {\\\\\\\"time\\\\\\\": \\\\\\\"iso8601\\\\\\\", \\\\\\\"interval\\\\\\\": \\\\\\\"seconds\\\\\\\", \\\\\\\"temperature_2m\\\\\\\": \\\\\\\"\\\\u00b0C\\\\\\\", \\\\\\\"rain\\\\\\\": \\\\\\\"mm\\\\\\\", \\\\\\\"relative_humidity_2m\\\\\\\": \\\\\\\"%\\\\\\\", \\\\\\\"wind_speed_10m\\\\\\\": \\\\\\\"km/h\\\\\\\"}, \\\\\\\"current\\\\\\\": {\\\\\\\"time\\\\\\\": \\\\\\\"2025-08-01T13:45\\\\\\\", \\\\\\\"interval\\\\\\\": 900, \\\\\\\"temperature_2m\\\\\\\": 29.0, \\\\\\\"rain\\\\\\\": 0.0, \\\\\\\"relative_humidity_2m\\\\\\\": 48, \\\\\\\"wind_speed_10m\\\\\\\": 18.8}, \\\\\\\"daily_units\\\\\\\": {\\\\\\\"time\\\\\\\": \\\\\\\"iso8601\\\\\\\", \\\\\\\"temperature_2m_max\\\\\\\": \\\\\\\"\\\\u00b0C\\\\\\\", \\\\\\\"temperature_2m_min\\\\\\\": \\\\\\\"\\\\u00b0C\\\\\\\", \\\\\\\"rain_sum\\\\\\\": \\\\\\\"mm\\\\\\\"}, \\\\\\\"daily\\\\\\\": {\\\\\\\"time\\\\\\\": [\\\\\\\"2025-08-01\\\\\\\"], \\\\\\\"temperature_2m_max\\\\\\\": [29.0], \\\\\\\"temperature_2m_min\\\\\\\": [20.6], \\\\\\\"rain_sum\\\\\\\": [0.0]}}\\\\n\\\", \\\"role\\\": \\\"assistant\\\"}, {\\\"text\\\": \\\"Barcelona is a vibrant city known for its rich cultural heritage and stunning architecture, particularly the works of Antoni Gaud\\\\u00ed. Here are some key attractions and landmarks you should consider visiting:\\\\n\\\\n1. **Sagrada Fam\\\\u00edlia** - An iconic basilica designed by Gaud\\\\u00ed, still under construction.\\\\n2. **Park G\\\\u00fcell** - A colorful park also designed by Gaud\\\\u00ed, filled with artistic structures and beautiful gardens.\\\\n3. **La Rambla** - A famous street in the heart of the city ideal for walking, dining, and shopping.\\\\n4. **Gothic Quarter (Barri G\\\\u00f2tic)** - The historic center of Barcelona with medieval architecture and narrow streets.\\\\n5. **Casa Batll\\\\u00f3** - Another masterpiece by Gaud\\\\u00ed, known for its unique design and vibrant colors.\\\\n6. **Casa Mil\\\\u00e0 (La Pedrera)** - A modernist building with a wavy stone facade, also designed by Gaud\\\\u00ed.\\\\n7. **Montju\\\\u00efc** - A hill offering stunning views of the city, home to several attractions including the Montju\\\\u00efc Castle and the Magic Fountain.\\\\n\\\\nRegarding the current weather, it is 29\\\\u00b0C with no rain, and the humidity is at 48%. It's a great time to explore the city!\\\", \\\"role\\\": \\\"assistant\\\"}]\",\"output.mime_type\":\"application/json\",\"output.value\":\"{\\\"role\\\": \\\"assistant\\\", \\\"content\\\": [{\\\"type\\\": \\\"text\\\", \\\"text\\\": \\\"Barcelona is a vibrant city known for its rich cultural heritage and stunning architecture, particularly the works of Antoni Gaud\\\\u00ed. Here are some key attractions and landmarks you should consider visiting:\\\\n\\\\n1. **Sagrada Fam\\\\u00edlia** - An iconic basilica designed by Gaud\\\\u00ed, still under construction.\\\\n2. **Park G\\\\u00fcell** - A colorful park also designed by Gaud\\\\u00ed, filled with artistic structures and beautiful gardens.\\\\n3. **La Rambla** - A famous street in the heart of the city ideal for walking, dining, and shopping.\\\\n4. **Gothic Quarter (Barri G\\\\u00f2tic)** - The historic center of Barcelona with medieval architecture and narrow streets.\\\\n5. **Casa Batll\\\\u00f3** - Another masterpiece by Gaud\\\\u00ed, known for its unique design and vibrant colors.\\\\n6. **Casa Mil\\\\u00e0 (La Pedrera)** - A modernist building with a wavy stone facade, also designed by Gaud\\\\u00ed.\\\\n7. **Montju\\\\u00efc** - A hill offering stunning views of the city, home to several attractions including the Montju\\\\u00efc Castle and the Magic Fountain.\\\\n\\\\nRegarding the current weather, it is 29\\\\u00b0C with no rain, and the humidity is at 48%. It's a great time to explore the city!\\\"}]}\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
- "internalModel": null
+ "metadata": "{\"attributes\":{\"target\":\"backend.openai.chat.finish\",\"name\":\"finish\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"llm.provider\":\"openai\",\"llm.model_name\":\"gpt-4o-mini\",\"llm.invocation_parameters\":\"{\\\"max_tokens\\\":null,\\\"top_p\\\":null,\\\"frequency_penalty\\\":null,\\\"temperature\\\":0.7,\\\"top_k\\\":null,\\\"n\\\":null,\\\"presence_penalty\\\":null,\\\"seed\\\":null,\\\"stop_sequences\\\":null,\\\"stream\\\":null}\",\"openinference.span.kind\":\"LLM\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
+ "internalModel": "clyrjp56f0000t0mzapoocd7u"
},
{
- "id": "376ecc80b166b4a5",
+ "id": "0eb76c10a47e9086",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:56:57.468Z",
+ "startTime": "2025-08-01T13:56:57.470Z",
"endTime": "2025-08-01T13:57:11.334Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "ff8b04dfe1f3e047",
+ "parentObservationId": "cb4886242bf214b8",
"type": "SPAN",
"environment": "default",
- "name": "tool.search.wikipedia.finish-12",
+ "name": "iteration-2",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.162Z",
- "updatedAt": "2025-08-01T13:57:14.242Z",
+ "createdAt": "2025-08-01T13:57:14.163Z",
+ "updatedAt": "2025-08-01T13:57:14.243Z",
"input": null,
"output": null,
"model": null,
@@ -1891,7 +1846,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 13.866,
+ "latency": 13.864,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -1907,24 +1862,24 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"target\":\"tool.search.wikipedia.finish\",\"name\":\"finish\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"openinference.span.kind\":\"TOOL\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
+ "metadata": "{\"attributes\":{\"target\":\"groupId\",\"name\":\"iteration-2\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"openinference.span.kind\":\"CHAIN\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "39d661bf29b4dbbd",
+ "id": "638f1207eba5c924",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:57:03.886Z",
- "endTime": "2025-08-01T13:57:11.336Z",
+ "startTime": "2025-08-01T13:57:05.655Z",
+ "endTime": "2025-08-01T13:57:11.335Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "cb4886242bf214b8",
+ "parentObservationId": "39d661bf29b4dbbd",
"type": "SPAN",
"environment": "default",
- "name": "iteration-3",
+ "name": "agent.react.update-19",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.164Z",
- "updatedAt": "2025-08-01T13:57:14.233Z",
+ "createdAt": "2025-08-01T13:57:14.163Z",
+ "updatedAt": "2025-08-01T13:57:14.243Z",
"input": null,
"output": null,
"model": null,
@@ -1934,7 +1889,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 7.45,
+ "latency": 5.68,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -1950,26 +1905,26 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"target\":\"groupId\",\"name\":\"iteration-3\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"openinference.span.kind\":\"CHAIN\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
+ "metadata": "{\"attributes\":{\"target\":\"agent.react.update\",\"name\":\"update\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"output.mime_type\":\"application/json\",\"thought\":\"I now have the current weather conditions in Barcelona, which indicate a temperature of 29°C with no rain. I will compile the information about key attractions and the weather together for the user. \",\"tool.parameters\":\"null\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "477d350ab1c6548d",
+ "id": "4ab39fcf35639b0c",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:57:03.886Z",
+ "startTime": "2025-08-01T13:56:57.470Z",
"endTime": "2025-08-01T13:57:11.334Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "0eb76c10a47e9086",
+ "parentObservationId": "c48e7d031a4cb886",
"type": "SPAN",
"environment": "default",
- "name": "agent.react.update-18",
+ "name": "agent.react.update-14",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.163Z",
- "updatedAt": "2025-08-01T13:57:14.211Z",
+ "createdAt": "2025-08-01T13:57:14.162Z",
+ "updatedAt": "2025-08-01T13:57:14.242Z",
"input": null,
- "output": "{\"latitude\": 41.4375, \"longitude\": 2.1875, \"generationtime_ms\": 0.0553131103515625, \"utc_offset_seconds\": 0, \"timezone\": \"GMT\", \"timezone_abbreviation\": \"GMT\", \"elevation\": 44.0, \"current_units\": {\"time\": \"iso8601\", \"interval\": \"seconds\", \"temperature_2m\": \"°C\", \"rain\": \"mm\", \"relative_humidity_2m\": \"%\", \"wind_speed_10m\": \"km/h\"}, \"current\": {\"time\": \"2025-08-01T13:45\", \"interval\": 900, \"temperature_2m\": 29.0, \"rain\": 0.0, \"relative_humidity_2m\": 48, \"wind_speed_10m\": 18.8}, \"daily_units\": {\"time\": \"iso8601\", \"temperature_2m_max\": \"°C\", \"temperature_2m_min\": \"°C\", \"rain_sum\": \"mm\"}, \"daily\": {\"time\": [\"2025-08-01\"], \"temperature_2m_max\": [29.0], \"temperature_2m_min\": [20.6], \"rain_sum\": [0.0]}}",
+ "output": "[{\"description\": \"Barcelona ( BAR-sə-LOH-nə; Catalan: [bəɾsəˈlonə] ; Spanish: [baɾθeˈlona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Besòs, bounded to the west by the Serra de Collserola mountain range.\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaudí and Lluís Domènech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona–El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\", \"title\": \"Barcelona\", \"url\": \"https://en.wikipedia.org/wiki/Barcelona\"}]",
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -1977,7 +1932,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 7.448,
+ "latency": 13.864,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -1993,11 +1948,11 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"target\":\"agent.react.update\",\"name\":\"update\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"output.value\":\"{\\\"latitude\\\": 41.4375, \\\"longitude\\\": 2.1875, \\\"generationtime_ms\\\": 0.0553131103515625, \\\"utc_offset_seconds\\\": 0, \\\"timezone\\\": \\\"GMT\\\", \\\"timezone_abbreviation\\\": \\\"GMT\\\", \\\"elevation\\\": 44.0, \\\"current_units\\\": {\\\"time\\\": \\\"iso8601\\\", \\\"interval\\\": \\\"seconds\\\", \\\"temperature_2m\\\": \\\"°C\\\", \\\"rain\\\": \\\"mm\\\", \\\"relative_humidity_2m\\\": \\\"%\\\", \\\"wind_speed_10m\\\": \\\"km/h\\\"}, \\\"current\\\": {\\\"time\\\": \\\"2025-08-01T13:45\\\", \\\"interval\\\": 900, \\\"temperature_2m\\\": 29.0, \\\"rain\\\": 0.0, \\\"relative_humidity_2m\\\": 48, \\\"wind_speed_10m\\\": 18.8}, \\\"daily_units\\\": {\\\"time\\\": \\\"iso8601\\\", \\\"temperature_2m_max\\\": \\\"°C\\\", \\\"temperature_2m_min\\\": \\\"°C\\\", \\\"rain_sum\\\": \\\"mm\\\"}, \\\"daily\\\": {\\\"time\\\": [\\\"2025-08-01\\\"], \\\"temperature_2m_max\\\": [29.0], \\\"temperature_2m_min\\\": [20.6], \\\"rain_sum\\\": [0.0]}}\",\"output.mime_type\":\"application/json\",\"thought\":\"I found information about Barcelona, including its rich cultural heritage and key attractions like the architectural works of Antoni Gaudí. Now, I will check the current weather conditions in Barcelona. \",\"tool.name\":\"OpenMeteoTool\",\"tool.parameters\":\"{\\\"location_name\\\": \\\"Barcelona\\\", \\\"country\\\": \\\"Spain\\\"}\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
+ "metadata": "{\"attributes\":{\"target\":\"agent.react.update\",\"name\":\"update\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"output.value\":\"[{\\\"description\\\": \\\"Barcelona ( BAR-sə-LOH-nə; Catalan: [bəɾsəˈlonə] ; Spanish: [baɾθeˈlona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Besòs, bounded to the west by the Serra de Collserola mountain range.\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaudí and Lluís Domènech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona–El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\", \\\"title\\\": \\\"Barcelona\\\", \\\"url\\\": \\\"https://en.wikipedia.org/wiki/Barcelona\\\"}]\",\"output.mime_type\":\"application/json\",\"thought\":\"I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \",\"tool.name\":\"Wikipedia\",\"tool.parameters\":\"{\\\"query\\\": \\\"Tourism in Barcelona\\\"}\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "49b16d9910843ef4",
+ "id": "376ecc80b166b4a5",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
"startTime": "2025-08-01T13:56:57.468Z",
"endTime": "2025-08-01T13:57:11.334Z",
@@ -2005,14 +1960,14 @@
"parentObservationId": "ff8b04dfe1f3e047",
"type": "SPAN",
"environment": "default",
- "name": "tool.search.wikipedia.success-12",
+ "name": "tool.search.wikipedia.finish-12",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.161Z",
- "updatedAt": "2025-08-01T13:57:14.210Z",
+ "createdAt": "2025-08-01T13:57:14.162Z",
+ "updatedAt": "2025-08-01T13:57:14.242Z",
"input": null,
- "output": "[{\"description\": \"Barcelona ( BAR-sə-LOH-nə; Catalan: [bəɾsəˈlonə] ; Spanish: [baɾθeˈlona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Besòs, bounded to the west by the Serra de Collserola mountain range.\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaudí and Lluís Domènech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona–El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\", \"title\": \"Barcelona\", \"url\": \"https://en.wikipedia.org/wiki/Barcelona\"}]",
+ "output": null,
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -2036,26 +1991,26 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"target\":\"tool.search.wikipedia.success\",\"name\":\"success\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"output.value\":\"[{\\\"description\\\": \\\"Barcelona ( BAR-sə-LOH-nə; Catalan: [bəɾsəˈlonə] ; Spanish: [baɾθeˈlona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Besòs, bounded to the west by the Serra de Collserola mountain range.\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaudí and Lluís Domènech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona–El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\", \\\"title\\\": \\\"Barcelona\\\", \\\"url\\\": \\\"https://en.wikipedia.org/wiki/Barcelona\\\"}]\",\"tool.parameters\":\"{\\\"query\\\":\\\"Tourism in Barcelona\\\",\\\"full_text\\\":false}\",\"openinference.span.kind\":\"TOOL\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
+ "metadata": "{\"attributes\":{\"target\":\"tool.search.wikipedia.finish\",\"name\":\"finish\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"openinference.span.kind\":\"TOOL\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "4ab39fcf35639b0c",
+ "id": "6c69cf2f9ea80007",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:56:57.470Z",
+ "startTime": "2025-08-01T13:57:03.274Z",
"endTime": "2025-08-01T13:57:11.334Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "c48e7d031a4cb886",
+ "parentObservationId": "0eb76c10a47e9086",
"type": "SPAN",
"environment": "default",
- "name": "agent.react.update-14",
+ "name": "agent.react.update-16",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.162Z",
- "updatedAt": "2025-08-01T13:57:14.242Z",
+ "createdAt": "2025-08-01T13:57:14.163Z",
+ "updatedAt": "2025-08-01T13:57:14.240Z",
"input": null,
- "output": "[{\"description\": \"Barcelona ( BAR-sə-LOH-nə; Catalan: [bəɾsəˈlonə] ; Spanish: [baɾθeˈlona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Besòs, bounded to the west by the Serra de Collserola mountain range.\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaudí and Lluís Domènech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona–El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\", \"title\": \"Barcelona\", \"url\": \"https://en.wikipedia.org/wiki/Barcelona\"}]",
+ "output": null,
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -2063,7 +2018,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 13.864,
+ "latency": 8.06,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -2079,24 +2034,24 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"target\":\"agent.react.update\",\"name\":\"update\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"output.value\":\"[{\\\"description\\\": \\\"Barcelona ( BAR-sə-LOH-nə; Catalan: [bəɾsəˈlonə] ; Spanish: [baɾθeˈlona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Besòs, bounded to the west by the Serra de Collserola mountain range.\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaudí and Lluís Domènech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona–El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\", \\\"title\\\": \\\"Barcelona\\\", \\\"url\\\": \\\"https://en.wikipedia.org/wiki/Barcelona\\\"}]\",\"output.mime_type\":\"application/json\",\"thought\":\"I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \",\"tool.name\":\"Wikipedia\",\"tool.parameters\":\"{\\\"query\\\": \\\"Tourism in Barcelona\\\"}\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
+ "metadata": "{\"attributes\":{\"target\":\"agent.react.update\",\"name\":\"update\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"output.mime_type\":\"application/json\",\"thought\":\"I found information about Barcelona, including its rich cultural heritage and key attractions like the architectural works of Antoni Gaudí. Now, I will check the current weather conditions in Barcelona. \",\"tool.name\":\"OpenMeteoTool\",\"tool.parameters\":\"null\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "4f7a25ab4555e106",
+ "id": "c48e7d031a4cb886",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:57:03.029Z",
+ "startTime": "2025-08-01T13:56:54.166Z",
"endTime": "2025-08-01T13:57:11.334Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "0eb76c10a47e9086",
+ "parentObservationId": "cb4886242bf214b8",
"type": "SPAN",
"environment": "default",
- "name": "agent.react.update-15",
+ "name": "iteration-1",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.161Z",
- "updatedAt": "2025-08-01T13:57:14.230Z",
+ "createdAt": "2025-08-01T13:57:14.164Z",
+ "updatedAt": "2025-08-01T13:57:14.240Z",
"input": null,
"output": null,
"model": null,
@@ -2106,7 +2061,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 8.305,
+ "latency": 17.168,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -2122,24 +2077,24 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"target\":\"agent.react.update\",\"name\":\"update\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"output.mime_type\":\"application/json\",\"thought\":\"I found information about Barcelona, including its rich cultural heritage and key attractions like the architectural works of Antoni Gaudí. Now, I will check the current weather conditions in Barcelona. \",\"tool.parameters\":\"null\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
+ "metadata": "{\"attributes\":{\"target\":\"groupId\",\"name\":\"iteration-1\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"openinference.span.kind\":\"CHAIN\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "638f1207eba5c924",
+ "id": "8b26b3ec668cf146",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:57:05.655Z",
- "endTime": "2025-08-01T13:57:11.335Z",
+ "startTime": "2025-08-01T13:57:11.315Z",
+ "endTime": "2025-08-01T13:57:11.336Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
"parentObservationId": "39d661bf29b4dbbd",
"type": "SPAN",
"environment": "default",
- "name": "agent.react.update-19",
+ "name": "agent.react.partial_update-610",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
"createdAt": "2025-08-01T13:57:14.163Z",
- "updatedAt": "2025-08-01T13:57:14.243Z",
+ "updatedAt": "2025-08-01T13:57:14.239Z",
"input": null,
"output": null,
"model": null,
@@ -2149,7 +2104,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 5.68,
+ "latency": 0.021,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -2165,34 +2120,45 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"target\":\"agent.react.update\",\"name\":\"update\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"output.mime_type\":\"application/json\",\"thought\":\"I now have the current weather conditions in Barcelona, which indicate a temperature of 29°C with no rain. I will compile the information about key attractions and the weather together for the user. \",\"tool.parameters\":\"null\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
+ "metadata": "{\"attributes\":{\"target\":\"agent.react.partial_update\",\"name\":\"partial_update\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"output.mime_type\":\"application/json\",\"thought\":\"I now have the current weather conditions in Barcelona, which indicate a temperature of 29°C with no rain. I will compile the information about key attractions and the weather together for the user. \",\"tool.parameters\":\"null\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "6c69cf2f9ea80007",
+ "id": "f50f7bbf13112df9",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:57:03.274Z",
- "endTime": "2025-08-01T13:57:11.334Z",
+ "startTime": "2025-08-01T13:57:11.328Z",
+ "endTime": "2025-08-01T13:57:11.336Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "0eb76c10a47e9086",
- "type": "SPAN",
+ "parentObservationId": "8b26b3ec668cf146",
+ "type": "GENERATION",
"environment": "default",
- "name": "agent.react.update-16",
+ "name": "backend.openai.chat.success-16",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
"createdAt": "2025-08-01T13:57:14.163Z",
- "updatedAt": "2025-08-01T13:57:14.240Z",
+ "updatedAt": "2025-08-01T13:57:14.239Z",
"input": null,
"output": null,
- "model": null,
- "internalModelId": null,
- "modelParameters": null,
+ "model": "gpt-4o-mini",
+ "internalModelId": "clyrjp56f0000t0mzapoocd7u",
+ "modelParameters": {
+ "max_tokens": "null",
+ "top_p": "null",
+ "frequency_penalty": "null",
+ "temperature": 0.7,
+ "top_k": "null",
+ "n": "null",
+ "presence_penalty": "null",
+ "seed": "null",
+ "stop_sequences": "null",
+ "stream": "null"
+ },
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 8.06,
+ "latency": 0.008,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -2208,68 +2174,85 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"target\":\"agent.react.update\",\"name\":\"update\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"output.mime_type\":\"application/json\",\"thought\":\"I found information about Barcelona, including its rich cultural heritage and key attractions like the architectural works of Antoni Gaudí. Now, I will check the current weather conditions in Barcelona. \",\"tool.name\":\"OpenMeteoTool\",\"tool.parameters\":\"null\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
- "internalModel": null
+ "metadata": "{\"attributes\":{\"llm.output_messages.233.message.role\":\"assistant\",\"llm.output_messages.233.message.content\":\".\",\"llm.output_messages.234.message.role\":\"assistant\",\"llm.output_messages.234.message.content\":\" **\",\"llm.output_messages.235.message.role\":\"assistant\",\"llm.output_messages.235.message.content\":\"Mont\",\"llm.output_messages.236.message.role\":\"assistant\",\"llm.output_messages.236.message.content\":\"ju\",\"llm.output_messages.237.message.role\":\"assistant\",\"llm.output_messages.237.message.content\":\"ïc\",\"llm.output_messages.238.message.role\":\"assistant\",\"llm.output_messages.238.message.content\":\"**\",\"llm.output_messages.239.message.role\":\"assistant\",\"llm.output_messages.239.message.content\":\" -\",\"llm.output_messages.240.message.role\":\"assistant\",\"llm.output_messages.240.message.content\":\" A\",\"llm.output_messages.241.message.role\":\"assistant\",\"llm.output_messages.241.message.content\":\" hill\",\"llm.output_messages.242.message.role\":\"assistant\",\"llm.output_messages.242.message.content\":\" offering\",\"llm.output_messages.243.message.role\":\"assistant\",\"llm.output_messages.243.message.content\":\" stunning\",\"llm.output_messages.244.message.role\":\"assistant\",\"llm.output_messages.244.message.content\":\" views\",\"llm.output_messages.245.message.role\":\"assistant\",\"llm.output_messages.245.message.content\":\" of\",\"llm.output_messages.246.message.role\":\"assistant\",\"llm.output_messages.246.message.content\":\" the\",\"llm.output_messages.247.message.role\":\"assistant\",\"llm.output_messages.247.message.content\":\" city\",\"llm.output_messages.248.message.role\":\"assistant\",\"llm.output_messages.248.message.content\":\",\",\"llm.output_messages.249.message.role\":\"assistant\",\"llm.output_messages.249.message.content\":\" home\",\"llm.output_messages.250.message.role\":\"assistant\",\"llm.output_messages.250.message.content\":\" to\",\"llm.output_messages.251.message.role\":\"assistant\",\"llm.output_messages.251.message.content\":\" several\",\"llm.output_messages.252.message.role\":\"assistant\",\"llm.output_messages.252.message.content\":\" attractions\",\"llm.output_messages.253.message.role\":\"assistant\",\"llm.output_messages.253.message.content\":\" including\",\"llm.output_messages.254.message.role\":\"assistant\",\"llm.output_messages.254.message.content\":\" the\",\"llm.output_messages.255.message.role\":\"assistant\",\"llm.output_messages.255.message.content\":\" Mont\",\"llm.output_messages.256.message.role\":\"assistant\",\"llm.output_messages.256.message.content\":\"ju\",\"llm.output_messages.257.message.role\":\"assistant\",\"llm.output_messages.257.message.content\":\"ïc\",\"llm.output_messages.258.message.role\":\"assistant\",\"llm.output_messages.258.message.content\":\" Castle\",\"llm.output_messages.259.message.role\":\"assistant\",\"llm.output_messages.259.message.content\":\" and\",\"llm.output_messages.260.message.role\":\"assistant\",\"llm.output_messages.260.message.content\":\" the\",\"llm.output_messages.261.message.role\":\"assistant\",\"llm.output_messages.261.message.content\":\" Magic\",\"llm.output_messages.262.message.role\":\"assistant\",\"llm.output_messages.262.message.content\":\" Fountain\",\"llm.output_messages.263.message.role\":\"assistant\",\"llm.output_messages.263.message.content\":\".\\n\\n\",\"llm.output_messages.264.message.role\":\"assistant\",\"llm.output_messages.264.message.content\":\"Regarding\",\"llm.output_messages.265.message.role\":\"assistant\",\"llm.output_messages.265.message.content\":\" the\",\"llm.output_messages.266.message.role\":\"assistant\",\"llm.output_messages.266.message.content\":\" current\",\"llm.output_messages.267.message.role\":\"assistant\",\"llm.output_messages.267.message.content\":\" weather\",\"llm.output_messages.268.message.role\":\"assistant\",\"llm.output_messages.268.message.content\":\",\",\"llm.output_messages.269.message.role\":\"assistant\",\"llm.output_messages.269.message.content\":\" it\",\"llm.output_messages.270.message.role\":\"assistant\",\"llm.output_messages.270.message.content\":\" is\",\"llm.output_messages.271.message.role\":\"assistant\",\"llm.output_messages.271.message.content\":\" \",\"llm.output_messages.272.message.role\":\"assistant\",\"llm.output_messages.272.message.content\":\"29\",\"llm.output_messages.273.message.role\":\"assistant\",\"llm.output_messages.273.message.content\":\"°C\",\"llm.output_messages.274.message.role\":\"assistant\",\"llm.output_messages.274.message.content\":\" with\",\"llm.output_messages.275.message.role\":\"assistant\",\"llm.output_messages.275.message.content\":\" no\",\"llm.output_messages.276.message.role\":\"assistant\",\"llm.output_messages.276.message.content\":\" rain\",\"llm.output_messages.277.message.role\":\"assistant\",\"llm.output_messages.277.message.content\":\",\",\"llm.output_messages.278.message.role\":\"assistant\",\"llm.output_messages.278.message.content\":\" and\",\"llm.output_messages.279.message.role\":\"assistant\",\"llm.output_messages.279.message.content\":\" the\",\"llm.output_messages.280.message.role\":\"assistant\",\"llm.output_messages.280.message.content\":\" humidity\",\"llm.output_messages.281.message.role\":\"assistant\",\"llm.output_messages.281.message.content\":\" is\",\"llm.output_messages.282.message.role\":\"assistant\",\"llm.output_messages.282.message.content\":\" at\",\"llm.output_messages.283.message.role\":\"assistant\",\"llm.output_messages.283.message.content\":\" \",\"llm.output_messages.284.message.role\":\"assistant\",\"llm.output_messages.284.message.content\":\"48\",\"llm.output_messages.285.message.role\":\"assistant\",\"llm.output_messages.285.message.content\":\"%.\",\"llm.output_messages.286.message.role\":\"assistant\",\"llm.output_messages.286.message.content\":\" It's\",\"llm.output_messages.287.message.role\":\"assistant\",\"llm.output_messages.287.message.content\":\" a\",\"llm.output_messages.288.message.role\":\"assistant\",\"llm.output_messages.288.message.content\":\" great\",\"llm.output_messages.289.message.role\":\"assistant\",\"llm.output_messages.289.message.content\":\" time\",\"llm.output_messages.290.message.role\":\"assistant\",\"llm.output_messages.290.message.content\":\" to\",\"llm.output_messages.291.message.role\":\"assistant\",\"llm.output_messages.291.message.content\":\" explore\",\"llm.output_messages.292.message.role\":\"assistant\",\"llm.output_messages.292.message.content\":\" the\",\"llm.output_messages.293.message.role\":\"assistant\",\"llm.output_messages.293.message.content\":\" city\",\"llm.output_messages.294.message.role\":\"assistant\",\"llm.output_messages.294.message.content\":\"!\",\"llm.provider\":\"openai\",\"llm.model_name\":\"gpt-4o-mini\",\"llm.invocation_parameters\":\"{\\\"max_tokens\\\":null,\\\"top_p\\\":null,\\\"frequency_penalty\\\":null,\\\"temperature\\\":0.7,\\\"top_k\\\":null,\\\"n\\\":null,\\\"presence_penalty\\\":null,\\\"seed\\\":null,\\\"stop_sequences\\\":null,\\\"stream\\\":null}\",\"openinference.span.kind\":\"LLM\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
+ "internalModel": "clyrjp56f0000t0mzapoocd7u"
},
{
- "id": "6c9cab010e21d9ef",
+ "id": "4c5c5a7936ca24bc",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:57:03.579Z",
+ "startTime": "2025-08-01T13:57:03.889Z",
"endTime": "2025-08-01T13:57:11.334Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "0eb76c10a47e9086",
- "type": "SPAN",
+ "parentObservationId": "10b12fd4cca3ef99",
+ "type": "GENERATION",
"environment": "default",
- "name": "agent.react.update-17",
+ "name": "backend.openai.chat.start-16",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
"createdAt": "2025-08-01T13:57:14.162Z",
- "updatedAt": "2025-08-01T13:57:14.256Z",
- "input": null,
+ "updatedAt": "2025-08-01T13:57:14.239Z",
+ "input": "[{\"role\": \"system\", \"content\": \"# Available functions\\nYou can only use the following functions. Always use all required parameters.\\n\\nFunction Name: Wikipedia\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\nInput Schema: {\\\"properties\\\": {\\\"full_text\\\": {\\\"default\\\": false, \\\"description\\\": \\\"If set to true, it will return the full text of the page instead of its short summary.\\\", \\\"title\\\": \\\"Full Text\\\", \\\"type\\\": \\\"boolean\\\"}, \\\"query\\\": {\\\"description\\\": \\\"Name of the Wikipedia page.\\\", \\\"title\\\": \\\"Query\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"query\\\"], \\\"title\\\": \\\"WikipediaToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\nFunction Name: OpenMeteoTool\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\nInput Schema: {\\\"properties\\\": {\\\"country\\\": {\\\"anyOf\\\": [{\\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Country name.\\\", \\\"title\\\": \\\"Country\\\"}, \\\"end_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"End Date\\\"}, \\\"location_name\\\": {\\\"description\\\": \\\"The name of the location to retrieve weather information.\\\", \\\"title\\\": \\\"Location Name\\\", \\\"type\\\": \\\"string\\\"}, \\\"start_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"Start Date\\\"}, \\\"temperature_unit\\\": {\\\"default\\\": \\\"celsius\\\", \\\"description\\\": \\\"The unit to express temperature\\\", \\\"enum\\\": [\\\"celsius\\\", \\\"fahrenheit\\\"], \\\"title\\\": \\\"Temperature Unit\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"location_name\\\"], \\\"title\\\": \\\"OpenMeteoToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\n# Communication structure\\nYou communicate only in instruction lines. The format is: \\\"Instruction: expected output\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\n\\nMessage: User's message. You never use this instruction line.\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\"arg1\\\":\\\"value1\\\", \\\"arg2\\\":\\\"value2\\\"}. Empty object is a valid parameter.\\nFunction Output: Output of the function in JSON format.\\nThought: Continue your thinking process.\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\n\\n## Examples\\nMessage: Can you translate \\\"How are you\\\" into French?\\nThought: The user wants to translate a text into French. I can do that.\\nFinal Answer: Comment vas-tu?\\n\\n# Instructions\\nUser can only see the Final Answer, all answers must be provided there.\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\nFunctions must be used to retrieve factual or historical information to answer the message.\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\n\\n# Your capabilities\\nPrefer to use these capabilities over functions.\\n- You understand these languages: English, Spanish, French.\\n- You can translate and summarize, even long documents.\\n\\n# Notes\\n- If you don't know the answer, say that you don't know.\\n- The current time and date in ISO format might be found in the last message.\\n- When answering the user, use friendly formats for time and date.\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\n\"}, {\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\n\\nThis message was created at 2025-08-01T13:56:54+00:00\"}]}, {\"role\": \"assistant\", \"content\": [{\"type\": \"text\", \"text\": \"Thought: I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \\nFunction Name: Wikipedia\\nFunction Input: {\\\"query\\\": \\\"Tourism in Barcelona\\\"}\\nFunction Output: [{\\\"description\\\": \\\"Barcelona ( BAR-s\\u0259-LOH-n\\u0259; Catalan: [b\\u0259\\u027es\\u0259\\u02c8lon\\u0259] ; Spanish: [ba\\u027e\\u03b8e\\u02c8lona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Bes\\u00f2s, bounded to the west by the Serra de Collserola mountain range.\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaud\\u00ed and Llu\\u00eds Dom\\u00e8nech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona\\u2013El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\", \\\"title\\\": \\\"Barcelona\\\", \\\"url\\\": \\\"https://en.wikipedia.org/wiki/Barcelona\\\"}]\\n\"}]}, {\"role\": \"assistant\", \"content\": [{\"type\": \"text\", \"text\": \"Thought: I found information about Barcelona, including its rich cultural heritage and key attractions like the architectural works of Antoni Gaud\\u00ed. Now, I will check the current weather conditions in Barcelona. \\nFunction Name: OpenMeteoTool\\nFunction Input: {\\\"country\\\": \\\"Spain\\\", \\\"location_name\\\": \\\"Barcelona\\\"}\\nFunction Output: {\\\"latitude\\\": 41.4375, \\\"longitude\\\": 2.1875, \\\"generationtime_ms\\\": 0.0553131103515625, \\\"utc_offset_seconds\\\": 0, \\\"timezone\\\": \\\"GMT\\\", \\\"timezone_abbreviation\\\": \\\"GMT\\\", \\\"elevation\\\": 44.0, \\\"current_units\\\": {\\\"time\\\": \\\"iso8601\\\", \\\"interval\\\": \\\"seconds\\\", \\\"temperature_2m\\\": \\\"\\u00b0C\\\", \\\"rain\\\": \\\"mm\\\", \\\"relative_humidity_2m\\\": \\\"%\\\", \\\"wind_speed_10m\\\": \\\"km/h\\\"}, \\\"current\\\": {\\\"time\\\": \\\"2025-08-01T13:45\\\", \\\"interval\\\": 900, \\\"temperature_2m\\\": 29.0, \\\"rain\\\": 0.0, \\\"relative_humidity_2m\\\": 48, \\\"wind_speed_10m\\\": 18.8}, \\\"daily_units\\\": {\\\"time\\\": \\\"iso8601\\\", \\\"temperature_2m_max\\\": \\\"\\u00b0C\\\", \\\"temperature_2m_min\\\": \\\"\\u00b0C\\\", \\\"rain_sum\\\": \\\"mm\\\"}, \\\"daily\\\": {\\\"time\\\": [\\\"2025-08-01\\\"], \\\"temperature_2m_max\\\": [29.0], \\\"temperature_2m_min\\\": [20.6], \\\"rain_sum\\\": [0.0]}}\\n\"}]}]",
"output": null,
- "model": null,
- "internalModelId": null,
- "modelParameters": null,
+ "model": "gpt-4o-mini",
+ "internalModelId": "clyrjp56f0000t0mzapoocd7u",
+ "modelParameters": {
+ "max_tokens": "null",
+ "top_p": "null",
+ "frequency_penalty": "null",
+ "temperature": 0.7,
+ "top_k": "null",
+ "n": "null",
+ "presence_penalty": "null",
+ "seed": "null",
+ "stop_sequences": "null",
+ "stream": "null"
+ },
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 7.755,
+ "latency": 7.445,
"timeToFirstToken": null,
- "usageDetails": {},
- "costDetails": {},
+ "usageDetails": {
+ "input": 2359,
+ "total": 2359
+ },
+ "costDetails": {
+ "input": 0.00035385,
+ "total": 0.00035385
+ },
"providedCostDetails": {},
- "inputCost": null,
+ "inputCost": 0.00035385,
"outputCost": null,
- "totalCost": 0,
- "inputUsage": 0,
+ "totalCost": 0.00035385,
+ "inputUsage": 2359,
"outputUsage": 0,
- "totalUsage": 0,
+ "totalUsage": 2359,
"usagePricingTierId": null,
"usagePricingTierName": null,
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"target\":\"agent.react.update\",\"name\":\"update\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"output.mime_type\":\"application/json\",\"thought\":\"I found information about Barcelona, including its rich cultural heritage and key attractions like the architectural works of Antoni Gaudí. Now, I will check the current weather conditions in Barcelona. \",\"tool.name\":\"OpenMeteoTool\",\"tool.parameters\":\"{\\\"location_name\\\": \\\"Barcelona\\\", \\\"country\\\": \\\"Spain\\\"}\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
- "internalModel": null
+ "metadata": "{\"attributes\":{\"target\":\"backend.openai.chat.start\",\"name\":\"start\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"input.mime_type\":\"application/json\",\"input.value\":\"[{\\\"role\\\": \\\"system\\\", \\\"content\\\": \\\"# Available functions\\\\nYou can only use the following functions. Always use all required parameters.\\\\n\\\\nFunction Name: Wikipedia\\\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\\\nInput Schema: {\\\\\\\"properties\\\\\\\": {\\\\\\\"full_text\\\\\\\": {\\\\\\\"default\\\\\\\": false, \\\\\\\"description\\\\\\\": \\\\\\\"If set to true, it will return the full text of the page instead of its short summary.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Full Text\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"boolean\\\\\\\"}, \\\\\\\"query\\\\\\\": {\\\\\\\"description\\\\\\\": \\\\\\\"Name of the Wikipedia page.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Query\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}}, \\\\\\\"required\\\\\\\": [\\\\\\\"query\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"WikipediaToolInput\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"object\\\\\\\"}\\\\n\\\\nFunction Name: OpenMeteoTool\\\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\\\nInput Schema: {\\\\\\\"properties\\\\\\\": {\\\\\\\"country\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"Country name.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Country\\\\\\\"}, \\\\\\\"end_date\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"format\\\\\\\": \\\\\\\"date\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"End Date\\\\\\\"}, \\\\\\\"location_name\\\\\\\": {\\\\\\\"description\\\\\\\": \\\\\\\"The name of the location to retrieve weather information.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Location Name\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, \\\\\\\"start_date\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"format\\\\\\\": \\\\\\\"date\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Start Date\\\\\\\"}, \\\\\\\"temperature_unit\\\\\\\": {\\\\\\\"default\\\\\\\": \\\\\\\"celsius\\\\\\\", \\\\\\\"description\\\\\\\": \\\\\\\"The unit to express temperature\\\\\\\", \\\\\\\"enum\\\\\\\": [\\\\\\\"celsius\\\\\\\", \\\\\\\"fahrenheit\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"Temperature Unit\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}}, \\\\\\\"required\\\\\\\": [\\\\\\\"location_name\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"OpenMeteoToolInput\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"object\\\\\\\"}\\\\n\\\\n# Communication structure\\\\nYou communicate only in instruction lines. The format is: \\\\\\\"Instruction: expected output\\\\\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\\\n\\\\nMessage: User's message. You never use this instruction line.\\\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\\\\\"arg1\\\\\\\":\\\\\\\"value1\\\\\\\", \\\\\\\"arg2\\\\\\\":\\\\\\\"value2\\\\\\\"}. Empty object is a valid parameter.\\\\nFunction Output: Output of the function in JSON format.\\\\nThought: Continue your thinking process.\\\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\\\n\\\\n## Examples\\\\nMessage: Can you translate \\\\\\\"How are you\\\\\\\" into French?\\\\nThought: The user wants to translate a text into French. I can do that.\\\\nFinal Answer: Comment vas-tu?\\\\n\\\\n# Instructions\\\\nUser can only see the Final Answer, all answers must be provided there.\\\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\\\nFunctions must be used to retrieve factual or historical information to answer the message.\\\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\\\n\\\\n# Your capabilities\\\\nPrefer to use these capabilities over functions.\\\\n- You understand these languages: English, Spanish, French.\\\\n- You can translate and summarize, even long documents.\\\\n\\\\n# Notes\\\\n- If you don't know the answer, say that you don't know.\\\\n- The current time and date in ISO format might be found in the last message.\\\\n- When answering the user, use friendly formats for time and date.\\\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\\\n\\\"}, {\\\"role\\\": \\\"user\\\", \\\"content\\\": [{\\\"type\\\": \\\"text\\\", \\\"text\\\": \\\"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\\\n\\\\nThis message was created at 2025-08-01T13:56:54+00:00\\\"}]}, {\\\"role\\\": \\\"assistant\\\", \\\"content\\\": [{\\\"type\\\": \\\"text\\\", \\\"text\\\": \\\"Thought: I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \\\\nFunction Name: Wikipedia\\\\nFunction Input: {\\\\\\\"query\\\\\\\": \\\\\\\"Tourism in Barcelona\\\\\\\"}\\\\nFunction Output: [{\\\\\\\"description\\\\\\\": \\\\\\\"Barcelona ( BAR-s\\\\u0259-LOH-n\\\\u0259; Catalan: [b\\\\u0259\\\\u027es\\\\u0259\\\\u02c8lon\\\\u0259] ; Spanish: [ba\\\\u027e\\\\u03b8e\\\\u02c8lona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Bes\\\\u00f2s, bounded to the west by the Serra de Collserola mountain range.\\\\\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaud\\\\u00ed and Llu\\\\u00eds Dom\\\\u00e8nech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona\\\\u2013El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Barcelona\\\\\\\", \\\\\\\"url\\\\\\\": \\\\\\\"https://en.wikipedia.org/wiki/Barcelona\\\\\\\"}]\\\\n\\\"}]}, {\\\"role\\\": \\\"assistant\\\", \\\"content\\\": [{\\\"type\\\": \\\"text\\\", \\\"text\\\": \\\"Thought: I found information about Barcelona, including its rich cultural heritage and key attractions like the architectural works of Antoni Gaud\\\\u00ed. Now, I will check the current weather conditions in Barcelona. \\\\nFunction Name: OpenMeteoTool\\\\nFunction Input: {\\\\\\\"country\\\\\\\": \\\\\\\"Spain\\\\\\\", \\\\\\\"location_name\\\\\\\": \\\\\\\"Barcelona\\\\\\\"}\\\\nFunction Output: {\\\\\\\"latitude\\\\\\\": 41.4375, \\\\\\\"longitude\\\\\\\": 2.1875, \\\\\\\"generationtime_ms\\\\\\\": 0.0553131103515625, \\\\\\\"utc_offset_seconds\\\\\\\": 0, \\\\\\\"timezone\\\\\\\": \\\\\\\"GMT\\\\\\\", \\\\\\\"timezone_abbreviation\\\\\\\": \\\\\\\"GMT\\\\\\\", \\\\\\\"elevation\\\\\\\": 44.0, \\\\\\\"current_units\\\\\\\": {\\\\\\\"time\\\\\\\": \\\\\\\"iso8601\\\\\\\", \\\\\\\"interval\\\\\\\": \\\\\\\"seconds\\\\\\\", \\\\\\\"temperature_2m\\\\\\\": \\\\\\\"\\\\u00b0C\\\\\\\", \\\\\\\"rain\\\\\\\": \\\\\\\"mm\\\\\\\", \\\\\\\"relative_humidity_2m\\\\\\\": \\\\\\\"%\\\\\\\", \\\\\\\"wind_speed_10m\\\\\\\": \\\\\\\"km/h\\\\\\\"}, \\\\\\\"current\\\\\\\": {\\\\\\\"time\\\\\\\": \\\\\\\"2025-08-01T13:45\\\\\\\", \\\\\\\"interval\\\\\\\": 900, \\\\\\\"temperature_2m\\\\\\\": 29.0, \\\\\\\"rain\\\\\\\": 0.0, \\\\\\\"relative_humidity_2m\\\\\\\": 48, \\\\\\\"wind_speed_10m\\\\\\\": 18.8}, \\\\\\\"daily_units\\\\\\\": {\\\\\\\"time\\\\\\\": \\\\\\\"iso8601\\\\\\\", \\\\\\\"temperature_2m_max\\\\\\\": \\\\\\\"\\\\u00b0C\\\\\\\", \\\\\\\"temperature_2m_min\\\\\\\": \\\\\\\"\\\\u00b0C\\\\\\\", \\\\\\\"rain_sum\\\\\\\": \\\\\\\"mm\\\\\\\"}, \\\\\\\"daily\\\\\\\": {\\\\\\\"time\\\\\\\": [\\\\\\\"2025-08-01\\\\\\\"], \\\\\\\"temperature_2m_max\\\\\\\": [29.0], \\\\\\\"temperature_2m_min\\\\\\\": [20.6], \\\\\\\"rain_sum\\\\\\\": [0.0]}}\\\\n\\\"}]}]\",\"llm.input_messages.0.message.role\":\"system\",\"llm.input_messages.0.message.content\":\"# Available functions\\nYou can only use the following functions. Always use all required parameters.\\n\\nFunction Name: Wikipedia\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\nInput Schema: {\\\"properties\\\": {\\\"full_text\\\": {\\\"default\\\": false, \\\"description\\\": \\\"If set to true, it will return the full text of the page instead of its short summary.\\\", \\\"title\\\": \\\"Full Text\\\", \\\"type\\\": \\\"boolean\\\"}, \\\"query\\\": {\\\"description\\\": \\\"Name of the Wikipedia page.\\\", \\\"title\\\": \\\"Query\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"query\\\"], \\\"title\\\": \\\"WikipediaToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\nFunction Name: OpenMeteoTool\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\nInput Schema: {\\\"properties\\\": {\\\"country\\\": {\\\"anyOf\\\": [{\\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Country name.\\\", \\\"title\\\": \\\"Country\\\"}, \\\"end_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"End Date\\\"}, \\\"location_name\\\": {\\\"description\\\": \\\"The name of the location to retrieve weather information.\\\", \\\"title\\\": \\\"Location Name\\\", \\\"type\\\": \\\"string\\\"}, \\\"start_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"Start Date\\\"}, \\\"temperature_unit\\\": {\\\"default\\\": \\\"celsius\\\", \\\"description\\\": \\\"The unit to express temperature\\\", \\\"enum\\\": [\\\"celsius\\\", \\\"fahrenheit\\\"], \\\"title\\\": \\\"Temperature Unit\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"location_name\\\"], \\\"title\\\": \\\"OpenMeteoToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\n# Communication structure\\nYou communicate only in instruction lines. The format is: \\\"Instruction: expected output\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\n\\nMessage: User's message. You never use this instruction line.\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\"arg1\\\":\\\"value1\\\", \\\"arg2\\\":\\\"value2\\\"}. Empty object is a valid parameter.\\nFunction Output: Output of the function in JSON format.\\nThought: Continue your thinking process.\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\n\\n## Examples\\nMessage: Can you translate \\\"How are you\\\" into French?\\nThought: The user wants to translate a text into French. I can do that.\\nFinal Answer: Comment vas-tu?\\n\\n# Instructions\\nUser can only see the Final Answer, all answers must be provided there.\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\nFunctions must be used to retrieve factual or historical information to answer the message.\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\n\\n# Your capabilities\\nPrefer to use these capabilities over functions.\\n- You understand these languages: English, Spanish, French.\\n- You can translate and summarize, even long documents.\\n\\n# Notes\\n- If you don't know the answer, say that you don't know.\\n- The current time and date in ISO format might be found in the last message.\\n- When answering the user, use friendly formats for time and date.\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\n\",\"llm.input_messages.1.message.role\":\"user\",\"llm.input_messages.1.message.content\":\"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\n\\nThis message was created at 2025-08-01T13:56:54+00:00\",\"llm.input_messages.2.message.role\":\"assistant\",\"llm.input_messages.2.message.content\":\"Thought: I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \\nFunction Name: Wikipedia\\nFunction Input: {\\\"query\\\": \\\"Tourism in Barcelona\\\"}\\nFunction Output: [{\\\"description\\\": \\\"Barcelona ( BAR-sə-LOH-nə; Catalan: [bəɾsəˈlonə] ; Spanish: [baɾθeˈlona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Besòs, bounded to the west by the Serra de Collserola mountain range.\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaudí and Lluís Domènech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona–El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\", \\\"title\\\": \\\"Barcelona\\\", \\\"url\\\": \\\"https://en.wikipedia.org/wiki/Barcelona\\\"}]\\n\",\"llm.input_messages.3.message.role\":\"assistant\",\"llm.input_messages.3.message.content\":\"Thought: I found information about Barcelona, including its rich cultural heritage and key attractions like the architectural works of Antoni Gaudí. Now, I will check the current weather conditions in Barcelona. \\nFunction Name: OpenMeteoTool\\nFunction Input: {\\\"country\\\": \\\"Spain\\\", \\\"location_name\\\": \\\"Barcelona\\\"}\\nFunction Output: {\\\"latitude\\\": 41.4375, \\\"longitude\\\": 2.1875, \\\"generationtime_ms\\\": 0.0553131103515625, \\\"utc_offset_seconds\\\": 0, \\\"timezone\\\": \\\"GMT\\\", \\\"timezone_abbreviation\\\": \\\"GMT\\\", \\\"elevation\\\": 44.0, \\\"current_units\\\": {\\\"time\\\": \\\"iso8601\\\", \\\"interval\\\": \\\"seconds\\\", \\\"temperature_2m\\\": \\\"°C\\\", \\\"rain\\\": \\\"mm\\\", \\\"relative_humidity_2m\\\": \\\"%\\\", \\\"wind_speed_10m\\\": \\\"km/h\\\"}, \\\"current\\\": {\\\"time\\\": \\\"2025-08-01T13:45\\\", \\\"interval\\\": 900, \\\"temperature_2m\\\": 29.0, \\\"rain\\\": 0.0, \\\"relative_humidity_2m\\\": 48, \\\"wind_speed_10m\\\": 18.8}, \\\"daily_units\\\": {\\\"time\\\": \\\"iso8601\\\", \\\"temperature_2m_max\\\": \\\"°C\\\", \\\"temperature_2m_min\\\": \\\"°C\\\", \\\"rain_sum\\\": \\\"mm\\\"}, \\\"daily\\\": {\\\"time\\\": [\\\"2025-08-01\\\"], \\\"temperature_2m_max\\\": [29.0], \\\"temperature_2m_min\\\": [20.6], \\\"rain_sum\\\": [0.0]}}\\n\",\"llm.provider\":\"openai\",\"llm.model_name\":\"gpt-4o-mini\",\"llm.invocation_parameters\":\"{\\\"max_tokens\\\":null,\\\"top_p\\\":null,\\\"frequency_penalty\\\":null,\\\"temperature\\\":0.7,\\\"top_k\\\":null,\\\"n\\\":null,\\\"presence_penalty\\\":null,\\\"seed\\\":null,\\\"stop_sequences\\\":null,\\\"stream\\\":null}\",\"openinference.span.kind\":\"LLM\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
+ "internalModel": "clyrjp56f0000t0mzapoocd7u"
},
{
- "id": "8b26b3ec668cf146",
+ "id": "9381f6df60cf8aa3",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:57:11.315Z",
- "endTime": "2025-08-01T13:57:11.336Z",
+ "startTime": "2025-08-01T13:56:57.470Z",
+ "endTime": "2025-08-01T13:57:11.334Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "39d661bf29b4dbbd",
+ "parentObservationId": "0eb76c10a47e9086",
"type": "SPAN",
"environment": "default",
- "name": "agent.react.partial_update-610",
+ "name": "agent.react.start-5",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.163Z",
- "updatedAt": "2025-08-01T13:57:14.239Z",
- "input": null,
+ "createdAt": "2025-08-01T13:57:14.161Z",
+ "updatedAt": "2025-08-01T13:57:14.237Z",
+ "input": "[{\"text\": \"# Available functions\\nYou can only use the following functions. Always use all required parameters.\\n\\nFunction Name: Wikipedia\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\nInput Schema: {\\\"properties\\\": {\\\"full_text\\\": {\\\"default\\\": false, \\\"description\\\": \\\"If set to true, it will return the full text of the page instead of its short summary.\\\", \\\"title\\\": \\\"Full Text\\\", \\\"type\\\": \\\"boolean\\\"}, \\\"query\\\": {\\\"description\\\": \\\"Name of the Wikipedia page.\\\", \\\"title\\\": \\\"Query\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"query\\\"], \\\"title\\\": \\\"WikipediaToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\nFunction Name: OpenMeteoTool\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\nInput Schema: {\\\"properties\\\": {\\\"country\\\": {\\\"anyOf\\\": [{\\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Country name.\\\", \\\"title\\\": \\\"Country\\\"}, \\\"end_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"End Date\\\"}, \\\"location_name\\\": {\\\"description\\\": \\\"The name of the location to retrieve weather information.\\\", \\\"title\\\": \\\"Location Name\\\", \\\"type\\\": \\\"string\\\"}, \\\"start_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"Start Date\\\"}, \\\"temperature_unit\\\": {\\\"default\\\": \\\"celsius\\\", \\\"description\\\": \\\"The unit to express temperature\\\", \\\"enum\\\": [\\\"celsius\\\", \\\"fahrenheit\\\"], \\\"title\\\": \\\"Temperature Unit\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"location_name\\\"], \\\"title\\\": \\\"OpenMeteoToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\n# Communication structure\\nYou communicate only in instruction lines. The format is: \\\"Instruction: expected output\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\n\\nMessage: User's message. You never use this instruction line.\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\"arg1\\\":\\\"value1\\\", \\\"arg2\\\":\\\"value2\\\"}. Empty object is a valid parameter.\\nFunction Output: Output of the function in JSON format.\\nThought: Continue your thinking process.\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\n\\n## Examples\\nMessage: Can you translate \\\"How are you\\\" into French?\\nThought: The user wants to translate a text into French. I can do that.\\nFinal Answer: Comment vas-tu?\\n\\n# Instructions\\nUser can only see the Final Answer, all answers must be provided there.\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\nFunctions must be used to retrieve factual or historical information to answer the message.\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\n\\n# Your capabilities\\nPrefer to use these capabilities over functions.\\n- You understand these languages: English, Spanish, French.\\n- You can translate and summarize, even long documents.\\n\\n# Notes\\n- If you don't know the answer, say that you don't know.\\n- The current time and date in ISO format might be found in the last message.\\n- When answering the user, use friendly formats for time and date.\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\n\", \"role\": \"system\"}, {\"text\": \"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\n\\nThis message was created at 2025-08-01T13:56:54+00:00\", \"role\": \"user\"}, {\"text\": \"Thought: I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \\nFunction Name: Wikipedia\\nFunction Input: {\\\"query\\\": \\\"Tourism in Barcelona\\\"}\\nFunction Output: [{\\\"description\\\": \\\"Barcelona ( BAR-s\\u0259-LOH-n\\u0259; Catalan: [b\\u0259\\u027es\\u0259\\u02c8lon\\u0259] ; Spanish: [ba\\u027e\\u03b8e\\u02c8lona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Bes\\u00f2s, bounded to the west by the Serra de Collserola mountain range.\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaud\\u00ed and Llu\\u00eds Dom\\u00e8nech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona\\u2013El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\", \\\"title\\\": \\\"Barcelona\\\", \\\"url\\\": \\\"https://en.wikipedia.org/wiki/Barcelona\\\"}]\\n\", \"role\": \"assistant\"}]",
"output": null,
"model": null,
"internalModelId": null,
@@ -2278,7 +2261,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0.021,
+ "latency": 13.864,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -2294,26 +2277,26 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"target\":\"agent.react.partial_update\",\"name\":\"partial_update\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"output.mime_type\":\"application/json\",\"thought\":\"I now have the current weather conditions in Barcelona, which indicate a temperature of 29°C with no rain. I will compile the information about key attractions and the weather together for the user. \",\"tool.parameters\":\"null\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
+ "metadata": "{\"attributes\":{\"target\":\"agent.react.start\",\"name\":\"start\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"iteration\":\"2\",\"llm.tools\":\"[{\\\"tool.name\\\": \\\"Wikipedia\\\", \\\"tool.description\\\": \\\"Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\\", \\\"tool.options\\\": \\\"null\\\"}, {\\\"tool.name\\\": \\\"OpenMeteoTool\\\", \\\"tool.description\\\": \\\"Retrieve current, past, or future weather forecasts for a location.\\\", \\\"tool.options\\\": \\\"null\\\"}]\",\"input.mime_type\":\"application/json\",\"input.value\":\"[{\\\"text\\\": \\\"# Available functions\\\\nYou can only use the following functions. Always use all required parameters.\\\\n\\\\nFunction Name: Wikipedia\\\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\\\nInput Schema: {\\\\\\\"properties\\\\\\\": {\\\\\\\"full_text\\\\\\\": {\\\\\\\"default\\\\\\\": false, \\\\\\\"description\\\\\\\": \\\\\\\"If set to true, it will return the full text of the page instead of its short summary.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Full Text\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"boolean\\\\\\\"}, \\\\\\\"query\\\\\\\": {\\\\\\\"description\\\\\\\": \\\\\\\"Name of the Wikipedia page.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Query\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}}, \\\\\\\"required\\\\\\\": [\\\\\\\"query\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"WikipediaToolInput\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"object\\\\\\\"}\\\\n\\\\nFunction Name: OpenMeteoTool\\\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\\\nInput Schema: {\\\\\\\"properties\\\\\\\": {\\\\\\\"country\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"Country name.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Country\\\\\\\"}, \\\\\\\"end_date\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"format\\\\\\\": \\\\\\\"date\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"End Date\\\\\\\"}, \\\\\\\"location_name\\\\\\\": {\\\\\\\"description\\\\\\\": \\\\\\\"The name of the location to retrieve weather information.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Location Name\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, \\\\\\\"start_date\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"format\\\\\\\": \\\\\\\"date\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Start Date\\\\\\\"}, \\\\\\\"temperature_unit\\\\\\\": {\\\\\\\"default\\\\\\\": \\\\\\\"celsius\\\\\\\", \\\\\\\"description\\\\\\\": \\\\\\\"The unit to express temperature\\\\\\\", \\\\\\\"enum\\\\\\\": [\\\\\\\"celsius\\\\\\\", \\\\\\\"fahrenheit\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"Temperature Unit\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}}, \\\\\\\"required\\\\\\\": [\\\\\\\"location_name\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"OpenMeteoToolInput\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"object\\\\\\\"}\\\\n\\\\n# Communication structure\\\\nYou communicate only in instruction lines. The format is: \\\\\\\"Instruction: expected output\\\\\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\\\n\\\\nMessage: User's message. You never use this instruction line.\\\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\\\\\"arg1\\\\\\\":\\\\\\\"value1\\\\\\\", \\\\\\\"arg2\\\\\\\":\\\\\\\"value2\\\\\\\"}. Empty object is a valid parameter.\\\\nFunction Output: Output of the function in JSON format.\\\\nThought: Continue your thinking process.\\\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\\\n\\\\n## Examples\\\\nMessage: Can you translate \\\\\\\"How are you\\\\\\\" into French?\\\\nThought: The user wants to translate a text into French. I can do that.\\\\nFinal Answer: Comment vas-tu?\\\\n\\\\n# Instructions\\\\nUser can only see the Final Answer, all answers must be provided there.\\\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\\\nFunctions must be used to retrieve factual or historical information to answer the message.\\\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\\\n\\\\n# Your capabilities\\\\nPrefer to use these capabilities over functions.\\\\n- You understand these languages: English, Spanish, French.\\\\n- You can translate and summarize, even long documents.\\\\n\\\\n# Notes\\\\n- If you don't know the answer, say that you don't know.\\\\n- The current time and date in ISO format might be found in the last message.\\\\n- When answering the user, use friendly formats for time and date.\\\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\\\n\\\", \\\"role\\\": \\\"system\\\"}, {\\\"text\\\": \\\"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\\\n\\\\nThis message was created at 2025-08-01T13:56:54+00:00\\\", \\\"role\\\": \\\"user\\\"}, {\\\"text\\\": \\\"Thought: I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \\\\nFunction Name: Wikipedia\\\\nFunction Input: {\\\\\\\"query\\\\\\\": \\\\\\\"Tourism in Barcelona\\\\\\\"}\\\\nFunction Output: [{\\\\\\\"description\\\\\\\": \\\\\\\"Barcelona ( BAR-s\\\\u0259-LOH-n\\\\u0259; Catalan: [b\\\\u0259\\\\u027es\\\\u0259\\\\u02c8lon\\\\u0259] ; Spanish: [ba\\\\u027e\\\\u03b8e\\\\u02c8lona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Bes\\\\u00f2s, bounded to the west by the Serra de Collserola mountain range.\\\\\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaud\\\\u00ed and Llu\\\\u00eds Dom\\\\u00e8nech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona\\\\u2013El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Barcelona\\\\\\\", \\\\\\\"url\\\\\\\": \\\\\\\"https://en.wikipedia.org/wiki/Barcelona\\\\\\\"}]\\\\n\\\", \\\"role\\\": \\\"assistant\\\"}]\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "8d28081d2ea0b09a",
+ "id": "96cb191e191a9378",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:56:55.399Z",
- "endTime": "2025-08-01T13:57:11.333Z",
+ "startTime": "2025-08-01T13:57:03.885Z",
+ "endTime": "2025-08-01T13:57:11.334Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "c48e7d031a4cb886",
+ "parentObservationId": "0eb76c10a47e9086",
"type": "SPAN",
"environment": "default",
- "name": "agent.react.update-11",
+ "name": "agent.react.partial_update-318",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.162Z",
- "updatedAt": "2025-08-01T13:57:14.256Z",
+ "createdAt": "2025-08-01T13:57:14.163Z",
+ "updatedAt": "2025-08-01T13:57:14.234Z",
"input": null,
- "output": null,
+ "output": "{\"latitude\": 41.4375, \"longitude\": 2.1875, \"generationtime_ms\": 0.0553131103515625, \"utc_offset_seconds\": 0, \"timezone\": \"GMT\", \"timezone_abbreviation\": \"GMT\", \"elevation\": 44.0, \"current_units\": {\"time\": \"iso8601\", \"interval\": \"seconds\", \"temperature_2m\": \"°C\", \"rain\": \"mm\", \"relative_humidity_2m\": \"%\", \"wind_speed_10m\": \"km/h\"}, \"current\": {\"time\": \"2025-08-01T13:45\", \"interval\": 900, \"temperature_2m\": 29.0, \"rain\": 0.0, \"relative_humidity_2m\": 48, \"wind_speed_10m\": 18.8}, \"daily_units\": {\"time\": \"iso8601\", \"temperature_2m_max\": \"°C\", \"temperature_2m_min\": \"°C\", \"rain_sum\": \"mm\"}, \"daily\": {\"time\": [\"2025-08-01\"], \"temperature_2m_max\": [29.0], \"temperature_2m_min\": [20.6], \"rain_sum\": [0.0]}}",
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -2321,7 +2304,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 15.934,
+ "latency": 7.449,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -2337,25 +2320,25 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"target\":\"agent.react.update\",\"name\":\"update\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"output.mime_type\":\"application/json\",\"thought\":\"I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \",\"tool.parameters\":\"null\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
+ "metadata": "{\"attributes\":{\"target\":\"agent.react.partial_update\",\"name\":\"partial_update\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"output.value\":\"{\\\"latitude\\\": 41.4375, \\\"longitude\\\": 2.1875, \\\"generationtime_ms\\\": 0.0553131103515625, \\\"utc_offset_seconds\\\": 0, \\\"timezone\\\": \\\"GMT\\\", \\\"timezone_abbreviation\\\": \\\"GMT\\\", \\\"elevation\\\": 44.0, \\\"current_units\\\": {\\\"time\\\": \\\"iso8601\\\", \\\"interval\\\": \\\"seconds\\\", \\\"temperature_2m\\\": \\\"°C\\\", \\\"rain\\\": \\\"mm\\\", \\\"relative_humidity_2m\\\": \\\"%\\\", \\\"wind_speed_10m\\\": \\\"km/h\\\"}, \\\"current\\\": {\\\"time\\\": \\\"2025-08-01T13:45\\\", \\\"interval\\\": 900, \\\"temperature_2m\\\": 29.0, \\\"rain\\\": 0.0, \\\"relative_humidity_2m\\\": 48, \\\"wind_speed_10m\\\": 18.8}, \\\"daily_units\\\": {\\\"time\\\": \\\"iso8601\\\", \\\"temperature_2m_max\\\": \\\"°C\\\", \\\"temperature_2m_min\\\": \\\"°C\\\", \\\"rain_sum\\\": \\\"mm\\\"}, \\\"daily\\\": {\\\"time\\\": [\\\"2025-08-01\\\"], \\\"temperature_2m_max\\\": [29.0], \\\"temperature_2m_min\\\": [20.6], \\\"rain_sum\\\": [0.0]}}\",\"output.mime_type\":\"application/json\",\"thought\":\"I found information about Barcelona, including its rich cultural heritage and key attractions like the architectural works of Antoni Gaudí. Now, I will check the current weather conditions in Barcelona. \",\"tool.name\":\"OpenMeteoTool\",\"tool.parameters\":\"{\\\"location_name\\\": \\\"Barcelona\\\", \\\"country\\\": \\\"Spain\\\"}\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "9381f6df60cf8aa3",
+ "id": "39d661bf29b4dbbd",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:56:57.470Z",
- "endTime": "2025-08-01T13:57:11.334Z",
+ "startTime": "2025-08-01T13:57:03.886Z",
+ "endTime": "2025-08-01T13:57:11.336Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "0eb76c10a47e9086",
+ "parentObservationId": "cb4886242bf214b8",
"type": "SPAN",
"environment": "default",
- "name": "agent.react.start-5",
+ "name": "iteration-3",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.161Z",
- "updatedAt": "2025-08-01T13:57:14.237Z",
- "input": "[{\"text\": \"# Available functions\\nYou can only use the following functions. Always use all required parameters.\\n\\nFunction Name: Wikipedia\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\nInput Schema: {\\\"properties\\\": {\\\"full_text\\\": {\\\"default\\\": false, \\\"description\\\": \\\"If set to true, it will return the full text of the page instead of its short summary.\\\", \\\"title\\\": \\\"Full Text\\\", \\\"type\\\": \\\"boolean\\\"}, \\\"query\\\": {\\\"description\\\": \\\"Name of the Wikipedia page.\\\", \\\"title\\\": \\\"Query\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"query\\\"], \\\"title\\\": \\\"WikipediaToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\nFunction Name: OpenMeteoTool\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\nInput Schema: {\\\"properties\\\": {\\\"country\\\": {\\\"anyOf\\\": [{\\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Country name.\\\", \\\"title\\\": \\\"Country\\\"}, \\\"end_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"End Date\\\"}, \\\"location_name\\\": {\\\"description\\\": \\\"The name of the location to retrieve weather information.\\\", \\\"title\\\": \\\"Location Name\\\", \\\"type\\\": \\\"string\\\"}, \\\"start_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"Start Date\\\"}, \\\"temperature_unit\\\": {\\\"default\\\": \\\"celsius\\\", \\\"description\\\": \\\"The unit to express temperature\\\", \\\"enum\\\": [\\\"celsius\\\", \\\"fahrenheit\\\"], \\\"title\\\": \\\"Temperature Unit\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"location_name\\\"], \\\"title\\\": \\\"OpenMeteoToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\n# Communication structure\\nYou communicate only in instruction lines. The format is: \\\"Instruction: expected output\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\n\\nMessage: User's message. You never use this instruction line.\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\"arg1\\\":\\\"value1\\\", \\\"arg2\\\":\\\"value2\\\"}. Empty object is a valid parameter.\\nFunction Output: Output of the function in JSON format.\\nThought: Continue your thinking process.\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\n\\n## Examples\\nMessage: Can you translate \\\"How are you\\\" into French?\\nThought: The user wants to translate a text into French. I can do that.\\nFinal Answer: Comment vas-tu?\\n\\n# Instructions\\nUser can only see the Final Answer, all answers must be provided there.\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\nFunctions must be used to retrieve factual or historical information to answer the message.\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\n\\n# Your capabilities\\nPrefer to use these capabilities over functions.\\n- You understand these languages: English, Spanish, French.\\n- You can translate and summarize, even long documents.\\n\\n# Notes\\n- If you don't know the answer, say that you don't know.\\n- The current time and date in ISO format might be found in the last message.\\n- When answering the user, use friendly formats for time and date.\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\n\", \"role\": \"system\"}, {\"text\": \"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\n\\nThis message was created at 2025-08-01T13:56:54+00:00\", \"role\": \"user\"}, {\"text\": \"Thought: I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \\nFunction Name: Wikipedia\\nFunction Input: {\\\"query\\\": \\\"Tourism in Barcelona\\\"}\\nFunction Output: [{\\\"description\\\": \\\"Barcelona ( BAR-s\\u0259-LOH-n\\u0259; Catalan: [b\\u0259\\u027es\\u0259\\u02c8lon\\u0259] ; Spanish: [ba\\u027e\\u03b8e\\u02c8lona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Bes\\u00f2s, bounded to the west by the Serra de Collserola mountain range.\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaud\\u00ed and Llu\\u00eds Dom\\u00e8nech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona\\u2013El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\", \\\"title\\\": \\\"Barcelona\\\", \\\"url\\\": \\\"https://en.wikipedia.org/wiki/Barcelona\\\"}]\\n\", \"role\": \"assistant\"}]",
+ "createdAt": "2025-08-01T13:57:14.164Z",
+ "updatedAt": "2025-08-01T13:57:14.233Z",
+ "input": null,
"output": null,
"model": null,
"internalModelId": null,
@@ -2364,7 +2347,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 13.864,
+ "latency": 7.45,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -2380,26 +2363,26 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"target\":\"agent.react.start\",\"name\":\"start\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"iteration\":\"2\",\"llm.tools\":\"[{\\\"tool.name\\\": \\\"Wikipedia\\\", \\\"tool.description\\\": \\\"Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\\", \\\"tool.options\\\": \\\"null\\\"}, {\\\"tool.name\\\": \\\"OpenMeteoTool\\\", \\\"tool.description\\\": \\\"Retrieve current, past, or future weather forecasts for a location.\\\", \\\"tool.options\\\": \\\"null\\\"}]\",\"input.mime_type\":\"application/json\",\"input.value\":\"[{\\\"text\\\": \\\"# Available functions\\\\nYou can only use the following functions. Always use all required parameters.\\\\n\\\\nFunction Name: Wikipedia\\\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\\\nInput Schema: {\\\\\\\"properties\\\\\\\": {\\\\\\\"full_text\\\\\\\": {\\\\\\\"default\\\\\\\": false, \\\\\\\"description\\\\\\\": \\\\\\\"If set to true, it will return the full text of the page instead of its short summary.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Full Text\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"boolean\\\\\\\"}, \\\\\\\"query\\\\\\\": {\\\\\\\"description\\\\\\\": \\\\\\\"Name of the Wikipedia page.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Query\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}}, \\\\\\\"required\\\\\\\": [\\\\\\\"query\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"WikipediaToolInput\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"object\\\\\\\"}\\\\n\\\\nFunction Name: OpenMeteoTool\\\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\\\nInput Schema: {\\\\\\\"properties\\\\\\\": {\\\\\\\"country\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"Country name.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Country\\\\\\\"}, \\\\\\\"end_date\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"format\\\\\\\": \\\\\\\"date\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"End Date\\\\\\\"}, \\\\\\\"location_name\\\\\\\": {\\\\\\\"description\\\\\\\": \\\\\\\"The name of the location to retrieve weather information.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Location Name\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, \\\\\\\"start_date\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"format\\\\\\\": \\\\\\\"date\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Start Date\\\\\\\"}, \\\\\\\"temperature_unit\\\\\\\": {\\\\\\\"default\\\\\\\": \\\\\\\"celsius\\\\\\\", \\\\\\\"description\\\\\\\": \\\\\\\"The unit to express temperature\\\\\\\", \\\\\\\"enum\\\\\\\": [\\\\\\\"celsius\\\\\\\", \\\\\\\"fahrenheit\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"Temperature Unit\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}}, \\\\\\\"required\\\\\\\": [\\\\\\\"location_name\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"OpenMeteoToolInput\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"object\\\\\\\"}\\\\n\\\\n# Communication structure\\\\nYou communicate only in instruction lines. The format is: \\\\\\\"Instruction: expected output\\\\\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\\\n\\\\nMessage: User's message. You never use this instruction line.\\\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\\\\\"arg1\\\\\\\":\\\\\\\"value1\\\\\\\", \\\\\\\"arg2\\\\\\\":\\\\\\\"value2\\\\\\\"}. Empty object is a valid parameter.\\\\nFunction Output: Output of the function in JSON format.\\\\nThought: Continue your thinking process.\\\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\\\n\\\\n## Examples\\\\nMessage: Can you translate \\\\\\\"How are you\\\\\\\" into French?\\\\nThought: The user wants to translate a text into French. I can do that.\\\\nFinal Answer: Comment vas-tu?\\\\n\\\\n# Instructions\\\\nUser can only see the Final Answer, all answers must be provided there.\\\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\\\nFunctions must be used to retrieve factual or historical information to answer the message.\\\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\\\n\\\\n# Your capabilities\\\\nPrefer to use these capabilities over functions.\\\\n- You understand these languages: English, Spanish, French.\\\\n- You can translate and summarize, even long documents.\\\\n\\\\n# Notes\\\\n- If you don't know the answer, say that you don't know.\\\\n- The current time and date in ISO format might be found in the last message.\\\\n- When answering the user, use friendly formats for time and date.\\\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\\\n\\\", \\\"role\\\": \\\"system\\\"}, {\\\"text\\\": \\\"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\\\n\\\\nThis message was created at 2025-08-01T13:56:54+00:00\\\", \\\"role\\\": \\\"user\\\"}, {\\\"text\\\": \\\"Thought: I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \\\\nFunction Name: Wikipedia\\\\nFunction Input: {\\\\\\\"query\\\\\\\": \\\\\\\"Tourism in Barcelona\\\\\\\"}\\\\nFunction Output: [{\\\\\\\"description\\\\\\\": \\\\\\\"Barcelona ( BAR-s\\\\u0259-LOH-n\\\\u0259; Catalan: [b\\\\u0259\\\\u027es\\\\u0259\\\\u02c8lon\\\\u0259] ; Spanish: [ba\\\\u027e\\\\u03b8e\\\\u02c8lona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Bes\\\\u00f2s, bounded to the west by the Serra de Collserola mountain range.\\\\\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaud\\\\u00ed and Llu\\\\u00eds Dom\\\\u00e8nech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona\\\\u2013El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Barcelona\\\\\\\", \\\\\\\"url\\\\\\\": \\\\\\\"https://en.wikipedia.org/wiki/Barcelona\\\\\\\"}]\\\\n\\\", \\\"role\\\": \\\"assistant\\\"}]\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
+ "metadata": "{\"attributes\":{\"target\":\"groupId\",\"name\":\"iteration-3\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"openinference.span.kind\":\"CHAIN\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "96cb191e191a9378",
+ "id": "4f7a25ab4555e106",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:57:03.885Z",
+ "startTime": "2025-08-01T13:57:03.029Z",
"endTime": "2025-08-01T13:57:11.334Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
"parentObservationId": "0eb76c10a47e9086",
"type": "SPAN",
"environment": "default",
- "name": "agent.react.partial_update-318",
+ "name": "agent.react.update-15",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.163Z",
- "updatedAt": "2025-08-01T13:57:14.234Z",
+ "createdAt": "2025-08-01T13:57:14.161Z",
+ "updatedAt": "2025-08-01T13:57:14.230Z",
"input": null,
- "output": "{\"latitude\": 41.4375, \"longitude\": 2.1875, \"generationtime_ms\": 0.0553131103515625, \"utc_offset_seconds\": 0, \"timezone\": \"GMT\", \"timezone_abbreviation\": \"GMT\", \"elevation\": 44.0, \"current_units\": {\"time\": \"iso8601\", \"interval\": \"seconds\", \"temperature_2m\": \"°C\", \"rain\": \"mm\", \"relative_humidity_2m\": \"%\", \"wind_speed_10m\": \"km/h\"}, \"current\": {\"time\": \"2025-08-01T13:45\", \"interval\": 900, \"temperature_2m\": 29.0, \"rain\": 0.0, \"relative_humidity_2m\": 48, \"wind_speed_10m\": 18.8}, \"daily_units\": {\"time\": \"iso8601\", \"temperature_2m_max\": \"°C\", \"temperature_2m_min\": \"°C\", \"rain_sum\": \"mm\"}, \"daily\": {\"time\": [\"2025-08-01\"], \"temperature_2m_max\": [29.0], \"temperature_2m_min\": [20.6], \"rain_sum\": [0.0]}}",
+ "output": null,
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -2407,7 +2390,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 7.449,
+ "latency": 8.305,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -2423,7 +2406,7 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"target\":\"agent.react.partial_update\",\"name\":\"partial_update\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"output.value\":\"{\\\"latitude\\\": 41.4375, \\\"longitude\\\": 2.1875, \\\"generationtime_ms\\\": 0.0553131103515625, \\\"utc_offset_seconds\\\": 0, \\\"timezone\\\": \\\"GMT\\\", \\\"timezone_abbreviation\\\": \\\"GMT\\\", \\\"elevation\\\": 44.0, \\\"current_units\\\": {\\\"time\\\": \\\"iso8601\\\", \\\"interval\\\": \\\"seconds\\\", \\\"temperature_2m\\\": \\\"°C\\\", \\\"rain\\\": \\\"mm\\\", \\\"relative_humidity_2m\\\": \\\"%\\\", \\\"wind_speed_10m\\\": \\\"km/h\\\"}, \\\"current\\\": {\\\"time\\\": \\\"2025-08-01T13:45\\\", \\\"interval\\\": 900, \\\"temperature_2m\\\": 29.0, \\\"rain\\\": 0.0, \\\"relative_humidity_2m\\\": 48, \\\"wind_speed_10m\\\": 18.8}, \\\"daily_units\\\": {\\\"time\\\": \\\"iso8601\\\", \\\"temperature_2m_max\\\": \\\"°C\\\", \\\"temperature_2m_min\\\": \\\"°C\\\", \\\"rain_sum\\\": \\\"mm\\\"}, \\\"daily\\\": {\\\"time\\\": [\\\"2025-08-01\\\"], \\\"temperature_2m_max\\\": [29.0], \\\"temperature_2m_min\\\": [20.6], \\\"rain_sum\\\": [0.0]}}\",\"output.mime_type\":\"application/json\",\"thought\":\"I found information about Barcelona, including its rich cultural heritage and key attractions like the architectural works of Antoni Gaudí. Now, I will check the current weather conditions in Barcelona. \",\"tool.name\":\"OpenMeteoTool\",\"tool.parameters\":\"{\\\"location_name\\\": \\\"Barcelona\\\", \\\"country\\\": \\\"Spain\\\"}\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
+ "metadata": "{\"attributes\":{\"target\":\"agent.react.update\",\"name\":\"update\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"output.mime_type\":\"application/json\",\"thought\":\"I found information about Barcelona, including its rich cultural heritage and key attractions like the architectural works of Antoni Gaudí. Now, I will check the current weather conditions in Barcelona. \",\"tool.parameters\":\"null\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
"internalModel": null
},
{
@@ -2470,21 +2453,21 @@
"internalModel": null
},
{
- "id": "bf28223502262e87",
+ "id": "10b12fd4cca3ef99",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:56:54.166Z",
- "endTime": "2025-08-01T13:57:11.333Z",
+ "startTime": "2025-08-01T13:57:03.886Z",
+ "endTime": "2025-08-01T13:57:11.335Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "c48e7d031a4cb886",
+ "parentObservationId": "39d661bf29b4dbbd",
"type": "SPAN",
"environment": "default",
- "name": "agent.react.start-4",
+ "name": "agent.react.start-6",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
"createdAt": "2025-08-01T13:57:14.163Z",
- "updatedAt": "2025-08-01T13:57:14.249Z",
- "input": "[{\"text\": \"# Available functions\\nYou can only use the following functions. Always use all required parameters.\\n\\nFunction Name: Wikipedia\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\nInput Schema: {\\\"properties\\\": {\\\"full_text\\\": {\\\"default\\\": false, \\\"description\\\": \\\"If set to true, it will return the full text of the page instead of its short summary.\\\", \\\"title\\\": \\\"Full Text\\\", \\\"type\\\": \\\"boolean\\\"}, \\\"query\\\": {\\\"description\\\": \\\"Name of the Wikipedia page.\\\", \\\"title\\\": \\\"Query\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"query\\\"], \\\"title\\\": \\\"WikipediaToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\nFunction Name: OpenMeteoTool\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\nInput Schema: {\\\"properties\\\": {\\\"country\\\": {\\\"anyOf\\\": [{\\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Country name.\\\", \\\"title\\\": \\\"Country\\\"}, \\\"end_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"End Date\\\"}, \\\"location_name\\\": {\\\"description\\\": \\\"The name of the location to retrieve weather information.\\\", \\\"title\\\": \\\"Location Name\\\", \\\"type\\\": \\\"string\\\"}, \\\"start_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"Start Date\\\"}, \\\"temperature_unit\\\": {\\\"default\\\": \\\"celsius\\\", \\\"description\\\": \\\"The unit to express temperature\\\", \\\"enum\\\": [\\\"celsius\\\", \\\"fahrenheit\\\"], \\\"title\\\": \\\"Temperature Unit\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"location_name\\\"], \\\"title\\\": \\\"OpenMeteoToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\n# Communication structure\\nYou communicate only in instruction lines. The format is: \\\"Instruction: expected output\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\n\\nMessage: User's message. You never use this instruction line.\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\"arg1\\\":\\\"value1\\\", \\\"arg2\\\":\\\"value2\\\"}. Empty object is a valid parameter.\\nFunction Output: Output of the function in JSON format.\\nThought: Continue your thinking process.\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\n\\n## Examples\\nMessage: Can you translate \\\"How are you\\\" into French?\\nThought: The user wants to translate a text into French. I can do that.\\nFinal Answer: Comment vas-tu?\\n\\n# Instructions\\nUser can only see the Final Answer, all answers must be provided there.\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\nFunctions must be used to retrieve factual or historical information to answer the message.\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\n\\n# Your capabilities\\nPrefer to use these capabilities over functions.\\n- You understand these languages: English, Spanish, French.\\n- You can translate and summarize, even long documents.\\n\\n# Notes\\n- If you don't know the answer, say that you don't know.\\n- The current time and date in ISO format might be found in the last message.\\n- When answering the user, use friendly formats for time and date.\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\n\", \"role\": \"system\"}, {\"text\": \"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\n\\nThis message was created at 2025-08-01T13:56:54+00:00\", \"role\": \"user\"}]",
+ "updatedAt": "2025-08-01T13:57:14.216Z",
+ "input": "[{\"text\": \"# Available functions\\nYou can only use the following functions. Always use all required parameters.\\n\\nFunction Name: Wikipedia\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\nInput Schema: {\\\"properties\\\": {\\\"full_text\\\": {\\\"default\\\": false, \\\"description\\\": \\\"If set to true, it will return the full text of the page instead of its short summary.\\\", \\\"title\\\": \\\"Full Text\\\", \\\"type\\\": \\\"boolean\\\"}, \\\"query\\\": {\\\"description\\\": \\\"Name of the Wikipedia page.\\\", \\\"title\\\": \\\"Query\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"query\\\"], \\\"title\\\": \\\"WikipediaToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\nFunction Name: OpenMeteoTool\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\nInput Schema: {\\\"properties\\\": {\\\"country\\\": {\\\"anyOf\\\": [{\\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Country name.\\\", \\\"title\\\": \\\"Country\\\"}, \\\"end_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"End Date\\\"}, \\\"location_name\\\": {\\\"description\\\": \\\"The name of the location to retrieve weather information.\\\", \\\"title\\\": \\\"Location Name\\\", \\\"type\\\": \\\"string\\\"}, \\\"start_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"Start Date\\\"}, \\\"temperature_unit\\\": {\\\"default\\\": \\\"celsius\\\", \\\"description\\\": \\\"The unit to express temperature\\\", \\\"enum\\\": [\\\"celsius\\\", \\\"fahrenheit\\\"], \\\"title\\\": \\\"Temperature Unit\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"location_name\\\"], \\\"title\\\": \\\"OpenMeteoToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\n# Communication structure\\nYou communicate only in instruction lines. The format is: \\\"Instruction: expected output\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\n\\nMessage: User's message. You never use this instruction line.\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\"arg1\\\":\\\"value1\\\", \\\"arg2\\\":\\\"value2\\\"}. Empty object is a valid parameter.\\nFunction Output: Output of the function in JSON format.\\nThought: Continue your thinking process.\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\n\\n## Examples\\nMessage: Can you translate \\\"How are you\\\" into French?\\nThought: The user wants to translate a text into French. I can do that.\\nFinal Answer: Comment vas-tu?\\n\\n# Instructions\\nUser can only see the Final Answer, all answers must be provided there.\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\nFunctions must be used to retrieve factual or historical information to answer the message.\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\n\\n# Your capabilities\\nPrefer to use these capabilities over functions.\\n- You understand these languages: English, Spanish, French.\\n- You can translate and summarize, even long documents.\\n\\n# Notes\\n- If you don't know the answer, say that you don't know.\\n- The current time and date in ISO format might be found in the last message.\\n- When answering the user, use friendly formats for time and date.\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\n\", \"role\": \"system\"}, {\"text\": \"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\n\\nThis message was created at 2025-08-01T13:56:54+00:00\", \"role\": \"user\"}, {\"text\": \"Thought: I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \\nFunction Name: Wikipedia\\nFunction Input: {\\\"query\\\": \\\"Tourism in Barcelona\\\"}\\nFunction Output: [{\\\"description\\\": \\\"Barcelona ( BAR-s\\u0259-LOH-n\\u0259; Catalan: [b\\u0259\\u027es\\u0259\\u02c8lon\\u0259] ; Spanish: [ba\\u027e\\u03b8e\\u02c8lona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Bes\\u00f2s, bounded to the west by the Serra de Collserola mountain range.\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaud\\u00ed and Llu\\u00eds Dom\\u00e8nech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona\\u2013El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\", \\\"title\\\": \\\"Barcelona\\\", \\\"url\\\": \\\"https://en.wikipedia.org/wiki/Barcelona\\\"}]\\n\", \"role\": \"assistant\"}, {\"text\": \"Thought: I found information about Barcelona, including its rich cultural heritage and key attractions like the architectural works of Antoni Gaud\\u00ed. Now, I will check the current weather conditions in Barcelona. \\nFunction Name: OpenMeteoTool\\nFunction Input: {\\\"country\\\": \\\"Spain\\\", \\\"location_name\\\": \\\"Barcelona\\\"}\\nFunction Output: {\\\"latitude\\\": 41.4375, \\\"longitude\\\": 2.1875, \\\"generationtime_ms\\\": 0.0553131103515625, \\\"utc_offset_seconds\\\": 0, \\\"timezone\\\": \\\"GMT\\\", \\\"timezone_abbreviation\\\": \\\"GMT\\\", \\\"elevation\\\": 44.0, \\\"current_units\\\": {\\\"time\\\": \\\"iso8601\\\", \\\"interval\\\": \\\"seconds\\\", \\\"temperature_2m\\\": \\\"\\u00b0C\\\", \\\"rain\\\": \\\"mm\\\", \\\"relative_humidity_2m\\\": \\\"%\\\", \\\"wind_speed_10m\\\": \\\"km/h\\\"}, \\\"current\\\": {\\\"time\\\": \\\"2025-08-01T13:45\\\", \\\"interval\\\": 900, \\\"temperature_2m\\\": 29.0, \\\"rain\\\": 0.0, \\\"relative_humidity_2m\\\": 48, \\\"wind_speed_10m\\\": 18.8}, \\\"daily_units\\\": {\\\"time\\\": \\\"iso8601\\\", \\\"temperature_2m_max\\\": \\\"\\u00b0C\\\", \\\"temperature_2m_min\\\": \\\"\\u00b0C\\\", \\\"rain_sum\\\": \\\"mm\\\"}, \\\"daily\\\": {\\\"time\\\": [\\\"2025-08-01\\\"], \\\"temperature_2m_max\\\": [29.0], \\\"temperature_2m_min\\\": [20.6], \\\"rain_sum\\\": [0.0]}}\\n\", \"role\": \"assistant\"}]",
"output": null,
"model": null,
"internalModelId": null,
@@ -2493,7 +2476,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 17.167,
+ "latency": 7.449,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -2509,51 +2492,68 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"target\":\"agent.react.start\",\"name\":\"start\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"iteration\":\"1\",\"llm.tools\":\"[{\\\"tool.name\\\": \\\"Wikipedia\\\", \\\"tool.description\\\": \\\"Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\\", \\\"tool.options\\\": \\\"null\\\"}, {\\\"tool.name\\\": \\\"OpenMeteoTool\\\", \\\"tool.description\\\": \\\"Retrieve current, past, or future weather forecasts for a location.\\\", \\\"tool.options\\\": \\\"null\\\"}]\",\"input.mime_type\":\"application/json\",\"input.value\":\"[{\\\"text\\\": \\\"# Available functions\\\\nYou can only use the following functions. Always use all required parameters.\\\\n\\\\nFunction Name: Wikipedia\\\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\\\nInput Schema: {\\\\\\\"properties\\\\\\\": {\\\\\\\"full_text\\\\\\\": {\\\\\\\"default\\\\\\\": false, \\\\\\\"description\\\\\\\": \\\\\\\"If set to true, it will return the full text of the page instead of its short summary.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Full Text\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"boolean\\\\\\\"}, \\\\\\\"query\\\\\\\": {\\\\\\\"description\\\\\\\": \\\\\\\"Name of the Wikipedia page.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Query\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}}, \\\\\\\"required\\\\\\\": [\\\\\\\"query\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"WikipediaToolInput\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"object\\\\\\\"}\\\\n\\\\nFunction Name: OpenMeteoTool\\\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\\\nInput Schema: {\\\\\\\"properties\\\\\\\": {\\\\\\\"country\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"Country name.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Country\\\\\\\"}, \\\\\\\"end_date\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"format\\\\\\\": \\\\\\\"date\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"End Date\\\\\\\"}, \\\\\\\"location_name\\\\\\\": {\\\\\\\"description\\\\\\\": \\\\\\\"The name of the location to retrieve weather information.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Location Name\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, \\\\\\\"start_date\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"format\\\\\\\": \\\\\\\"date\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Start Date\\\\\\\"}, \\\\\\\"temperature_unit\\\\\\\": {\\\\\\\"default\\\\\\\": \\\\\\\"celsius\\\\\\\", \\\\\\\"description\\\\\\\": \\\\\\\"The unit to express temperature\\\\\\\", \\\\\\\"enum\\\\\\\": [\\\\\\\"celsius\\\\\\\", \\\\\\\"fahrenheit\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"Temperature Unit\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}}, \\\\\\\"required\\\\\\\": [\\\\\\\"location_name\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"OpenMeteoToolInput\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"object\\\\\\\"}\\\\n\\\\n# Communication structure\\\\nYou communicate only in instruction lines. The format is: \\\\\\\"Instruction: expected output\\\\\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\\\n\\\\nMessage: User's message. You never use this instruction line.\\\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\\\\\"arg1\\\\\\\":\\\\\\\"value1\\\\\\\", \\\\\\\"arg2\\\\\\\":\\\\\\\"value2\\\\\\\"}. Empty object is a valid parameter.\\\\nFunction Output: Output of the function in JSON format.\\\\nThought: Continue your thinking process.\\\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\\\n\\\\n## Examples\\\\nMessage: Can you translate \\\\\\\"How are you\\\\\\\" into French?\\\\nThought: The user wants to translate a text into French. I can do that.\\\\nFinal Answer: Comment vas-tu?\\\\n\\\\n# Instructions\\\\nUser can only see the Final Answer, all answers must be provided there.\\\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\\\nFunctions must be used to retrieve factual or historical information to answer the message.\\\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\\\n\\\\n# Your capabilities\\\\nPrefer to use these capabilities over functions.\\\\n- You understand these languages: English, Spanish, French.\\\\n- You can translate and summarize, even long documents.\\\\n\\\\n# Notes\\\\n- If you don't know the answer, say that you don't know.\\\\n- The current time and date in ISO format might be found in the last message.\\\\n- When answering the user, use friendly formats for time and date.\\\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\\\n\\\", \\\"role\\\": \\\"system\\\"}, {\\\"text\\\": \\\"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\\\n\\\\nThis message was created at 2025-08-01T13:56:54+00:00\\\", \\\"role\\\": \\\"user\\\"}]\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
+ "metadata": "{\"attributes\":{\"target\":\"agent.react.start\",\"name\":\"start\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"iteration\":\"3\",\"llm.tools\":\"[{\\\"tool.name\\\": \\\"Wikipedia\\\", \\\"tool.description\\\": \\\"Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\\", \\\"tool.options\\\": \\\"null\\\"}, {\\\"tool.name\\\": \\\"OpenMeteoTool\\\", \\\"tool.description\\\": \\\"Retrieve current, past, or future weather forecasts for a location.\\\", \\\"tool.options\\\": \\\"null\\\"}]\",\"input.mime_type\":\"application/json\",\"input.value\":\"[{\\\"text\\\": \\\"# Available functions\\\\nYou can only use the following functions. Always use all required parameters.\\\\n\\\\nFunction Name: Wikipedia\\\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\\\nInput Schema: {\\\\\\\"properties\\\\\\\": {\\\\\\\"full_text\\\\\\\": {\\\\\\\"default\\\\\\\": false, \\\\\\\"description\\\\\\\": \\\\\\\"If set to true, it will return the full text of the page instead of its short summary.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Full Text\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"boolean\\\\\\\"}, \\\\\\\"query\\\\\\\": {\\\\\\\"description\\\\\\\": \\\\\\\"Name of the Wikipedia page.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Query\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}}, \\\\\\\"required\\\\\\\": [\\\\\\\"query\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"WikipediaToolInput\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"object\\\\\\\"}\\\\n\\\\nFunction Name: OpenMeteoTool\\\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\\\nInput Schema: {\\\\\\\"properties\\\\\\\": {\\\\\\\"country\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"Country name.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Country\\\\\\\"}, \\\\\\\"end_date\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"format\\\\\\\": \\\\\\\"date\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"End Date\\\\\\\"}, \\\\\\\"location_name\\\\\\\": {\\\\\\\"description\\\\\\\": \\\\\\\"The name of the location to retrieve weather information.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Location Name\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, \\\\\\\"start_date\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"format\\\\\\\": \\\\\\\"date\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Start Date\\\\\\\"}, \\\\\\\"temperature_unit\\\\\\\": {\\\\\\\"default\\\\\\\": \\\\\\\"celsius\\\\\\\", \\\\\\\"description\\\\\\\": \\\\\\\"The unit to express temperature\\\\\\\", \\\\\\\"enum\\\\\\\": [\\\\\\\"celsius\\\\\\\", \\\\\\\"fahrenheit\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"Temperature Unit\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}}, \\\\\\\"required\\\\\\\": [\\\\\\\"location_name\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"OpenMeteoToolInput\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"object\\\\\\\"}\\\\n\\\\n# Communication structure\\\\nYou communicate only in instruction lines. The format is: \\\\\\\"Instruction: expected output\\\\\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\\\n\\\\nMessage: User's message. You never use this instruction line.\\\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\\\\\"arg1\\\\\\\":\\\\\\\"value1\\\\\\\", \\\\\\\"arg2\\\\\\\":\\\\\\\"value2\\\\\\\"}. Empty object is a valid parameter.\\\\nFunction Output: Output of the function in JSON format.\\\\nThought: Continue your thinking process.\\\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\\\n\\\\n## Examples\\\\nMessage: Can you translate \\\\\\\"How are you\\\\\\\" into French?\\\\nThought: The user wants to translate a text into French. I can do that.\\\\nFinal Answer: Comment vas-tu?\\\\n\\\\n# Instructions\\\\nUser can only see the Final Answer, all answers must be provided there.\\\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\\\nFunctions must be used to retrieve factual or historical information to answer the message.\\\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\\\n\\\\n# Your capabilities\\\\nPrefer to use these capabilities over functions.\\\\n- You understand these languages: English, Spanish, French.\\\\n- You can translate and summarize, even long documents.\\\\n\\\\n# Notes\\\\n- If you don't know the answer, say that you don't know.\\\\n- The current time and date in ISO format might be found in the last message.\\\\n- When answering the user, use friendly formats for time and date.\\\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\\\n\\\", \\\"role\\\": \\\"system\\\"}, {\\\"text\\\": \\\"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\\\n\\\\nThis message was created at 2025-08-01T13:56:54+00:00\\\", \\\"role\\\": \\\"user\\\"}, {\\\"text\\\": \\\"Thought: I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \\\\nFunction Name: Wikipedia\\\\nFunction Input: {\\\\\\\"query\\\\\\\": \\\\\\\"Tourism in Barcelona\\\\\\\"}\\\\nFunction Output: [{\\\\\\\"description\\\\\\\": \\\\\\\"Barcelona ( BAR-s\\\\u0259-LOH-n\\\\u0259; Catalan: [b\\\\u0259\\\\u027es\\\\u0259\\\\u02c8lon\\\\u0259] ; Spanish: [ba\\\\u027e\\\\u03b8e\\\\u02c8lona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Bes\\\\u00f2s, bounded to the west by the Serra de Collserola mountain range.\\\\\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaud\\\\u00ed and Llu\\\\u00eds Dom\\\\u00e8nech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona\\\\u2013El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Barcelona\\\\\\\", \\\\\\\"url\\\\\\\": \\\\\\\"https://en.wikipedia.org/wiki/Barcelona\\\\\\\"}]\\\\n\\\", \\\"role\\\": \\\"assistant\\\"}, {\\\"text\\\": \\\"Thought: I found information about Barcelona, including its rich cultural heritage and key attractions like the architectural works of Antoni Gaud\\\\u00ed. Now, I will check the current weather conditions in Barcelona. \\\\nFunction Name: OpenMeteoTool\\\\nFunction Input: {\\\\\\\"country\\\\\\\": \\\\\\\"Spain\\\\\\\", \\\\\\\"location_name\\\\\\\": \\\\\\\"Barcelona\\\\\\\"}\\\\nFunction Output: {\\\\\\\"latitude\\\\\\\": 41.4375, \\\\\\\"longitude\\\\\\\": 2.1875, \\\\\\\"generationtime_ms\\\\\\\": 0.0553131103515625, \\\\\\\"utc_offset_seconds\\\\\\\": 0, \\\\\\\"timezone\\\\\\\": \\\\\\\"GMT\\\\\\\", \\\\\\\"timezone_abbreviation\\\\\\\": \\\\\\\"GMT\\\\\\\", \\\\\\\"elevation\\\\\\\": 44.0, \\\\\\\"current_units\\\\\\\": {\\\\\\\"time\\\\\\\": \\\\\\\"iso8601\\\\\\\", \\\\\\\"interval\\\\\\\": \\\\\\\"seconds\\\\\\\", \\\\\\\"temperature_2m\\\\\\\": \\\\\\\"\\\\u00b0C\\\\\\\", \\\\\\\"rain\\\\\\\": \\\\\\\"mm\\\\\\\", \\\\\\\"relative_humidity_2m\\\\\\\": \\\\\\\"%\\\\\\\", \\\\\\\"wind_speed_10m\\\\\\\": \\\\\\\"km/h\\\\\\\"}, \\\\\\\"current\\\\\\\": {\\\\\\\"time\\\\\\\": \\\\\\\"2025-08-01T13:45\\\\\\\", \\\\\\\"interval\\\\\\\": 900, \\\\\\\"temperature_2m\\\\\\\": 29.0, \\\\\\\"rain\\\\\\\": 0.0, \\\\\\\"relative_humidity_2m\\\\\\\": 48, \\\\\\\"wind_speed_10m\\\\\\\": 18.8}, \\\\\\\"daily_units\\\\\\\": {\\\\\\\"time\\\\\\\": \\\\\\\"iso8601\\\\\\\", \\\\\\\"temperature_2m_max\\\\\\\": \\\\\\\"\\\\u00b0C\\\\\\\", \\\\\\\"temperature_2m_min\\\\\\\": \\\\\\\"\\\\u00b0C\\\\\\\", \\\\\\\"rain_sum\\\\\\\": \\\\\\\"mm\\\\\\\"}, \\\\\\\"daily\\\\\\\": {\\\\\\\"time\\\\\\\": [\\\\\\\"2025-08-01\\\\\\\"], \\\\\\\"temperature_2m_max\\\\\\\": [29.0], \\\\\\\"temperature_2m_min\\\\\\\": [20.6], \\\\\\\"rain_sum\\\\\\\": [0.0]}}\\\\n\\\", \\\"role\\\": \\\"assistant\\\"}]\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "c48e7d031a4cb886",
+ "id": "1f956cbea34725bd",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:56:54.166Z",
- "endTime": "2025-08-01T13:57:11.334Z",
+ "startTime": "2025-08-01T13:56:54.170Z",
+ "endTime": "2025-08-01T13:57:11.333Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "cb4886242bf214b8",
- "type": "SPAN",
+ "parentObservationId": "bf28223502262e87",
+ "type": "GENERATION",
"environment": "default",
- "name": "iteration-1",
+ "name": "backend.openai.chat.start-14",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.164Z",
- "updatedAt": "2025-08-01T13:57:14.240Z",
- "input": null,
+ "createdAt": "2025-08-01T13:57:14.161Z",
+ "updatedAt": "2025-08-01T13:57:14.214Z",
+ "input": "[{\"role\": \"system\", \"content\": \"# Available functions\\nYou can only use the following functions. Always use all required parameters.\\n\\nFunction Name: Wikipedia\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\nInput Schema: {\\\"properties\\\": {\\\"full_text\\\": {\\\"default\\\": false, \\\"description\\\": \\\"If set to true, it will return the full text of the page instead of its short summary.\\\", \\\"title\\\": \\\"Full Text\\\", \\\"type\\\": \\\"boolean\\\"}, \\\"query\\\": {\\\"description\\\": \\\"Name of the Wikipedia page.\\\", \\\"title\\\": \\\"Query\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"query\\\"], \\\"title\\\": \\\"WikipediaToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\nFunction Name: OpenMeteoTool\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\nInput Schema: {\\\"properties\\\": {\\\"country\\\": {\\\"anyOf\\\": [{\\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Country name.\\\", \\\"title\\\": \\\"Country\\\"}, \\\"end_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"End Date\\\"}, \\\"location_name\\\": {\\\"description\\\": \\\"The name of the location to retrieve weather information.\\\", \\\"title\\\": \\\"Location Name\\\", \\\"type\\\": \\\"string\\\"}, \\\"start_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"Start Date\\\"}, \\\"temperature_unit\\\": {\\\"default\\\": \\\"celsius\\\", \\\"description\\\": \\\"The unit to express temperature\\\", \\\"enum\\\": [\\\"celsius\\\", \\\"fahrenheit\\\"], \\\"title\\\": \\\"Temperature Unit\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"location_name\\\"], \\\"title\\\": \\\"OpenMeteoToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\n# Communication structure\\nYou communicate only in instruction lines. The format is: \\\"Instruction: expected output\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\n\\nMessage: User's message. You never use this instruction line.\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\"arg1\\\":\\\"value1\\\", \\\"arg2\\\":\\\"value2\\\"}. Empty object is a valid parameter.\\nFunction Output: Output of the function in JSON format.\\nThought: Continue your thinking process.\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\n\\n## Examples\\nMessage: Can you translate \\\"How are you\\\" into French?\\nThought: The user wants to translate a text into French. I can do that.\\nFinal Answer: Comment vas-tu?\\n\\n# Instructions\\nUser can only see the Final Answer, all answers must be provided there.\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\nFunctions must be used to retrieve factual or historical information to answer the message.\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\n\\n# Your capabilities\\nPrefer to use these capabilities over functions.\\n- You understand these languages: English, Spanish, French.\\n- You can translate and summarize, even long documents.\\n\\n# Notes\\n- If you don't know the answer, say that you don't know.\\n- The current time and date in ISO format might be found in the last message.\\n- When answering the user, use friendly formats for time and date.\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\n\"}, {\"role\": \"user\", \"content\": [{\"type\": \"text\", \"text\": \"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\n\\nThis message was created at 2025-08-01T13:56:54+00:00\"}]}]",
"output": null,
- "model": null,
- "internalModelId": null,
- "modelParameters": null,
+ "model": "gpt-4o-mini",
+ "internalModelId": "clyrjp56f0000t0mzapoocd7u",
+ "modelParameters": {
+ "max_tokens": "null",
+ "top_p": "null",
+ "frequency_penalty": "null",
+ "temperature": 0.7,
+ "top_k": "null",
+ "n": "null",
+ "presence_penalty": "null",
+ "seed": "null",
+ "stop_sequences": "null",
+ "stream": "null"
+ },
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 17.168,
+ "latency": 17.163,
"timeToFirstToken": null,
- "usageDetails": {},
- "costDetails": {},
+ "usageDetails": {
+ "input": 1195,
+ "total": 1195
+ },
+ "costDetails": {
+ "input": 0.00017925,
+ "total": 0.00017925
+ },
"providedCostDetails": {},
- "inputCost": null,
+ "inputCost": 0.00017925,
"outputCost": null,
- "totalCost": 0,
- "inputUsage": 0,
+ "totalCost": 0.00017925,
+ "inputUsage": 1195,
"outputUsage": 0,
- "totalUsage": 0,
+ "totalUsage": 1195,
"usagePricingTierId": null,
"usagePricingTierName": null,
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"target\":\"groupId\",\"name\":\"iteration-1\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"openinference.span.kind\":\"CHAIN\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
- "internalModel": null
+ "metadata": "{\"attributes\":{\"target\":\"backend.openai.chat.start\",\"name\":\"start\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"input.mime_type\":\"application/json\",\"input.value\":\"[{\\\"role\\\": \\\"system\\\", \\\"content\\\": \\\"# Available functions\\\\nYou can only use the following functions. Always use all required parameters.\\\\n\\\\nFunction Name: Wikipedia\\\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\\\nInput Schema: {\\\\\\\"properties\\\\\\\": {\\\\\\\"full_text\\\\\\\": {\\\\\\\"default\\\\\\\": false, \\\\\\\"description\\\\\\\": \\\\\\\"If set to true, it will return the full text of the page instead of its short summary.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Full Text\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"boolean\\\\\\\"}, \\\\\\\"query\\\\\\\": {\\\\\\\"description\\\\\\\": \\\\\\\"Name of the Wikipedia page.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Query\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}}, \\\\\\\"required\\\\\\\": [\\\\\\\"query\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"WikipediaToolInput\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"object\\\\\\\"}\\\\n\\\\nFunction Name: OpenMeteoTool\\\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\\\nInput Schema: {\\\\\\\"properties\\\\\\\": {\\\\\\\"country\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"Country name.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Country\\\\\\\"}, \\\\\\\"end_date\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"format\\\\\\\": \\\\\\\"date\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"End Date\\\\\\\"}, \\\\\\\"location_name\\\\\\\": {\\\\\\\"description\\\\\\\": \\\\\\\"The name of the location to retrieve weather information.\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Location Name\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, \\\\\\\"start_date\\\\\\\": {\\\\\\\"anyOf\\\\\\\": [{\\\\\\\"format\\\\\\\": \\\\\\\"date\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}, {\\\\\\\"type\\\\\\\": \\\\\\\"null\\\\\\\"}], \\\\\\\"default\\\\\\\": null, \\\\\\\"description\\\\\\\": \\\\\\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\\\\\", \\\\\\\"title\\\\\\\": \\\\\\\"Start Date\\\\\\\"}, \\\\\\\"temperature_unit\\\\\\\": {\\\\\\\"default\\\\\\\": \\\\\\\"celsius\\\\\\\", \\\\\\\"description\\\\\\\": \\\\\\\"The unit to express temperature\\\\\\\", \\\\\\\"enum\\\\\\\": [\\\\\\\"celsius\\\\\\\", \\\\\\\"fahrenheit\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"Temperature Unit\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"string\\\\\\\"}}, \\\\\\\"required\\\\\\\": [\\\\\\\"location_name\\\\\\\"], \\\\\\\"title\\\\\\\": \\\\\\\"OpenMeteoToolInput\\\\\\\", \\\\\\\"type\\\\\\\": \\\\\\\"object\\\\\\\"}\\\\n\\\\n# Communication structure\\\\nYou communicate only in instruction lines. The format is: \\\\\\\"Instruction: expected output\\\\\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\\\n\\\\nMessage: User's message. You never use this instruction line.\\\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\\\\\"arg1\\\\\\\":\\\\\\\"value1\\\\\\\", \\\\\\\"arg2\\\\\\\":\\\\\\\"value2\\\\\\\"}. Empty object is a valid parameter.\\\\nFunction Output: Output of the function in JSON format.\\\\nThought: Continue your thinking process.\\\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\\\n\\\\n## Examples\\\\nMessage: Can you translate \\\\\\\"How are you\\\\\\\" into French?\\\\nThought: The user wants to translate a text into French. I can do that.\\\\nFinal Answer: Comment vas-tu?\\\\n\\\\n# Instructions\\\\nUser can only see the Final Answer, all answers must be provided there.\\\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\\\nFunctions must be used to retrieve factual or historical information to answer the message.\\\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\\\n\\\\n# Your capabilities\\\\nPrefer to use these capabilities over functions.\\\\n- You understand these languages: English, Spanish, French.\\\\n- You can translate and summarize, even long documents.\\\\n\\\\n# Notes\\\\n- If you don't know the answer, say that you don't know.\\\\n- The current time and date in ISO format might be found in the last message.\\\\n- When answering the user, use friendly formats for time and date.\\\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\\\n\\\"}, {\\\"role\\\": \\\"user\\\", \\\"content\\\": [{\\\"type\\\": \\\"text\\\", \\\"text\\\": \\\"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\\\n\\\\nThis message was created at 2025-08-01T13:56:54+00:00\\\"}]}]\",\"llm.input_messages.0.message.role\":\"system\",\"llm.input_messages.0.message.content\":\"# Available functions\\nYou can only use the following functions. Always use all required parameters.\\n\\nFunction Name: Wikipedia\\nDescription: Search factual and historical information, including biography, history, politics, geography, society, culture, science, technology, people, animal species, mathematics, and other subjects.\\nInput Schema: {\\\"properties\\\": {\\\"full_text\\\": {\\\"default\\\": false, \\\"description\\\": \\\"If set to true, it will return the full text of the page instead of its short summary.\\\", \\\"title\\\": \\\"Full Text\\\", \\\"type\\\": \\\"boolean\\\"}, \\\"query\\\": {\\\"description\\\": \\\"Name of the Wikipedia page.\\\", \\\"title\\\": \\\"Query\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"query\\\"], \\\"title\\\": \\\"WikipediaToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\nFunction Name: OpenMeteoTool\\nDescription: Retrieve current, past, or future weather forecasts for a location.\\nInput Schema: {\\\"properties\\\": {\\\"country\\\": {\\\"anyOf\\\": [{\\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Country name.\\\", \\\"title\\\": \\\"Country\\\"}, \\\"end_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"End date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"End Date\\\"}, \\\"location_name\\\": {\\\"description\\\": \\\"The name of the location to retrieve weather information.\\\", \\\"title\\\": \\\"Location Name\\\", \\\"type\\\": \\\"string\\\"}, \\\"start_date\\\": {\\\"anyOf\\\": [{\\\"format\\\": \\\"date\\\", \\\"type\\\": \\\"string\\\"}, {\\\"type\\\": \\\"null\\\"}], \\\"default\\\": null, \\\"description\\\": \\\"Start date for the weather forecast in the format YYYY-MM-DD (UTC)\\\", \\\"title\\\": \\\"Start Date\\\"}, \\\"temperature_unit\\\": {\\\"default\\\": \\\"celsius\\\", \\\"description\\\": \\\"The unit to express temperature\\\", \\\"enum\\\": [\\\"celsius\\\", \\\"fahrenheit\\\"], \\\"title\\\": \\\"Temperature Unit\\\", \\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"location_name\\\"], \\\"title\\\": \\\"OpenMeteoToolInput\\\", \\\"type\\\": \\\"object\\\"}\\n\\n# Communication structure\\nYou communicate only in instruction lines. The format is: \\\"Instruction: expected output\\\". You must only use these instruction lines and must not enter empty lines or anything else between instruction lines.\\nYou must skip the instruction lines Function Name, Function Input and Function Output if no function calling is required.\\n\\nMessage: User's message. You never use this instruction line.\\nThought: A single-line step-by-step plan of how to answer the user's message. You can use the available functions defined above. This instruction line must be immediately followed by Function Name if one of the available functions defined above needs to be called, or by Final Answer. Do not provide the answer here.\\nFunction Name: Name of the function. This instruction line must be immediately followed by Function Input.\\nFunction Input: Function parameters in JSON format adhering to the function's input specification ie. {\\\"arg1\\\":\\\"value1\\\", \\\"arg2\\\":\\\"value2\\\"}. Empty object is a valid parameter.\\nFunction Output: Output of the function in JSON format.\\nThought: Continue your thinking process.\\nFinal Answer: Answer the user or ask for more information or clarification. It must always be preceded by Thought.\\n\\n## Examples\\nMessage: Can you translate \\\"How are you\\\" into French?\\nThought: The user wants to translate a text into French. I can do that.\\nFinal Answer: Comment vas-tu?\\n\\n# Instructions\\nUser can only see the Final Answer, all answers must be provided there.\\nYou must always use the communication structure and instructions defined above. Do not forget that Thought must be a single-line immediately followed by either Function Name or Final Answer.\\nFunctions must be used to retrieve factual or historical information to answer the message.\\nIf the user suggests using a function that is not available, answer that the function is not available. You can suggest alternatives if appropriate.\\nWhen the message is unclear or you need more information from the user, ask in Final Answer.\\n\\n# Your capabilities\\nPrefer to use these capabilities over functions.\\n- You understand these languages: English, Spanish, French.\\n- You can translate and summarize, even long documents.\\n\\n# Notes\\n- If you don't know the answer, say that you don't know.\\n- The current time and date in ISO format might be found in the last message.\\n- When answering the user, use friendly formats for time and date.\\n- Use markdown syntax for formatting code snippets, links, JSON, tables, images, files.\\n- Sometimes, things don't go as planned. Functions may not provide useful information on the first few tries. You should always try a few different approaches before declaring the problem unsolvable.\\n- When the function doesn't give you what you were asking for, you must either use another function or a different function input.\\n - When using search engines, you try different formulations of the query, possibly even in a different language.\\n- You cannot do complex calculations, computations, or data manipulations without using functions.\\n\",\"llm.input_messages.1.message.role\":\"user\",\"llm.input_messages.1.message.content\":\"Message: I'm planning a trip to Barcelona, Spain. Can you research key attractions and landmarks I should visit, and also tell me what the current weather conditions are like there?\\n\\nThis message was created at 2025-08-01T13:56:54+00:00\",\"llm.provider\":\"openai\",\"llm.model_name\":\"gpt-4o-mini\",\"llm.invocation_parameters\":\"{\\\"max_tokens\\\":null,\\\"top_p\\\":null,\\\"frequency_penalty\\\":null,\\\"temperature\\\":0.7,\\\"top_k\\\":null,\\\"n\\\":null,\\\"presence_penalty\\\":null,\\\"seed\\\":null,\\\"stop_sequences\\\":null,\\\"stream\\\":null}\",\"openinference.span.kind\":\"LLM\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
+ "internalModel": "clyrjp56f0000t0mzapoocd7u"
},
{
"id": "cb4886242bf214b8",
@@ -2599,22 +2599,22 @@
"internalModel": null
},
{
- "id": "fce7074c89470876",
+ "id": "477d350ab1c6548d",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:56:57.470Z",
+ "startTime": "2025-08-01T13:57:03.886Z",
"endTime": "2025-08-01T13:57:11.334Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "c48e7d031a4cb886",
+ "parentObservationId": "0eb76c10a47e9086",
"type": "SPAN",
"environment": "default",
- "name": "agent.react.partial_update-263",
+ "name": "agent.react.update-18",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-01T13:57:14.161Z",
- "updatedAt": "2025-08-01T13:57:14.256Z",
+ "createdAt": "2025-08-01T13:57:14.163Z",
+ "updatedAt": "2025-08-01T13:57:14.211Z",
"input": null,
- "output": "[{\"description\": \"Barcelona ( BAR-sə-LOH-nə; Catalan: [bəɾsəˈlonə] ; Spanish: [baɾθeˈlona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Besòs, bounded to the west by the Serra de Collserola mountain range.\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaudí and Lluís Domènech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona–El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\", \"title\": \"Barcelona\", \"url\": \"https://en.wikipedia.org/wiki/Barcelona\"}]",
+ "output": "{\"latitude\": 41.4375, \"longitude\": 2.1875, \"generationtime_ms\": 0.0553131103515625, \"utc_offset_seconds\": 0, \"timezone\": \"GMT\", \"timezone_abbreviation\": \"GMT\", \"elevation\": 44.0, \"current_units\": {\"time\": \"iso8601\", \"interval\": \"seconds\", \"temperature_2m\": \"°C\", \"rain\": \"mm\", \"relative_humidity_2m\": \"%\", \"wind_speed_10m\": \"km/h\"}, \"current\": {\"time\": \"2025-08-01T13:45\", \"interval\": 900, \"temperature_2m\": 29.0, \"rain\": 0.0, \"relative_humidity_2m\": 48, \"wind_speed_10m\": 18.8}, \"daily_units\": {\"time\": \"iso8601\", \"temperature_2m_max\": \"°C\", \"temperature_2m_min\": \"°C\", \"rain_sum\": \"mm\"}, \"daily\": {\"time\": [\"2025-08-01\"], \"temperature_2m_max\": [29.0], \"temperature_2m_min\": [20.6], \"rain_sum\": [0.0]}}",
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -2622,7 +2622,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 13.864,
+ "latency": 7.448,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -2638,26 +2638,26 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"target\":\"agent.react.partial_update\",\"name\":\"partial_update\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"output.value\":\"[{\\\"description\\\": \\\"Barcelona ( BAR-sə-LOH-nə; Catalan: [bəɾsəˈlonə] ; Spanish: [baɾθeˈlona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Besòs, bounded to the west by the Serra de Collserola mountain range.\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaudí and Lluís Domènech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona–El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\", \\\"title\\\": \\\"Barcelona\\\", \\\"url\\\": \\\"https://en.wikipedia.org/wiki/Barcelona\\\"}]\",\"output.mime_type\":\"application/json\",\"thought\":\"I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \",\"tool.name\":\"Wikipedia\",\"tool.parameters\":\"{\\\"query\\\": \\\"Tourism in Barcelona\\\"}\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
+ "metadata": "{\"attributes\":{\"target\":\"agent.react.update\",\"name\":\"update\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"output.value\":\"{\\\"latitude\\\": 41.4375, \\\"longitude\\\": 2.1875, \\\"generationtime_ms\\\": 0.0553131103515625, \\\"utc_offset_seconds\\\": 0, \\\"timezone\\\": \\\"GMT\\\", \\\"timezone_abbreviation\\\": \\\"GMT\\\", \\\"elevation\\\": 44.0, \\\"current_units\\\": {\\\"time\\\": \\\"iso8601\\\", \\\"interval\\\": \\\"seconds\\\", \\\"temperature_2m\\\": \\\"°C\\\", \\\"rain\\\": \\\"mm\\\", \\\"relative_humidity_2m\\\": \\\"%\\\", \\\"wind_speed_10m\\\": \\\"km/h\\\"}, \\\"current\\\": {\\\"time\\\": \\\"2025-08-01T13:45\\\", \\\"interval\\\": 900, \\\"temperature_2m\\\": 29.0, \\\"rain\\\": 0.0, \\\"relative_humidity_2m\\\": 48, \\\"wind_speed_10m\\\": 18.8}, \\\"daily_units\\\": {\\\"time\\\": \\\"iso8601\\\", \\\"temperature_2m_max\\\": \\\"°C\\\", \\\"temperature_2m_min\\\": \\\"°C\\\", \\\"rain_sum\\\": \\\"mm\\\"}, \\\"daily\\\": {\\\"time\\\": [\\\"2025-08-01\\\"], \\\"temperature_2m_max\\\": [29.0], \\\"temperature_2m_min\\\": [20.6], \\\"rain_sum\\\": [0.0]}}\",\"output.mime_type\":\"application/json\",\"thought\":\"I found information about Barcelona, including its rich cultural heritage and key attractions like the architectural works of Antoni Gaudí. Now, I will check the current weather conditions in Barcelona. \",\"tool.name\":\"OpenMeteoTool\",\"tool.parameters\":\"{\\\"location_name\\\": \\\"Barcelona\\\", \\\"country\\\": \\\"Spain\\\"}\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "ff8b04dfe1f3e047",
+ "id": "49b16d9910843ef4",
"traceId": "096fc09a30ab90d2431778f9ee2b3936",
- "startTime": "2025-08-01T13:56:55.682Z",
+ "startTime": "2025-08-01T13:56:57.468Z",
"endTime": "2025-08-01T13:57:11.334Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "c48e7d031a4cb886",
+ "parentObservationId": "ff8b04dfe1f3e047",
"type": "SPAN",
"environment": "default",
- "name": "agent.react.update-13",
+ "name": "tool.search.wikipedia.success-12",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
"createdAt": "2025-08-01T13:57:14.161Z",
- "updatedAt": "2025-08-01T13:57:14.259Z",
+ "updatedAt": "2025-08-01T13:57:14.210Z",
"input": null,
- "output": null,
+ "output": "[{\"description\": \"Barcelona ( BAR-sə-LOH-nə; Catalan: [bəɾsəˈlonə] ; Spanish: [baɾθeˈlona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Besòs, bounded to the west by the Serra de Collserola mountain range.\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaudí and Lluís Domènech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona–El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\", \"title\": \"Barcelona\", \"url\": \"https://en.wikipedia.org/wiki/Barcelona\"}]",
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -2665,7 +2665,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 15.652,
+ "latency": 13.866,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -2681,7 +2681,7 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"target\":\"agent.react.update\",\"name\":\"update\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"output.mime_type\":\"application/json\",\"thought\":\"I will first research key attractions and landmarks in Barcelona and then check the current weather conditions there. \",\"tool.name\":\"Wikipedia\",\"tool.parameters\":\"{\\\"query\\\": \\\"Tourism in Barcelona\\\"}\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
+ "metadata": "{\"attributes\":{\"target\":\"tool.search.wikipedia.success\",\"name\":\"success\",\"traceId\":\"0cff2691-3a45-4988-a243-8cb8c508aa25\",\"output.value\":\"[{\\\"description\\\": \\\"Barcelona ( BAR-sə-LOH-nə; Catalan: [bəɾsəˈlonə] ; Spanish: [baɾθeˈlona] ) is a city on the northeastern coast of Spain. It is the capital and largest city of the autonomous community of Catalonia, as well as the second-most populous municipality of Spain. With a population of 1.6 million within city limits, its urban area extends to numerous neighbouring municipalities within the province of Barcelona and is home to around 5.3 million people, making it the fifth most populous urban area of the European Union after Paris, the Ruhr area, Madrid and Milan. It is one of the largest metropolises on the Mediterranean Sea, located on the coast between the mouths of the rivers Llobregat and Besòs, bounded to the west by the Serra de Collserola mountain range.\\\\nAccording to tradition, Barcelona was founded by either the Phoenicians or the Carthaginians, who had trading posts along the Catalonian coast. In the Middle Ages, Barcelona became the capital of the County of Barcelona. After joining with the Kingdom of Aragon to form the composite monarchy of the Crown of Aragon, Barcelona, which continued to be the capital of the Principality of Catalonia, became the most important city in the Crown of Aragon and its main economic and administrative centre, only to be overtaken by Valencia, wrested from Moorish control by the Catalans, shortly before the dynastic union between the Crown of Castile and the Crown of Aragon in 1516. Barcelona became the centre of Catalan separatism, briefly becoming part of France during the 17th century Reapers' War and again in 1812 until 1814 under Napoleon. Experiencing industrialization and several workers movements during the 19th and early 20th century, it became the capital of autonomous Catalonia in 1931 and it was the epicenter of the revolution experienced by Catalonia during the Spanish Revolution of 1936, until its capture by the fascists in 1939. After the Spanish transition to democracy in the 1970s, Barcelona once again became the capital of an autonomous Catalonia.\\\\nBarcelona has a rich cultural heritage and is today an important cultural centre and a major tourist destination. Particularly renowned are the architectural works of Antoni Gaudí and Lluís Domènech i Montaner, which have been designated UNESCO World Heritage Sites. The city is home to two of the most prestigious universities in Spain: the University of Barcelona and Pompeu Fabra University. The headquarters of the Union for the Mediterranean are located in Barcelona. The city is known for hosting the 1992 Summer Olympics as well as world-class conferences and expositions. In addition, many international sport tournaments have been played here.\\\\nBarcelona is a major cultural, economic, and financial centre in southwestern Europe, as well as the main biotech hub in Spain. As a leading world city, Barcelona's influence in global socio-economic affairs qualifies it for global city status (Beta +).\\\\nBarcelona is a transport hub, with the Port of Barcelona being one of Europe's principal seaports and busiest European passenger port, an international airport, Barcelona–El Prat Airport, which handles over 50-million passengers per year, an extensive motorway network, and a high-speed rail line with a link to France and the rest of Europe.\\\", \\\"title\\\": \\\"Barcelona\\\", \\\"url\\\": \\\"https://en.wikipedia.org/wiki/Barcelona\\\"}]\",\"tool.parameters\":\"{\\\"query\\\":\\\"Tourism in Barcelona\\\",\\\"full_text\\\":false}\",\"openinference.span.kind\":\"TOOL\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.beeai\",\"version\":\"0.1.33\",\"attributes\":{}}}",
"internalModel": null
}
]
diff --git a/worker/src/__tests__/chatml/framework-traces/claude-agent-2025-12-22.trace.json b/worker/src/__tests__/chatml/framework-traces/claude-agent-2025-12-22.trace.json
index 6fc8ce4d59..329baea470 100644
--- a/worker/src/__tests__/chatml/framework-traces/claude-agent-2025-12-22.trace.json
+++ b/worker/src/__tests__/chatml/framework-traces/claude-agent-2025-12-22.trace.json
@@ -94,60 +94,6 @@
"corrections": [],
"latency": 7.36,
"observations": [
- {
- "id": "2cc13e77781787fd",
- "traceId": "097f1d8982fa909b8cffb14a166ec272",
- "startTime": "2025-12-22T10:46:18.725Z",
- "endTime": "2025-12-22T10:46:18.977Z",
- "projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "805dc5dff9e33e32",
- "type": "GENERATION",
- "environment": "default",
- "name": "claude.assistant.turn",
- "level": "DEFAULT",
- "statusMessage": null,
- "version": null,
- "createdAt": "2025-12-22T10:46:20.575Z",
- "updatedAt": "2025-12-22T10:46:20.576Z",
- "input": null,
- "output": null,
- "model": "claude-sonnet-4-5-20250929",
- "internalModelId": "c5qmrqolku82tra3vgdixmys",
- "modelParameters": {},
- "completionStartTime": null,
- "promptId": null,
- "promptName": null,
- "promptVersion": null,
- "latency": 0.252,
- "timeToFirstToken": null,
- "usageDetails": {
- "input": 5,
- "output": 53,
- "total": 58
- },
- "costDetails": {
- "input": 0.000015,
- "output": 0.000795,
- "total": 0.00081
- },
- "providedCostDetails": {},
- "inputCost": 0.000015,
- "outputCost": 0.000795,
- "totalCost": 0.00081,
- "inputUsage": 5,
- "outputUsage": 53,
- "totalUsage": 58,
- "usagePricingTierId": "c5qmrqolku82tra3vgdixmys_tier_default",
- "usagePricingTierName": "Standard",
- "toolDefinitions": {},
- "toolCalls": [
- "{\"id\":\"toolu_01TKoqQLvY2UWuC49qnD48y7\",\"arguments\":\"{\\\"city\\\":\\\"Berlin\\\"}\",\"type\":\"tool_use\",\"index\":0}"
- ],
- "toolCallNames": [
- "mcp__weather__get_weather"
- ],
- "metadata": "{}"
- },
{
"id": "371496f71d82baed",
"traceId": "097f1d8982fa909b8cffb14a166ec272",
@@ -198,56 +144,6 @@
"toolCallNames": [],
"metadata": "{}"
},
- {
- "id": "e9aac170e5d48125",
- "traceId": "097f1d8982fa909b8cffb14a166ec272",
- "startTime": "2025-12-22T10:46:15.528Z",
- "endTime": "2025-12-22T10:46:18.725Z",
- "projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "805dc5dff9e33e32",
- "type": "GENERATION",
- "environment": "default",
- "name": "claude.assistant.turn",
- "level": "DEFAULT",
- "statusMessage": null,
- "version": null,
- "createdAt": "2025-12-22T10:46:20.575Z",
- "updatedAt": "2025-12-22T10:46:20.575Z",
- "input": null,
- "output": null,
- "model": "claude-sonnet-4-5-20250929",
- "internalModelId": "c5qmrqolku82tra3vgdixmys",
- "modelParameters": {},
- "completionStartTime": null,
- "promptId": null,
- "promptName": null,
- "promptVersion": null,
- "latency": 3.197,
- "timeToFirstToken": null,
- "usageDetails": {
- "input": 19,
- "output": 29,
- "total": 48
- },
- "costDetails": {
- "input": 0.000057,
- "output": 0.000435,
- "total": 0.000492
- },
- "providedCostDetails": {},
- "inputCost": 0.000057,
- "outputCost": 0.000435,
- "totalCost": 0.000492,
- "inputUsage": 19,
- "outputUsage": 29,
- "totalUsage": 48,
- "usagePricingTierId": "c5qmrqolku82tra3vgdixmys_tier_default",
- "usagePricingTierName": "Standard",
- "toolDefinitions": {},
- "toolCalls": [],
- "toolCallNames": [],
- "metadata": "{}"
- },
{
"id": "f8e8f040dc94e67e",
"traceId": "097f1d8982fa909b8cffb14a166ec272",
@@ -344,6 +240,60 @@
"toolCallNames": [],
"metadata": "{}"
},
+ {
+ "id": "2cc13e77781787fd",
+ "traceId": "097f1d8982fa909b8cffb14a166ec272",
+ "startTime": "2025-12-22T10:46:18.725Z",
+ "endTime": "2025-12-22T10:46:18.977Z",
+ "projectId": "cloramnkj0002jz088vzn1ja4",
+ "parentObservationId": "805dc5dff9e33e32",
+ "type": "GENERATION",
+ "environment": "default",
+ "name": "claude.assistant.turn",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": null,
+ "createdAt": "2025-12-22T10:46:20.575Z",
+ "updatedAt": "2025-12-22T10:46:20.576Z",
+ "input": null,
+ "output": null,
+ "model": "claude-sonnet-4-5-20250929",
+ "internalModelId": "c5qmrqolku82tra3vgdixmys",
+ "modelParameters": {},
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 0.252,
+ "timeToFirstToken": null,
+ "usageDetails": {
+ "input": 5,
+ "output": 53,
+ "total": 58
+ },
+ "costDetails": {
+ "input": 0.000015,
+ "output": 0.000795,
+ "total": 0.00081
+ },
+ "providedCostDetails": {},
+ "inputCost": 0.000015,
+ "outputCost": 0.000795,
+ "totalCost": 0.00081,
+ "inputUsage": 5,
+ "outputUsage": 53,
+ "totalUsage": 58,
+ "usagePricingTierId": "c5qmrqolku82tra3vgdixmys_tier_default",
+ "usagePricingTierName": "Standard",
+ "toolDefinitions": {},
+ "toolCalls": [
+ "{\"id\":\"toolu_01TKoqQLvY2UWuC49qnD48y7\",\"arguments\":\"{\\\"city\\\":\\\"Berlin\\\"}\",\"type\":\"tool_use\",\"index\":0}"
+ ],
+ "toolCallNames": [
+ "mcp__weather__get_weather"
+ ],
+ "metadata": "{}"
+ },
{
"id": "edbd987c5f361fdf",
"traceId": "097f1d8982fa909b8cffb14a166ec272",
@@ -386,6 +336,56 @@
"toolCallNames": [],
"metadata": "{}"
},
+ {
+ "id": "e9aac170e5d48125",
+ "traceId": "097f1d8982fa909b8cffb14a166ec272",
+ "startTime": "2025-12-22T10:46:15.528Z",
+ "endTime": "2025-12-22T10:46:18.725Z",
+ "projectId": "cloramnkj0002jz088vzn1ja4",
+ "parentObservationId": "805dc5dff9e33e32",
+ "type": "GENERATION",
+ "environment": "default",
+ "name": "claude.assistant.turn",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": null,
+ "createdAt": "2025-12-22T10:46:20.575Z",
+ "updatedAt": "2025-12-22T10:46:20.575Z",
+ "input": null,
+ "output": null,
+ "model": "claude-sonnet-4-5-20250929",
+ "internalModelId": "c5qmrqolku82tra3vgdixmys",
+ "modelParameters": {},
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 3.197,
+ "timeToFirstToken": null,
+ "usageDetails": {
+ "input": 19,
+ "output": 29,
+ "total": 48
+ },
+ "costDetails": {
+ "input": 0.000057,
+ "output": 0.000435,
+ "total": 0.000492
+ },
+ "providedCostDetails": {},
+ "inputCost": 0.000057,
+ "outputCost": 0.000435,
+ "totalCost": 0.000492,
+ "inputUsage": 19,
+ "outputUsage": 29,
+ "totalUsage": 48,
+ "usagePricingTierId": "c5qmrqolku82tra3vgdixmys_tier_default",
+ "usagePricingTierName": "Standard",
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{}"
+ },
{
"id": "f411dab686a064b1",
"traceId": "097f1d8982fa909b8cffb14a166ec272",
@@ -431,61 +431,6 @@
]
},
"observations": [
- {
- "id": "2cc13e77781787fd",
- "traceId": "097f1d8982fa909b8cffb14a166ec272",
- "startTime": "2025-12-22T10:46:18.725Z",
- "endTime": "2025-12-22T10:46:18.977Z",
- "projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "805dc5dff9e33e32",
- "type": "GENERATION",
- "environment": "default",
- "name": "claude.assistant.turn",
- "level": "DEFAULT",
- "statusMessage": null,
- "version": null,
- "createdAt": "2025-12-22T10:46:20.575Z",
- "updatedAt": "2025-12-22T10:46:20.576Z",
- "input": "{\"content\":\"role\"}",
- "output": "{\"content\":[{\"type\":\"tool_use\",\"id\":\"toolu_01TKoqQLvY2UWuC49qnD48y7\",\"name\":\"mcp__weather__get_weather\",\"input\":{\"city\":\"Berlin\"}}],\"role\":\"assistant\"}",
- "model": "claude-sonnet-4-5-20250929",
- "internalModelId": "c5qmrqolku82tra3vgdixmys",
- "modelParameters": {},
- "completionStartTime": null,
- "promptId": null,
- "promptName": null,
- "promptVersion": null,
- "latency": 0.252,
- "timeToFirstToken": null,
- "usageDetails": {
- "input": 5,
- "output": 53,
- "total": 58
- },
- "costDetails": {
- "input": 0.000015,
- "output": 0.000795,
- "total": 0.00081
- },
- "providedCostDetails": {},
- "inputCost": 0.000015,
- "outputCost": 0.000795,
- "totalCost": 0.00081,
- "inputUsage": 5,
- "outputUsage": 53,
- "totalUsage": 58,
- "usagePricingTierId": "c5qmrqolku82tra3vgdixmys_tier_default",
- "usagePricingTierName": "Standard",
- "toolDefinitions": {},
- "toolCalls": [
- "{\"id\":\"toolu_01TKoqQLvY2UWuC49qnD48y7\",\"arguments\":\"{\\\"city\\\":\\\"Berlin\\\"}\",\"type\":\"tool_use\",\"index\":0}"
- ],
- "toolCallNames": [
- "mcp__weather__get_weather"
- ],
- "metadata": "{\"attributes\":{\"gen_ai.operation.name\":\"chat\",\"gen_ai.serialized.name\":\"claude.assistant.turn\",\"langsmith.span.kind\":\"llm\",\"langsmith.trace.name\":\"claude.assistant.turn\",\"langsmith.trace.session_name\":\"default\",\"gen_ai.system\":\"anthropic\",\"gen_ai.request.model\":\"claude-sonnet-4-5-20250929\",\"langsmith.metadata.ls_model_name\":\"claude-sonnet-4-5-20250929\",\"langsmith.metadata.LANGSMITH_OTEL_ENABLED\":\"true\",\"langsmith.metadata.LANGSMITH_OTEL_ONLY\":\"true\",\"langsmith.metadata.LANGSMITH_TRACING\":\"true\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.37.0\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langsmith\",\"attributes\":{}}}",
- "internalModel": "c5qmrqolku82tra3vgdixmys"
- },
{
"id": "371496f71d82baed",
"traceId": "097f1d8982fa909b8cffb14a166ec272",
@@ -537,57 +482,6 @@
"metadata": "{\"attributes\":{\"langsmith.span.kind\":\"llm\",\"langsmith.trace.name\":\"claude.assistant.turn\",\"langsmith.trace.session_name\":\"default\",\"gen_ai.operation.name\":\"chat\",\"gen_ai.system\":\"anthropic\",\"gen_ai.request.model\":\"claude-sonnet-4-5-20250929\",\"langsmith.metadata.ls_model_name\":\"claude-sonnet-4-5-20250929\",\"langsmith.metadata.LANGSMITH_OTEL_ENABLED\":\"true\",\"langsmith.metadata.LANGSMITH_OTEL_ONLY\":\"true\",\"langsmith.metadata.LANGSMITH_TRACING\":\"true\",\"gen_ai.serialized.name\":\"claude.assistant.turn\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.37.0\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langsmith\",\"attributes\":{}}}",
"internalModel": "c5qmrqolku82tra3vgdixmys"
},
- {
- "id": "e9aac170e5d48125",
- "traceId": "097f1d8982fa909b8cffb14a166ec272",
- "startTime": "2025-12-22T10:46:15.528Z",
- "endTime": "2025-12-22T10:46:18.725Z",
- "projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "805dc5dff9e33e32",
- "type": "GENERATION",
- "environment": "default",
- "name": "claude.assistant.turn",
- "level": "DEFAULT",
- "statusMessage": null,
- "version": null,
- "createdAt": "2025-12-22T10:46:20.575Z",
- "updatedAt": "2025-12-22T10:46:20.575Z",
- "input": "{\"content\":\"What's the weather like in Berlin and New York?\",\"role\":\"user\"}",
- "output": "{\"content\":[{\"type\":\"text\",\"text\":\"I'll check the weather in both Berlin and New York for you.\"}],\"role\":\"assistant\"}",
- "model": "claude-sonnet-4-5-20250929",
- "internalModelId": "c5qmrqolku82tra3vgdixmys",
- "modelParameters": {},
- "completionStartTime": null,
- "promptId": null,
- "promptName": null,
- "promptVersion": null,
- "latency": 3.197,
- "timeToFirstToken": null,
- "usageDetails": {
- "input": 19,
- "output": 29,
- "total": 48
- },
- "costDetails": {
- "input": 0.000057,
- "output": 0.000435,
- "total": 0.000492
- },
- "providedCostDetails": {},
- "inputCost": 0.000057,
- "outputCost": 0.000435,
- "totalCost": 0.000492,
- "inputUsage": 19,
- "outputUsage": 29,
- "totalUsage": 48,
- "usagePricingTierId": "c5qmrqolku82tra3vgdixmys_tier_default",
- "usagePricingTierName": "Standard",
- "toolDefinitions": {},
- "toolCalls": [],
- "toolCallNames": [],
- "metadata": "{\"attributes\":{\"gen_ai.operation.name\":\"chat\",\"gen_ai.serialized.name\":\"claude.assistant.turn\",\"langsmith.span.kind\":\"llm\",\"langsmith.trace.name\":\"claude.assistant.turn\",\"langsmith.trace.session_name\":\"default\",\"gen_ai.system\":\"anthropic\",\"gen_ai.request.model\":\"claude-sonnet-4-5-20250929\",\"langsmith.metadata.ls_model_name\":\"claude-sonnet-4-5-20250929\",\"langsmith.metadata.LANGSMITH_OTEL_ENABLED\":\"true\",\"langsmith.metadata.LANGSMITH_OTEL_ONLY\":\"true\",\"langsmith.metadata.LANGSMITH_TRACING\":\"true\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.37.0\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langsmith\",\"attributes\":{}}}",
- "internalModel": "c5qmrqolku82tra3vgdixmys"
- },
{
"id": "f8e8f040dc94e67e",
"traceId": "097f1d8982fa909b8cffb14a166ec272",
@@ -686,6 +580,61 @@
"metadata": "{\"attributes\":{\"gen_ai.operation.name\":\"chain\",\"langsmith.span.kind\":\"chain\",\"langsmith.trace.name\":\"claude.conversation\",\"langsmith.trace.session_name\":\"default\",\"gen_ai.system\":\"langchain\",\"langsmith.metadata.model\":\"claude-sonnet-4-5-20250929\",\"langsmith.metadata.ls_method\":\"trace\",\"langsmith.metadata.num_turns\":\"3\",\"langsmith.metadata.session_id\":\"6fb9b4b8-dd4d-4d41-8d4f-c0c0799a6559\",\"langsmith.metadata.duration_ms\":\"7062\",\"langsmith.metadata.duration_api_ms\":\"14791\",\"langsmith.metadata.is_error\":\"false\",\"langsmith.metadata.LANGSMITH_OTEL_ENABLED\":\"true\",\"langsmith.metadata.LANGSMITH_OTEL_ONLY\":\"true\",\"langsmith.metadata.LANGSMITH_TRACING\":\"true\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.37.0\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langsmith\",\"attributes\":{}}}",
"internalModel": null
},
+ {
+ "id": "2cc13e77781787fd",
+ "traceId": "097f1d8982fa909b8cffb14a166ec272",
+ "startTime": "2025-12-22T10:46:18.725Z",
+ "endTime": "2025-12-22T10:46:18.977Z",
+ "projectId": "cloramnkj0002jz088vzn1ja4",
+ "parentObservationId": "805dc5dff9e33e32",
+ "type": "GENERATION",
+ "environment": "default",
+ "name": "claude.assistant.turn",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": null,
+ "createdAt": "2025-12-22T10:46:20.575Z",
+ "updatedAt": "2025-12-22T10:46:20.576Z",
+ "input": "{\"content\":\"role\"}",
+ "output": "{\"content\":[{\"type\":\"tool_use\",\"id\":\"toolu_01TKoqQLvY2UWuC49qnD48y7\",\"name\":\"mcp__weather__get_weather\",\"input\":{\"city\":\"Berlin\"}}],\"role\":\"assistant\"}",
+ "model": "claude-sonnet-4-5-20250929",
+ "internalModelId": "c5qmrqolku82tra3vgdixmys",
+ "modelParameters": {},
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 0.252,
+ "timeToFirstToken": null,
+ "usageDetails": {
+ "input": 5,
+ "output": 53,
+ "total": 58
+ },
+ "costDetails": {
+ "input": 0.000015,
+ "output": 0.000795,
+ "total": 0.00081
+ },
+ "providedCostDetails": {},
+ "inputCost": 0.000015,
+ "outputCost": 0.000795,
+ "totalCost": 0.00081,
+ "inputUsage": 5,
+ "outputUsage": 53,
+ "totalUsage": 58,
+ "usagePricingTierId": "c5qmrqolku82tra3vgdixmys_tier_default",
+ "usagePricingTierName": "Standard",
+ "toolDefinitions": {},
+ "toolCalls": [
+ "{\"id\":\"toolu_01TKoqQLvY2UWuC49qnD48y7\",\"arguments\":\"{\\\"city\\\":\\\"Berlin\\\"}\",\"type\":\"tool_use\",\"index\":0}"
+ ],
+ "toolCallNames": [
+ "mcp__weather__get_weather"
+ ],
+ "metadata": "{\"attributes\":{\"gen_ai.operation.name\":\"chat\",\"gen_ai.serialized.name\":\"claude.assistant.turn\",\"langsmith.span.kind\":\"llm\",\"langsmith.trace.name\":\"claude.assistant.turn\",\"langsmith.trace.session_name\":\"default\",\"gen_ai.system\":\"anthropic\",\"gen_ai.request.model\":\"claude-sonnet-4-5-20250929\",\"langsmith.metadata.ls_model_name\":\"claude-sonnet-4-5-20250929\",\"langsmith.metadata.LANGSMITH_OTEL_ENABLED\":\"true\",\"langsmith.metadata.LANGSMITH_OTEL_ONLY\":\"true\",\"langsmith.metadata.LANGSMITH_TRACING\":\"true\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.37.0\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langsmith\",\"attributes\":{}}}",
+ "internalModel": "c5qmrqolku82tra3vgdixmys"
+ },
{
"id": "edbd987c5f361fdf",
"traceId": "097f1d8982fa909b8cffb14a166ec272",
@@ -729,6 +678,57 @@
"metadata": "{\"attributes\":{\"langsmith.span.kind\":\"tool\",\"langsmith.trace.name\":\"mcp__weather__get_weather\",\"langsmith.trace.session_name\":\"default\",\"gen_ai.operation.name\":\"execute_tool\",\"gen_ai.system\":\"langchain\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.37.0\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langsmith\",\"attributes\":{}}}",
"internalModel": null
},
+ {
+ "id": "e9aac170e5d48125",
+ "traceId": "097f1d8982fa909b8cffb14a166ec272",
+ "startTime": "2025-12-22T10:46:15.528Z",
+ "endTime": "2025-12-22T10:46:18.725Z",
+ "projectId": "cloramnkj0002jz088vzn1ja4",
+ "parentObservationId": "805dc5dff9e33e32",
+ "type": "GENERATION",
+ "environment": "default",
+ "name": "claude.assistant.turn",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": null,
+ "createdAt": "2025-12-22T10:46:20.575Z",
+ "updatedAt": "2025-12-22T10:46:20.575Z",
+ "input": "{\"content\":\"What's the weather like in Berlin and New York?\",\"role\":\"user\"}",
+ "output": "{\"content\":[{\"type\":\"text\",\"text\":\"I'll check the weather in both Berlin and New York for you.\"}],\"role\":\"assistant\"}",
+ "model": "claude-sonnet-4-5-20250929",
+ "internalModelId": "c5qmrqolku82tra3vgdixmys",
+ "modelParameters": {},
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 3.197,
+ "timeToFirstToken": null,
+ "usageDetails": {
+ "input": 19,
+ "output": 29,
+ "total": 48
+ },
+ "costDetails": {
+ "input": 0.000057,
+ "output": 0.000435,
+ "total": 0.000492
+ },
+ "providedCostDetails": {},
+ "inputCost": 0.000057,
+ "outputCost": 0.000435,
+ "totalCost": 0.000492,
+ "inputUsage": 19,
+ "outputUsage": 29,
+ "totalUsage": 48,
+ "usagePricingTierId": "c5qmrqolku82tra3vgdixmys_tier_default",
+ "usagePricingTierName": "Standard",
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{\"attributes\":{\"gen_ai.operation.name\":\"chat\",\"gen_ai.serialized.name\":\"claude.assistant.turn\",\"langsmith.span.kind\":\"llm\",\"langsmith.trace.name\":\"claude.assistant.turn\",\"langsmith.trace.session_name\":\"default\",\"gen_ai.system\":\"anthropic\",\"gen_ai.request.model\":\"claude-sonnet-4-5-20250929\",\"langsmith.metadata.ls_model_name\":\"claude-sonnet-4-5-20250929\",\"langsmith.metadata.LANGSMITH_OTEL_ENABLED\":\"true\",\"langsmith.metadata.LANGSMITH_OTEL_ONLY\":\"true\",\"langsmith.metadata.LANGSMITH_TRACING\":\"true\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.37.0\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langsmith\",\"attributes\":{}}}",
+ "internalModel": "c5qmrqolku82tra3vgdixmys"
+ },
{
"id": "f411dab686a064b1",
"traceId": "097f1d8982fa909b8cffb14a166ec272",
diff --git a/worker/src/__tests__/chatml/framework-traces/crewai-2025-07-11.trace.json b/worker/src/__tests__/chatml/framework-traces/crewai-2025-07-11.trace.json
index de0cd8790c..6b2570a622 100644
--- a/worker/src/__tests__/chatml/framework-traces/crewai-2025-07-11.trace.json
+++ b/worker/src/__tests__/chatml/framework-traces/crewai-2025-07-11.trace.json
@@ -171,20 +171,20 @@
"metadata": "{}"
},
{
- "id": "120aa490d3449d5a",
+ "id": "839dad620fa92594",
"traceId": "a287bb31e317433610d8827617471140",
- "startTime": "2025-07-11T07:45:13.641Z",
- "endTime": "2025-07-11T07:45:13.641Z",
+ "startTime": "2025-07-11T07:45:13.600Z",
+ "endTime": "2025-07-11T07:45:17.350Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "a8bf77474d6f9a1d",
+ "parentObservationId": null,
"type": "SPAN",
"environment": "default",
- "name": "Task Created",
+ "name": "crewai-index-trace",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-07-11T07:45:15.588Z",
- "updatedAt": "2025-07-11T07:45:15.626Z",
+ "createdAt": "2025-07-11T07:45:17.498Z",
+ "updatedAt": "2025-07-11T07:45:17.631Z",
"input": null,
"output": null,
"model": null,
@@ -194,7 +194,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0,
+ "latency": 3.75,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -213,20 +213,20 @@
"metadata": "{}"
},
{
- "id": "69490dfd171f730b",
+ "id": "a8bf77474d6f9a1d",
"traceId": "a287bb31e317433610d8827617471140",
- "startTime": "2025-07-11T07:45:13.601Z",
- "endTime": "2025-07-11T07:45:13.618Z",
+ "startTime": "2025-07-11T07:45:13.641Z",
+ "endTime": "2025-07-11T07:45:17.341Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
"parentObservationId": "0dd92fffb354f15b",
"type": "SPAN",
"environment": "default",
- "name": "Crew Created",
+ "name": "Task._execute_core",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-07-11T07:45:15.588Z",
- "updatedAt": "2025-07-11T07:45:15.628Z",
+ "createdAt": "2025-07-11T07:45:17.496Z",
+ "updatedAt": "2025-07-11T07:45:17.628Z",
"input": null,
"output": null,
"model": null,
@@ -236,7 +236,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0.017,
+ "latency": 3.7,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -255,20 +255,20 @@
"metadata": "{}"
},
{
- "id": "839dad620fa92594",
+ "id": "69490dfd171f730b",
"traceId": "a287bb31e317433610d8827617471140",
- "startTime": "2025-07-11T07:45:13.600Z",
- "endTime": "2025-07-11T07:45:17.350Z",
+ "startTime": "2025-07-11T07:45:13.601Z",
+ "endTime": "2025-07-11T07:45:13.618Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": null,
+ "parentObservationId": "0dd92fffb354f15b",
"type": "SPAN",
"environment": "default",
- "name": "crewai-index-trace",
+ "name": "Crew Created",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-07-11T07:45:17.498Z",
- "updatedAt": "2025-07-11T07:45:17.631Z",
+ "createdAt": "2025-07-11T07:45:15.588Z",
+ "updatedAt": "2025-07-11T07:45:15.628Z",
"input": null,
"output": null,
"model": null,
@@ -278,7 +278,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 3.75,
+ "latency": 0.017,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -297,20 +297,20 @@
"metadata": "{}"
},
{
- "id": "a8bf77474d6f9a1d",
+ "id": "120aa490d3449d5a",
"traceId": "a287bb31e317433610d8827617471140",
"startTime": "2025-07-11T07:45:13.641Z",
- "endTime": "2025-07-11T07:45:17.341Z",
+ "endTime": "2025-07-11T07:45:13.641Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "0dd92fffb354f15b",
+ "parentObservationId": "a8bf77474d6f9a1d",
"type": "SPAN",
"environment": "default",
- "name": "Task._execute_core",
+ "name": "Task Created",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-07-11T07:45:17.496Z",
- "updatedAt": "2025-07-11T07:45:17.628Z",
+ "createdAt": "2025-07-11T07:45:15.588Z",
+ "updatedAt": "2025-07-11T07:45:15.626Z",
"input": null,
"output": null,
"model": null,
@@ -320,7 +320,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 3.7,
+ "latency": 0,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -444,20 +444,20 @@
"internalModel": null
},
{
- "id": "120aa490d3449d5a",
+ "id": "839dad620fa92594",
"traceId": "a287bb31e317433610d8827617471140",
- "startTime": "2025-07-11T07:45:13.641Z",
- "endTime": "2025-07-11T07:45:13.641Z",
+ "startTime": "2025-07-11T07:45:13.600Z",
+ "endTime": "2025-07-11T07:45:17.350Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "a8bf77474d6f9a1d",
+ "parentObservationId": null,
"type": "SPAN",
"environment": "default",
- "name": "Task Created",
+ "name": "crewai-index-trace",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-07-11T07:45:15.588Z",
- "updatedAt": "2025-07-11T07:45:15.626Z",
+ "createdAt": "2025-07-11T07:45:17.498Z",
+ "updatedAt": "2025-07-11T07:45:17.631Z",
"input": null,
"output": null,
"model": null,
@@ -467,7 +467,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0,
+ "latency": 3.75,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -483,26 +483,26 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"crew_key\":\"4d5b21867b638a1846a38dc4af8e29a4\",\"crew_id\":\"7aaad2cf-aeb4-4cc3-96df-c5d19e6b37a9\",\"task_key\":\"b465f86cdaeb68be07239ef62e75944d\",\"task_id\":\"0431e543-c6ee-485b-bb77-332da9080b89\",\"crew_fingerprint\":\"116ca194-1030-4a66-a0f8-9d2ef559c11f\",\"task_fingerprint\":\"bd1a5793-9b17-48ae-a01f-7c83f97bbda6\",\"task_fingerprint_created_at\":\"2025-07-11T07:45:13.598302\",\"agent_fingerprint\":\"45d86bfb-45aa-4d3c-aa25-0699698ab659\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"crewai.telemetry\",\"attributes\":{}}}",
+ "metadata": "{\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"3.1.3\",\"attributes\":{\"public_key\":\"pk-lf-e2080f6d-1ccd-46a0-b8b2-28db9001017b\"}}}",
"internalModel": null
},
{
- "id": "69490dfd171f730b",
+ "id": "a8bf77474d6f9a1d",
"traceId": "a287bb31e317433610d8827617471140",
- "startTime": "2025-07-11T07:45:13.601Z",
- "endTime": "2025-07-11T07:45:13.618Z",
+ "startTime": "2025-07-11T07:45:13.641Z",
+ "endTime": "2025-07-11T07:45:17.341Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
"parentObservationId": "0dd92fffb354f15b",
"type": "SPAN",
"environment": "default",
- "name": "Crew Created",
+ "name": "Task._execute_core",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-07-11T07:45:15.588Z",
- "updatedAt": "2025-07-11T07:45:15.628Z",
- "input": null,
- "output": null,
+ "createdAt": "2025-07-11T07:45:17.496Z",
+ "updatedAt": "2025-07-11T07:45:17.628Z",
+ "input": "{\"agent\": \"id=UUID('5b92f546-0a74-4cf1-afb1-d2f8adf61036') role='Software developer' goal='Write clear, concise code on demand' backstory='An expert coder with a keen eye for software trends.' config=None cache=True verbose=False max_rpm=None allow_delegation=False tools=[] max_iter=25 agent_executor=<crewai.agents.crew_agent_executor.CrewAgentExecutor object at 0x7885d3b76f90> llm=<crewai.llm.LLM object at 0x7885d9d34e50> crew=Crew(id=7aaad2cf-aeb4-4cc3-96df-c5d19e6b37a9, process=Process.sequential, number_of_agents=1, number_of_tasks=1) i18n=I18N(prompt_file=None) cache_handler=CacheHandler() tools_handler=<crewai.agents.tools_handler.ToolsHandler object at 0x7885d9ed1c50> tools_results=[] max_tokens=None knowledge=None knowledge_sources=None knowledge_storage=None security_config=SecurityConfig(version='1.0.0', fingerprint=Fingerprint(uuid_str='45d86bfb-45aa-4d3c-aa25-0699698ab659', created_at=datetime.datetime(2025, 7, 11, 7, 45, 13, 590411), metadata={})) callbacks=[] adapted_agent=False knowledge_config=None max_execution_time=None agent_ops_agent_name='Software developer' agent_ops_agent_id=None step_callback=None use_system_prompt=True function_calling_llm=None system_template=None prompt_template=None response_template=None allow_code_execution=False respect_context_window=True max_retry_limit=2 multimodal=False inject_date=False date_format='%Y-%m-%d' code_execution_mode='safe' reasoning=False max_reasoning_attempts=None embedder=None agent_knowledge_context=None crew_knowledge_context=None knowledge_search_query=None from_repository=None guardrail=None guardrail_max_retries=3\", \"context\": \"\", \"tools\": []}",
+ "output": "{\"description\": \"Define the HTML for making a simple website with heading- Hello World! Langfuse monitors your CrewAI agent!\", \"name\": null, \"expected_output\": \"A clear and concise HTML code\", \"summary\": \"Define the HTML for making a simple website with heading-...\", \"raw\": \"```html\\n<!DOCTYPE html>\\n<html lang=\\\"en\\\">\\n<head>\\n <meta charset=\\\"UTF-8\\\">\\n <meta name=\\\"viewport\\\" content=\\\"width=device-width, initial-scale=1.0\\\">\\n <title>Hello World</title>\\n <style>\\n body {\\n font-family: Arial, sans-serif;\\n display: flex;\\n justify-content: center;\\n align-items: center;\\n height: 100vh;\\n background-color: #f0f0f0;\\n }\\n h1 {\\n color: #333;\\n }\\n </style>\\n</head>\\n<body>\\n <h1>Hello World! Langfuse monitors your CrewAI agent!</h1>\\n</body>\\n</html>\\n```\", \"pydantic\": null, \"json_dict\": null, \"agent\": \"Software developer\", \"output_format\": \"raw\"}",
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -510,7 +510,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0.017,
+ "latency": 3.7,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -526,24 +526,24 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"crewai_version\":\"0.141.0\",\"python_version\":\"3.11.13\",\"crew_key\":\"4d5b21867b638a1846a38dc4af8e29a4\",\"crew_id\":\"7aaad2cf-aeb4-4cc3-96df-c5d19e6b37a9\",\"crew_process\":\"sequential\",\"crew_memory\":\"false\",\"crew_number_of_tasks\":\"1\",\"crew_number_of_agents\":\"1\",\"crew_fingerprint\":\"116ca194-1030-4a66-a0f8-9d2ef559c11f\",\"crew_fingerprint_created_at\":\"2025-07-11T07:45:13.598518\",\"crew_agents\":\"[{\\\"key\\\": \\\"9ac73818a528f9f1a3f1067bc358e549\\\", \\\"id\\\": \\\"5b92f546-0a74-4cf1-afb1-d2f8adf61036\\\", \\\"role\\\": \\\"Software developer\\\", \\\"verbose?\\\": false, \\\"max_iter\\\": 25, \\\"max_rpm\\\": null, \\\"function_calling_llm\\\": \\\"\\\", \\\"llm\\\": \\\"gpt-4o-mini\\\", \\\"delegation_enabled?\\\": false, \\\"allow_code_execution?\\\": false, \\\"max_retry_limit\\\": 2, \\\"tools_names\\\": []}]\",\"crew_tasks\":\"[{\\\"key\\\": \\\"b465f86cdaeb68be07239ef62e75944d\\\", \\\"id\\\": \\\"0431e543-c6ee-485b-bb77-332da9080b89\\\", \\\"async_execution?\\\": false, \\\"human_input?\\\": false, \\\"agent_role\\\": \\\"Software developer\\\", \\\"agent_key\\\": \\\"9ac73818a528f9f1a3f1067bc358e549\\\", \\\"tools_names\\\": []}]\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"crewai.telemetry\",\"attributes\":{}}}",
+ "metadata": "{\"attributes\":{\"input.value\":\"{\\\"agent\\\": \\\"id=UUID('5b92f546-0a74-4cf1-afb1-d2f8adf61036') role='Software developer' goal='Write clear, concise code on demand' backstory='An expert coder with a keen eye for software trends.' config=None cache=True verbose=False max_rpm=None allow_delegation=False tools=[] max_iter=25 agent_executor=<crewai.agents.crew_agent_executor.CrewAgentExecutor object at 0x7885d3b76f90> llm=<crewai.llm.LLM object at 0x7885d9d34e50> crew=Crew(id=7aaad2cf-aeb4-4cc3-96df-c5d19e6b37a9, process=Process.sequential, number_of_agents=1, number_of_tasks=1) i18n=I18N(prompt_file=None) cache_handler=CacheHandler() tools_handler=<crewai.agents.tools_handler.ToolsHandler object at 0x7885d9ed1c50> tools_results=[] max_tokens=None knowledge=None knowledge_sources=None knowledge_storage=None security_config=SecurityConfig(version='1.0.0', fingerprint=Fingerprint(uuid_str='45d86bfb-45aa-4d3c-aa25-0699698ab659', created_at=datetime.datetime(2025, 7, 11, 7, 45, 13, 590411), metadata={})) callbacks=[] adapted_agent=False knowledge_config=None max_execution_time=None agent_ops_agent_name='Software developer' agent_ops_agent_id=None step_callback=None use_system_prompt=True function_calling_llm=None system_template=None prompt_template=None response_template=None allow_code_execution=False respect_context_window=True max_retry_limit=2 multimodal=False inject_date=False date_format='%Y-%m-%d' code_execution_mode='safe' reasoning=False max_reasoning_attempts=None embedder=None agent_knowledge_context=None crew_knowledge_context=None knowledge_search_query=None from_repository=None guardrail=None guardrail_max_retries=3\\\", \\\"context\\\": \\\"\\\", \\\"tools\\\": []}\",\"crew_key\":\"4d5b21867b638a1846a38dc4af8e29a4\",\"crew_id\":\"7aaad2cf-aeb4-4cc3-96df-c5d19e6b37a9\",\"task_key\":\"b465f86cdaeb68be07239ef62e75944d\",\"task_id\":\"0431e543-c6ee-485b-bb77-332da9080b89\",\"output.value\":\"{\\\"description\\\": \\\"Define the HTML for making a simple website with heading- Hello World! Langfuse monitors your CrewAI agent!\\\", \\\"name\\\": null, \\\"expected_output\\\": \\\"A clear and concise HTML code\\\", \\\"summary\\\": \\\"Define the HTML for making a simple website with heading-...\\\", \\\"raw\\\": \\\"```html\\\\n<!DOCTYPE html>\\\\n<html lang=\\\\\\\"en\\\\\\\">\\\\n<head>\\\\n <meta charset=\\\\\\\"UTF-8\\\\\\\">\\\\n <meta name=\\\\\\\"viewport\\\\\\\" content=\\\\\\\"width=device-width, initial-scale=1.0\\\\\\\">\\\\n <title>Hello World</title>\\\\n <style>\\\\n body {\\\\n font-family: Arial, sans-serif;\\\\n display: flex;\\\\n justify-content: center;\\\\n align-items: center;\\\\n height: 100vh;\\\\n background-color: #f0f0f0;\\\\n }\\\\n h1 {\\\\n color: #333;\\\\n }\\\\n </style>\\\\n</head>\\\\n<body>\\\\n <h1>Hello World! Langfuse monitors your CrewAI agent!</h1>\\\\n</body>\\\\n</html>\\\\n```\\\", \\\"pydantic\\\": null, \\\"json_dict\\\": null, \\\"agent\\\": \\\"Software developer\\\", \\\"output_format\\\": \\\"raw\\\"}\",\"output.mime_type\":\"application/json\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.crewai\",\"version\":\"0.1.10\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "839dad620fa92594",
+ "id": "69490dfd171f730b",
"traceId": "a287bb31e317433610d8827617471140",
- "startTime": "2025-07-11T07:45:13.600Z",
- "endTime": "2025-07-11T07:45:17.350Z",
+ "startTime": "2025-07-11T07:45:13.601Z",
+ "endTime": "2025-07-11T07:45:13.618Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": null,
+ "parentObservationId": "0dd92fffb354f15b",
"type": "SPAN",
"environment": "default",
- "name": "crewai-index-trace",
+ "name": "Crew Created",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-07-11T07:45:17.498Z",
- "updatedAt": "2025-07-11T07:45:17.631Z",
+ "createdAt": "2025-07-11T07:45:15.588Z",
+ "updatedAt": "2025-07-11T07:45:15.628Z",
"input": null,
"output": null,
"model": null,
@@ -553,7 +553,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 3.75,
+ "latency": 0.017,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -569,26 +569,26 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"3.1.3\",\"attributes\":{\"public_key\":\"pk-lf-e2080f6d-1ccd-46a0-b8b2-28db9001017b\"}}}",
+ "metadata": "{\"attributes\":{\"crewai_version\":\"0.141.0\",\"python_version\":\"3.11.13\",\"crew_key\":\"4d5b21867b638a1846a38dc4af8e29a4\",\"crew_id\":\"7aaad2cf-aeb4-4cc3-96df-c5d19e6b37a9\",\"crew_process\":\"sequential\",\"crew_memory\":\"false\",\"crew_number_of_tasks\":\"1\",\"crew_number_of_agents\":\"1\",\"crew_fingerprint\":\"116ca194-1030-4a66-a0f8-9d2ef559c11f\",\"crew_fingerprint_created_at\":\"2025-07-11T07:45:13.598518\",\"crew_agents\":\"[{\\\"key\\\": \\\"9ac73818a528f9f1a3f1067bc358e549\\\", \\\"id\\\": \\\"5b92f546-0a74-4cf1-afb1-d2f8adf61036\\\", \\\"role\\\": \\\"Software developer\\\", \\\"verbose?\\\": false, \\\"max_iter\\\": 25, \\\"max_rpm\\\": null, \\\"function_calling_llm\\\": \\\"\\\", \\\"llm\\\": \\\"gpt-4o-mini\\\", \\\"delegation_enabled?\\\": false, \\\"allow_code_execution?\\\": false, \\\"max_retry_limit\\\": 2, \\\"tools_names\\\": []}]\",\"crew_tasks\":\"[{\\\"key\\\": \\\"b465f86cdaeb68be07239ef62e75944d\\\", \\\"id\\\": \\\"0431e543-c6ee-485b-bb77-332da9080b89\\\", \\\"async_execution?\\\": false, \\\"human_input?\\\": false, \\\"agent_role\\\": \\\"Software developer\\\", \\\"agent_key\\\": \\\"9ac73818a528f9f1a3f1067bc358e549\\\", \\\"tools_names\\\": []}]\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"crewai.telemetry\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "a8bf77474d6f9a1d",
+ "id": "120aa490d3449d5a",
"traceId": "a287bb31e317433610d8827617471140",
"startTime": "2025-07-11T07:45:13.641Z",
- "endTime": "2025-07-11T07:45:17.341Z",
+ "endTime": "2025-07-11T07:45:13.641Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "0dd92fffb354f15b",
+ "parentObservationId": "a8bf77474d6f9a1d",
"type": "SPAN",
"environment": "default",
- "name": "Task._execute_core",
+ "name": "Task Created",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-07-11T07:45:17.496Z",
- "updatedAt": "2025-07-11T07:45:17.628Z",
- "input": "{\"agent\": \"id=UUID('5b92f546-0a74-4cf1-afb1-d2f8adf61036') role='Software developer' goal='Write clear, concise code on demand' backstory='An expert coder with a keen eye for software trends.' config=None cache=True verbose=False max_rpm=None allow_delegation=False tools=[] max_iter=25 agent_executor=<crewai.agents.crew_agent_executor.CrewAgentExecutor object at 0x7885d3b76f90> llm=<crewai.llm.LLM object at 0x7885d9d34e50> crew=Crew(id=7aaad2cf-aeb4-4cc3-96df-c5d19e6b37a9, process=Process.sequential, number_of_agents=1, number_of_tasks=1) i18n=I18N(prompt_file=None) cache_handler=CacheHandler() tools_handler=<crewai.agents.tools_handler.ToolsHandler object at 0x7885d9ed1c50> tools_results=[] max_tokens=None knowledge=None knowledge_sources=None knowledge_storage=None security_config=SecurityConfig(version='1.0.0', fingerprint=Fingerprint(uuid_str='45d86bfb-45aa-4d3c-aa25-0699698ab659', created_at=datetime.datetime(2025, 7, 11, 7, 45, 13, 590411), metadata={})) callbacks=[] adapted_agent=False knowledge_config=None max_execution_time=None agent_ops_agent_name='Software developer' agent_ops_agent_id=None step_callback=None use_system_prompt=True function_calling_llm=None system_template=None prompt_template=None response_template=None allow_code_execution=False respect_context_window=True max_retry_limit=2 multimodal=False inject_date=False date_format='%Y-%m-%d' code_execution_mode='safe' reasoning=False max_reasoning_attempts=None embedder=None agent_knowledge_context=None crew_knowledge_context=None knowledge_search_query=None from_repository=None guardrail=None guardrail_max_retries=3\", \"context\": \"\", \"tools\": []}",
- "output": "{\"description\": \"Define the HTML for making a simple website with heading- Hello World! Langfuse monitors your CrewAI agent!\", \"name\": null, \"expected_output\": \"A clear and concise HTML code\", \"summary\": \"Define the HTML for making a simple website with heading-...\", \"raw\": \"```html\\n<!DOCTYPE html>\\n<html lang=\\\"en\\\">\\n<head>\\n <meta charset=\\\"UTF-8\\\">\\n <meta name=\\\"viewport\\\" content=\\\"width=device-width, initial-scale=1.0\\\">\\n <title>Hello World</title>\\n <style>\\n body {\\n font-family: Arial, sans-serif;\\n display: flex;\\n justify-content: center;\\n align-items: center;\\n height: 100vh;\\n background-color: #f0f0f0;\\n }\\n h1 {\\n color: #333;\\n }\\n </style>\\n</head>\\n<body>\\n <h1>Hello World! Langfuse monitors your CrewAI agent!</h1>\\n</body>\\n</html>\\n```\", \"pydantic\": null, \"json_dict\": null, \"agent\": \"Software developer\", \"output_format\": \"raw\"}",
+ "createdAt": "2025-07-11T07:45:15.588Z",
+ "updatedAt": "2025-07-11T07:45:15.626Z",
+ "input": null,
+ "output": null,
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -596,7 +596,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 3.7,
+ "latency": 0,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -612,7 +612,7 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"input.value\":\"{\\\"agent\\\": \\\"id=UUID('5b92f546-0a74-4cf1-afb1-d2f8adf61036') role='Software developer' goal='Write clear, concise code on demand' backstory='An expert coder with a keen eye for software trends.' config=None cache=True verbose=False max_rpm=None allow_delegation=False tools=[] max_iter=25 agent_executor=<crewai.agents.crew_agent_executor.CrewAgentExecutor object at 0x7885d3b76f90> llm=<crewai.llm.LLM object at 0x7885d9d34e50> crew=Crew(id=7aaad2cf-aeb4-4cc3-96df-c5d19e6b37a9, process=Process.sequential, number_of_agents=1, number_of_tasks=1) i18n=I18N(prompt_file=None) cache_handler=CacheHandler() tools_handler=<crewai.agents.tools_handler.ToolsHandler object at 0x7885d9ed1c50> tools_results=[] max_tokens=None knowledge=None knowledge_sources=None knowledge_storage=None security_config=SecurityConfig(version='1.0.0', fingerprint=Fingerprint(uuid_str='45d86bfb-45aa-4d3c-aa25-0699698ab659', created_at=datetime.datetime(2025, 7, 11, 7, 45, 13, 590411), metadata={})) callbacks=[] adapted_agent=False knowledge_config=None max_execution_time=None agent_ops_agent_name='Software developer' agent_ops_agent_id=None step_callback=None use_system_prompt=True function_calling_llm=None system_template=None prompt_template=None response_template=None allow_code_execution=False respect_context_window=True max_retry_limit=2 multimodal=False inject_date=False date_format='%Y-%m-%d' code_execution_mode='safe' reasoning=False max_reasoning_attempts=None embedder=None agent_knowledge_context=None crew_knowledge_context=None knowledge_search_query=None from_repository=None guardrail=None guardrail_max_retries=3\\\", \\\"context\\\": \\\"\\\", \\\"tools\\\": []}\",\"crew_key\":\"4d5b21867b638a1846a38dc4af8e29a4\",\"crew_id\":\"7aaad2cf-aeb4-4cc3-96df-c5d19e6b37a9\",\"task_key\":\"b465f86cdaeb68be07239ef62e75944d\",\"task_id\":\"0431e543-c6ee-485b-bb77-332da9080b89\",\"output.value\":\"{\\\"description\\\": \\\"Define the HTML for making a simple website with heading- Hello World! Langfuse monitors your CrewAI agent!\\\", \\\"name\\\": null, \\\"expected_output\\\": \\\"A clear and concise HTML code\\\", \\\"summary\\\": \\\"Define the HTML for making a simple website with heading-...\\\", \\\"raw\\\": \\\"```html\\\\n<!DOCTYPE html>\\\\n<html lang=\\\\\\\"en\\\\\\\">\\\\n<head>\\\\n <meta charset=\\\\\\\"UTF-8\\\\\\\">\\\\n <meta name=\\\\\\\"viewport\\\\\\\" content=\\\\\\\"width=device-width, initial-scale=1.0\\\\\\\">\\\\n <title>Hello World</title>\\\\n <style>\\\\n body {\\\\n font-family: Arial, sans-serif;\\\\n display: flex;\\\\n justify-content: center;\\\\n align-items: center;\\\\n height: 100vh;\\\\n background-color: #f0f0f0;\\\\n }\\\\n h1 {\\\\n color: #333;\\\\n }\\\\n </style>\\\\n</head>\\\\n<body>\\\\n <h1>Hello World! Langfuse monitors your CrewAI agent!</h1>\\\\n</body>\\\\n</html>\\\\n```\\\", \\\"pydantic\\\": null, \\\"json_dict\\\": null, \\\"agent\\\": \\\"Software developer\\\", \\\"output_format\\\": \\\"raw\\\"}\",\"output.mime_type\":\"application/json\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.crewai\",\"version\":\"0.1.10\",\"attributes\":{}}}",
+ "metadata": "{\"attributes\":{\"crew_key\":\"4d5b21867b638a1846a38dc4af8e29a4\",\"crew_id\":\"7aaad2cf-aeb4-4cc3-96df-c5d19e6b37a9\",\"task_key\":\"b465f86cdaeb68be07239ef62e75944d\",\"task_id\":\"0431e543-c6ee-485b-bb77-332da9080b89\",\"crew_fingerprint\":\"116ca194-1030-4a66-a0f8-9d2ef559c11f\",\"task_fingerprint\":\"bd1a5793-9b17-48ae-a01f-7c83f97bbda6\",\"task_fingerprint_created_at\":\"2025-07-11T07:45:13.598302\",\"agent_fingerprint\":\"45d86bfb-45aa-4d3c-aa25-0699698ab659\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.34.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"crewai.telemetry\",\"attributes\":{}}}",
"internalModel": null
}
]
diff --git a/worker/src/__tests__/chatml/framework-traces/csharp-agent-with-gemini-2026-03-09.chatml.json b/worker/src/__tests__/chatml/framework-traces/csharp-agent-with-gemini-2026-03-09.chatml.json
new file mode 100644
index 0000000000..042a789728
--- /dev/null
+++ b/worker/src/__tests__/chatml/framework-traces/csharp-agent-with-gemini-2026-03-09.chatml.json
@@ -0,0 +1,190 @@
+{
+ "50d470aa18418652": {
+ "input": {
+ "success": true,
+ "data": [
+ {
+ "role": "user",
+ "content": "What are my month over month performance insights the past quarter, by cost, displays, clicks, CTR, sales, CVR? Please split by campaign taxonomy"
+ },
+ {
+ "role": "assistant",
+ "tool_calls": [
+ {
+ "id": "get_custom_report",
+ "name": "get_custom_report",
+ "arguments": "{\"dimensions\":[\"Campaign\"],\"filters\":{\"dateRange\":{\"from_date\":\"2025-10-01\",\"to_date\":\"2025-12-31\"}},\"timeDimension\":\"Month\",\"metrics\":[\"Cost\",\"Displays\",\"Clicks\",\"Ctr\",\"Sales\",\"Cvr\"]}",
+ "type": "function"
+ }
+ ]
+ },
+ {
+ "role": "tool",
+ "content": "{\"response_status\":\"Error\",\"message\":\"ERROR: No data found for dimensions: Campaign and metrics Cost,Displays,Clicks,Ctr,Sales,Cvr.\"}",
+ "tool_call_id": "get_custom_report"
+ }
+ ]
+ },
+ "output": {
+ "success": true,
+ "data": [
+ {
+ "role": "assistant",
+ "content": "I couldn't retrieve the month-over-month performance insights for the past quarter (October 2025 to December 2025) by campaign for the requested metrics (Cost, Displays, Clicks, CTR, Sales, CVR) as no data was found for this period.\n\n### Parameters\n- Data was requested from 2025-10-01 to 2025-12-31 with time zone Europe/London.\n- Attribution model chosen is 30-Day Post Click\n- Currency: EUR\n- Time dimension: Month\n- Dimensions: Campaign\n- Metrics: Cost, Displays, Clicks, CTR, Sales, CVR\n\nPlease let me know if you'd like to try a different date range or different metrics.",
+ "json": {
+ "finish_reason": "stop"
+ }
+ }
+ ]
+ }
+ },
+ "c651c1dac855f97e": {
+ "input": {
+ "success": true,
+ "data": [
+ {
+ "role": "user",
+ "content": "What are my month over month performance insights the past quarter, by cost, displays, clicks, CTR, sales, CVR? Please split by campaign taxonomy"
+ }
+ ]
+ },
+ "output": {
+ "success": true,
+ "data": [
+ {
+ "role": "assistant",
+ "tool_calls": [
+ {
+ "id": "get_custom_report",
+ "name": "get_custom_report",
+ "arguments": "{\"dimensions\":[\"Campaign\"],\"filters\":{\"dateRange\":{\"from_date\":\"2025-10-01\",\"to_date\":\"2025-12-31\"}},\"timeDimension\":\"Month\",\"metrics\":[\"Cost\",\"Displays\",\"Clicks\",\"Ctr\",\"Sales\",\"Cvr\"]}",
+ "type": "function"
+ }
+ ],
+ "json": {
+ "finish_reason": "stop"
+ }
+ }
+ ]
+ }
+ },
+ "cb394d8e10fdda0f": {
+ "input": {
+ "success": true,
+ "data": [
+ {
+ "role": "user",
+ "content": "What are my month over month performance insights the past quarter, by cost, displays, clicks, CTR, sales, CVR? Please split by campaign taxonomy"
+ },
+ {
+ "role": "assistant",
+ "tool_calls": [
+ {
+ "id": "get_custom_report",
+ "name": "get_custom_report",
+ "arguments": "{\"dimensions\":[\"Campaign\"],\"filters\":{\"dateRange\":{\"from_date\":\"2025-10-01\",\"to_date\":\"2025-12-31\"}},\"timeDimension\":\"Month\",\"metrics\":[\"Cost\",\"Displays\",\"Clicks\",\"Ctr\",\"Sales\",\"Cvr\"]}",
+ "type": "function"
+ }
+ ]
+ },
+ {
+ "role": "tool",
+ "content": "{\"response_status\":\"Error\",\"message\":\"ERROR: No data found for dimensions: Campaign and metrics Cost,Displays,Clicks,Ctr,Sales,Cvr.\"}",
+ "tool_call_id": "get_custom_report"
+ },
+ {
+ "role": "assistant",
+ "content": "I couldn't retrieve the month-over-month performance insights for the past quarter (October 2025 to December 2025) by campaign for the requested metrics (Cost, Displays, Clicks, CTR, Sales, CVR) as no data was found for this period.\n\n### Parameters\n- Data was requested from 2025-10-01 to 2025-12-31 with time zone Europe/London.\n- Attribution model chosen is 30-Day Post Click\n- Currency: EUR\n- Time dimension: Month\n- Dimensions: Campaign\n- Metrics: Cost, Displays, Clicks, CTR, Sales, CVR\n\nPlease let me know if you'd like to try a different date range or different metrics."
+ }
+ ]
+ },
+ "output": {
+ "success": true,
+ "data": [
+ {
+ "role": "assistant",
+ "tool_calls": [
+ {
+ "id": "final_result",
+ "name": "final_result",
+ "arguments": "{\"input\":{\"comment\":\"I couldn't retrieve the month-over-month performance insights for the past quarter (October 2025 to December 2025) by campaign for the requested metrics (Cost, Displays, Clicks, CTR, Sales, CVR) as no data was found for this period.\\n\\n### Parameters\\n- Data was requested from 2025-10-01 to 2025-12-31 with time zone Europe/London.\\n- Attribution model chosen is 30-Day Post Click\\n- Currency: EUR\\n- Time dimension: Month\\n- Dimensions: Campaign\\n- Metrics: Cost, Displays, Clicks, CTR, Sales, CVR\\n\\nPlease let me know if you'd like to try a different date range or different metrics.\",\"response_status\":\"NoDataFound\",\"follow_up_questions\":[\"Change date range to last month.\",\"Compare CTR across campaigns.\",\"Break down by country.\"]}}",
+ "type": "function"
+ }
+ ],
+ "json": {
+ "finish_reason": "stop"
+ }
+ }
+ ]
+ }
+ },
+ "5b9ba1e61e2e10fc": {
+ "input": {
+ "success": false,
+ "error": {
+ "name": "ZodError",
+ "message": "[\n {\n \"expected\": \"array\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected array, received string\"\n }\n]"
+ }
+ },
+ "output": {
+ "success": true,
+ "data": [
+ {
+ "json": {
+ "response": {
+ "comment": "I couldn't retrieve the month-over-month performance insights for the past quarter (October 2025 to December 2025) by campaign for the requested metrics (Cost, Displays, Clicks, CTR, Sales, CVR) as no data was found for this period.\n\n### Parameters\n- Data was requested from 2025-10-01 to 2025-12-31 with time zone Europe/London.\n- Attribution model chosen is 30-Day Post Click\n- Currency: EUR\n- Time dimension: Month\n- Dimensions: Campaign\n- Metrics: Cost, Displays, Clicks, CTR, Sales, CVR\n\nPlease let me know if you'd like to try a different date range or different metrics.",
+ "response": [],
+ "response_status": "noDataFound",
+ "followup_questions": [
+ "Change date range to last month.",
+ "Compare CTR across campaigns.",
+ "Break down by country."
+ ],
+ "response_context": null
+ },
+ "client_id": 22291,
+ "session_id": "9714061f-20c0-4d98-9220-1dc7df15c3c2",
+ "trace_id": "933dba1e9783f89d5d8bb032f041a2de",
+ "tool_inputs": null
+ }
+ }
+ ]
+ }
+ },
+ "390601577d7e35c2": {
+ "input": {
+ "success": false,
+ "error": {
+ "name": "ZodError",
+ "message": "[\n {\n \"expected\": \"array\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected array, received object\"\n }\n]"
+ }
+ },
+ "output": {
+ "success": false,
+ "error": {
+ "name": "ZodError",
+ "message": "[\n {\n \"expected\": \"object\",\n \"code\": \"invalid_type\",\n \"path\": [\n 0\n ],\n \"message\": \"Invalid input: expected object, received null\"\n }\n]"
+ }
+ }
+ },
+ "5977f5594f537b9e": {
+ "input": {
+ "success": false,
+ "error": {
+ "name": "ZodError",
+ "message": "[\n {\n \"expected\": \"array\",\n \"code\": \"invalid_type\",\n \"path\": [],\n \"message\": \"Invalid input: expected array, received object\"\n }\n]"
+ }
+ },
+ "output": {
+ "success": true,
+ "data": [
+ {
+ "json": {
+ "response_status": "Error",
+ "message": "ERROR: No data found for dimensions: Campaign and metrics Cost,Displays,Clicks,Ctr,Sales,Cvr."
+ }
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/worker/src/__tests__/chatml/framework-traces/csharp-agent-with-gemini-2026-03-09.trace.json b/worker/src/__tests__/chatml/framework-traces/csharp-agent-with-gemini-2026-03-09.trace.json
new file mode 100644
index 0000000000..a8882eedb7
--- /dev/null
+++ b/worker/src/__tests__/chatml/framework-traces/csharp-agent-with-gemini-2026-03-09.trace.json
@@ -0,0 +1,774 @@
+{
+ "trace": {
+ "id": "933dba1e9783f89d5d8bb032f041a2de",
+ "projectId": "cml84ntcb01hgad07c302ud72",
+ "name": "Insights Agent C#",
+ "timestamp": "2026-03-09T12:25:54.654Z",
+ "environment": "preprod",
+ "tags": [],
+ "bookmarked": false,
+ "release": null,
+ "version": "105537",
+ "userId": "g.aprozeanu",
+ "sessionId": "9714061f-20c0-4d98-9220-1dc7df15c3c2",
+ "public": true,
+ "input": "\"What are my month over month performance insights the past quarter, by cost, displays, clicks, CTR, sales, CVR? Please split by campaign taxonomy\"",
+ "output": "\"{\\\"response\\\":{\\\"comment\\\":\\\"I couldn't retrieve the month-over-month performance insights for the past quarter (October 2025 to December 2025) by campaign for the requested metrics (Cost, Displays, Clicks, CTR, Sales, CVR) as no data was found for this period.\\\\n\\\\n### Parameters\\\\n- Data was requested from 2025-10-01 to 2025-12-31 with time zone Europe/London.\\\\n- Attribution model chosen is 30-Day Post Click\\\\n- Currency: EUR\\\\n- Time dimension: Month\\\\n- Dimensions: Campaign\\\\n- Metrics: Cost, Displays, Clicks, CTR, Sales, CVR\\\\n\\\\nPlease let me know if you'd like to try a different date range or different metrics.\\\",\\\"response\\\":[],\\\"response_status\\\":\\\"noDataFound\\\",\\\"followup_questions\\\":[\\\"Change date range to last month.\\\",\\\"Compare CTR across campaigns.\\\",\\\"Break down by country.\\\"],\\\"response_context\\\":null},\\\"client_id\\\":22291,\\\"session_id\\\":\\\"9714061f-20c0-4d98-9220-1dc7df15c3c2\\\",\\\"trace_id\\\":\\\"933dba1e9783f89d5d8bb032f041a2de\\\",\\\"tool_inputs\\\":null}\"",
+ "createdAt": "2026-03-09T12:26:03.000Z",
+ "updatedAt": "2026-03-09T12:26:13.209Z",
+ "metadata": "{\"resourceAttributes\":{\"deployment.environment.name\":\"preprod\",\"service.name\":\"agentic-clientinsights\",\"service.version\":\"105537\",\"service.instance.id\":\"10NDX\"},\"scope\":{\"name\":\"Criteo.Langfuse\",\"version\":\"\",\"attributes\":{}}}",
+ "scores": [],
+ "corrections": [],
+ "latency": 14.851,
+ "observations": [
+ {
+ "id": "50d470aa18418652",
+ "traceId": "933dba1e9783f89d5d8bb032f041a2de",
+ "startTime": "2026-03-09T12:26:03.164Z",
+ "endTime": "2026-03-09T12:26:06.562Z",
+ "projectId": "cml84ntcb01hgad07c302ud72",
+ "parentObservationId": "f858b986537e9e41",
+ "type": "GENERATION",
+ "environment": "preprod",
+ "name": "chat gemini-2.5-flash",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": "105537",
+ "createdAt": "2026-03-09T12:26:07.964Z",
+ "updatedAt": "2026-03-09T12:26:07.964Z",
+ "input": null,
+ "output": null,
+ "model": "gemini-2.5-flash",
+ "internalModelId": "cmcnjkfwn000107l43bf5e8ax",
+ "modelParameters": {
+ "seed": 42,
+ "temperature": 0
+ },
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 3.398,
+ "timeToFirstToken": null,
+ "usageDetails": {
+ "input": 3004,
+ "output": 167,
+ "total": 3171
+ },
+ "costDetails": {
+ "input": 0.0009012,
+ "output": 0.0004175,
+ "total": 0.0013187
+ },
+ "providedCostDetails": {},
+ "inputCost": 0.0009012,
+ "outputCost": 0.0004175,
+ "totalCost": 0.0013187,
+ "inputUsage": 3004,
+ "outputUsage": 167,
+ "totalUsage": 3171,
+ "usagePricingTierId": "cmcnjkfwn000107l43bf5e8ax_tier_default",
+ "usagePricingTierName": "Standard",
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{}"
+ },
+ {
+ "id": "c651c1dac855f97e",
+ "traceId": "933dba1e9783f89d5d8bb032f041a2de",
+ "startTime": "2026-03-09T12:25:54.654Z",
+ "endTime": "2026-03-09T12:26:00.805Z",
+ "projectId": "cml84ntcb01hgad07c302ud72",
+ "parentObservationId": "f858b986537e9e41",
+ "type": "GENERATION",
+ "environment": "preprod",
+ "name": "chat gemini-2.5-flash",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": "105537",
+ "createdAt": "2026-03-09T12:26:02.752Z",
+ "updatedAt": "2026-03-09T12:26:02.752Z",
+ "input": null,
+ "output": null,
+ "model": "gemini-2.5-flash",
+ "internalModelId": "cmcnjkfwn000107l43bf5e8ax",
+ "modelParameters": {
+ "seed": 42,
+ "temperature": 0
+ },
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 6.151,
+ "timeToFirstToken": null,
+ "usageDetails": {
+ "input": 2546,
+ "output": 47,
+ "total": 2593
+ },
+ "costDetails": {
+ "input": 0.0007638,
+ "output": 0.0001175,
+ "total": 0.0008813
+ },
+ "providedCostDetails": {},
+ "inputCost": 0.0007638,
+ "outputCost": 0.0001175,
+ "totalCost": 0.0008813,
+ "inputUsage": 2546,
+ "outputUsage": 47,
+ "totalUsage": 2593,
+ "usagePricingTierId": "cmcnjkfwn000107l43bf5e8ax_tier_default",
+ "usagePricingTierName": "Standard",
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{}"
+ },
+ {
+ "id": "cb394d8e10fdda0f",
+ "traceId": "933dba1e9783f89d5d8bb032f041a2de",
+ "startTime": "2026-03-09T12:26:06.562Z",
+ "endTime": "2026-03-09T12:26:09.484Z",
+ "projectId": "cml84ntcb01hgad07c302ud72",
+ "parentObservationId": "8b9b68803d88be77",
+ "type": "GENERATION",
+ "environment": "preprod",
+ "name": "chat gemini-2.5-flash",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": "105537",
+ "createdAt": "2026-03-09T12:26:13.119Z",
+ "updatedAt": "2026-03-09T12:26:13.119Z",
+ "input": null,
+ "output": null,
+ "model": "gemini-2.5-flash",
+ "internalModelId": "cmcnjkfwn000107l43bf5e8ax",
+ "modelParameters": {
+ "seed": 42,
+ "temperature": 0
+ },
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 2.922,
+ "timeToFirstToken": null,
+ "usageDetails": {
+ "input": 2497,
+ "output": 200,
+ "total": 2697
+ },
+ "costDetails": {
+ "input": 0.0007491,
+ "output": 0.0005,
+ "total": 0.0012491
+ },
+ "providedCostDetails": {},
+ "inputCost": 0.0007491,
+ "outputCost": 0.0005,
+ "totalCost": 0.0012491,
+ "inputUsage": 2497,
+ "outputUsage": 200,
+ "totalUsage": 2697,
+ "usagePricingTierId": "cmcnjkfwn000107l43bf5e8ax_tier_default",
+ "usagePricingTierName": "Standard",
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{}"
+ },
+ {
+ "id": "5b9ba1e61e2e10fc",
+ "traceId": "933dba1e9783f89d5d8bb032f041a2de",
+ "startTime": "2026-03-09T12:25:54.654Z",
+ "endTime": "2026-03-09T12:26:09.505Z",
+ "projectId": "cml84ntcb01hgad07c302ud72",
+ "parentObservationId": "1db8118c6ecfd744",
+ "type": "SPAN",
+ "environment": "preprod",
+ "name": "Insights Agent C#",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": "105537",
+ "createdAt": "2026-03-09T12:26:13.119Z",
+ "updatedAt": "2026-03-09T12:26:13.120Z",
+ "input": null,
+ "output": null,
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": null,
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 14.851,
+ "timeToFirstToken": null,
+ "usageDetails": {},
+ "costDetails": {},
+ "providedCostDetails": {},
+ "inputCost": null,
+ "outputCost": null,
+ "totalCost": 0,
+ "inputUsage": 0,
+ "outputUsage": 0,
+ "totalUsage": 0,
+ "usagePricingTierId": null,
+ "usagePricingTierName": null,
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{}"
+ },
+ {
+ "id": "8b9b68803d88be77",
+ "traceId": "933dba1e9783f89d5d8bb032f041a2de",
+ "startTime": "2026-03-09T12:26:06.562Z",
+ "endTime": "2026-03-09T12:26:09.484Z",
+ "projectId": "cml84ntcb01hgad07c302ud72",
+ "parentObservationId": "5b9ba1e61e2e10fc",
+ "type": "SPAN",
+ "environment": "preprod",
+ "name": "orchestrate_tools",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": "105537",
+ "createdAt": "2026-03-09T12:26:13.119Z",
+ "updatedAt": "2026-03-09T12:26:13.120Z",
+ "input": null,
+ "output": null,
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": null,
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 2.922,
+ "timeToFirstToken": null,
+ "usageDetails": {},
+ "costDetails": {},
+ "providedCostDetails": {},
+ "inputCost": null,
+ "outputCost": null,
+ "totalCost": 0,
+ "inputUsage": 0,
+ "outputUsage": 0,
+ "totalUsage": 0,
+ "usagePricingTierId": null,
+ "usagePricingTierName": null,
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{}"
+ },
+ {
+ "id": "f858b986537e9e41",
+ "traceId": "933dba1e9783f89d5d8bb032f041a2de",
+ "startTime": "2026-03-09T12:25:54.654Z",
+ "endTime": "2026-03-09T12:26:06.562Z",
+ "projectId": "cml84ntcb01hgad07c302ud72",
+ "parentObservationId": "5b9ba1e61e2e10fc",
+ "type": "SPAN",
+ "environment": "preprod",
+ "name": "orchestrate_tools",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": "105537",
+ "createdAt": "2026-03-09T12:26:07.964Z",
+ "updatedAt": "2026-03-09T12:26:07.965Z",
+ "input": null,
+ "output": null,
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": null,
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 11.908,
+ "timeToFirstToken": null,
+ "usageDetails": {},
+ "costDetails": {},
+ "providedCostDetails": {},
+ "inputCost": null,
+ "outputCost": null,
+ "totalCost": 0,
+ "inputUsage": 0,
+ "outputUsage": 0,
+ "totalUsage": 0,
+ "usagePricingTierId": null,
+ "usagePricingTierName": null,
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{}"
+ },
+ {
+ "id": "390601577d7e35c2",
+ "traceId": "933dba1e9783f89d5d8bb032f041a2de",
+ "startTime": "2026-03-09T12:26:09.484Z",
+ "endTime": "2026-03-09T12:26:09.484Z",
+ "projectId": "cml84ntcb01hgad07c302ud72",
+ "parentObservationId": "8b9b68803d88be77",
+ "type": "TOOL",
+ "environment": "preprod",
+ "name": "final_result",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": "105537",
+ "createdAt": "2026-03-09T12:26:13.119Z",
+ "updatedAt": "2026-03-09T12:26:13.119Z",
+ "input": null,
+ "output": null,
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": {},
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 0,
+ "timeToFirstToken": null,
+ "usageDetails": {},
+ "costDetails": {},
+ "providedCostDetails": {},
+ "inputCost": null,
+ "outputCost": null,
+ "totalCost": 0,
+ "inputUsage": 0,
+ "outputUsage": 0,
+ "totalUsage": 0,
+ "usagePricingTierId": null,
+ "usagePricingTierName": null,
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{}"
+ },
+ {
+ "id": "5977f5594f537b9e",
+ "traceId": "933dba1e9783f89d5d8bb032f041a2de",
+ "startTime": "2026-03-09T12:26:00.805Z",
+ "endTime": "2026-03-09T12:26:03.164Z",
+ "projectId": "cml84ntcb01hgad07c302ud72",
+ "parentObservationId": "f858b986537e9e41",
+ "type": "TOOL",
+ "environment": "preprod",
+ "name": "get_custom_report",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": "105537",
+ "createdAt": "2026-03-09T12:26:07.964Z",
+ "updatedAt": "2026-03-09T12:26:07.964Z",
+ "input": null,
+ "output": null,
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": {},
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 2.359,
+ "timeToFirstToken": null,
+ "usageDetails": {},
+ "costDetails": {},
+ "providedCostDetails": {},
+ "inputCost": null,
+ "outputCost": null,
+ "totalCost": 0,
+ "inputUsage": 0,
+ "outputUsage": 0,
+ "totalUsage": 0,
+ "usagePricingTierId": null,
+ "usagePricingTierName": null,
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{}"
+ }
+ ]
+ },
+ "observations": [
+ {
+ "id": "50d470aa18418652",
+ "traceId": "933dba1e9783f89d5d8bb032f041a2de",
+ "startTime": "2026-03-09T12:26:03.164Z",
+ "endTime": "2026-03-09T12:26:06.562Z",
+ "projectId": "cml84ntcb01hgad07c302ud72",
+ "parentObservationId": "f858b986537e9e41",
+ "type": "GENERATION",
+ "environment": "preprod",
+ "name": "chat gemini-2.5-flash",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": "105537",
+ "createdAt": "2026-03-09T12:26:07.964Z",
+ "updatedAt": "2026-03-09T12:26:07.964Z",
+ "input": "[\n {\n \"role\": \"user\",\n \"parts\": [\n {\n \"type\": \"text\",\n \"content\": \"What are my month over month performance insights the past quarter, by cost, displays, clicks, CTR, sales, CVR? Please split by campaign taxonomy\"\n }\n ]\n },\n {\n \"role\": \"assistant\",\n \"parts\": [\n {\n \"type\": \"tool_call\",\n \"id\": \"get_custom_report\",\n \"name\": \"get_custom_report\",\n \"arguments\": {\n \"dimensions\": [\n \"Campaign\"\n ],\n \"filters\": {\n \"dateRange\": {\n \"from_date\": \"2025-10-01\",\n \"to_date\": \"2025-12-31\"\n }\n },\n \"timeDimension\": \"Month\",\n \"metrics\": [\n \"Cost\",\n \"Displays\",\n \"Clicks\",\n \"Ctr\",\n \"Sales\",\n \"Cvr\"\n ]\n }\n },\n {\n \"type\": \"Microsoft.Extensions.AI.TextReasoningContent\",\n \"content\": {\n \"text\": \"\",\n \"protectedData\": \"CooKAY89a1+CDPFO/TMZiXeenaPLkZSQA1LTxbQ7KmbinWe/uwbMou6HLwBeN20ZvZ+7QHhxpopqxYuZugBc3x3GariQWXjIh9esj8BB+ufQmBPUKMGRmM3tSqw0KqQ/TlEqq81dTM6leDfHUfiAfSa45iC4IUVWHtrD9ZXtN6O6HxdxN+/zf5tU3rS1zIKAsDev2nqR2tAYqG9FVtnC4Y//05fVMFq9BQjxlsfYhFn+pMIAnH9/GjM5iIzbg3eqH6EDqIuRHIT+Bg/8+bXd9PPgHKXZlcu/9aaQsOHbh9+8eSOfZgzzZ1wRHYAcj9i5fdnlK3UfKYTBoaXdPoqOc7mVteUKELYSY4xyh0Dzbp/27qTBPG1pgFuoxJV9NDi7zJiMby0HfRRVcL/kpI7z5Vxg3rSCMvlNFQHxVvglsDCoiQAph9373SSUKUvh2LgfclHi/nxcZOhKNpds/SFXj3cjZUi5NpFT/O2qhBat27ztbMpoL2j/aYrQ5HDxE+yJOLgUyeO3LoS+xw1eTsUcGTNb73T2g3RexvR+CuP5JqpFYX9oxU7A/98+DP7UaXSeV1cxHCGWShSvwTMDixO75AMhNspXiYa1ZiFOBmyWhOU4Mdqimh4uNXRmx3SVm8/XIkidZq0ffqXqRyPkN1TI9/Q6Uuy19QMbQZxLHdLYd9cXQCoNvYEYr1X76pHA3UVRnz2hors/vTmAvZqdGYI/42gWKNy5kntAVssG0UOTkrt7cMgW2pZNFTe3aMVvZL5cTuI+ssfxrtl7YqpopDexX1b0szixtkt0O69r1kl8W0ubJ2/YdcJ5NjC2AMaFSceYrU57tbupvBx4UXuOxhIUEX6N3Ce2ctEw1rBm82PabYFnjMs3Jm9jWt9MDXkX4yTVjwoEYFY9ID9DvevwB0C0oWF4NFVLGL6PUFbHwMyBhbab2Py11xfn8HHWokguKc9fsbBOJNnMcRW9zHpiGyYE9bQNbEvanqg12zGMXgRKA5YJgItmt4drDAaWT6TF+GxpBFNNhn6dStlOH/gpv1/VXZ4+lX4+KSgYyNu+NQi+zWJesvDYesooB2lhJfO0+Cvp0ogs++/TmPpQk6MJBF4nblugcfdXe5sd5wMf8ggmzgRRyuOHMhnyf/YPPLHP4cZPjxTtZ1yIYq4VJNlrvn7bTEhbWq3CubPaR8srZHyr9GlPTryxK7Gpi87uFlZdKa6rl0OSwSa+DatBcmPlXymdSbWc7+83mYSQtoLKlKkGESyqfYOmUQv89bx8UbBy8+BrKOlGbK9buQCTii560lj1IqV/IWH4QZ+NUp9KgU5HIKGw5LukDkK1ieWCiKWcQRYOor1oo3GXu6k0OTG01e+bCAvVoIeiZyPFtP5C3Q/wwyYZKZrLWNCg2SJOuIs2xTgidX0lzJY3XUAcTKAUP9xWYG8OLtm/ihzKxVP/rJbWfbir9ORnSqgJfzdXx0bhYzsOB3A0lUMfAGzRF4o4euym8IXMamJGt6xxxX4+prIFQ5G7ktVHhz23WlU6k4BdsaFoHmCu/xmGDsVhhyU1EG9wAbR7MwM5OgdQO9+C6m0tn1W1QzygSvyrDCBhmefwoU7AzZT7wR4WzNrpZefBV1EhDEp4lbRbSNnF85+0jlXcVrBhFeHENd5t9SFy7utTxdNEtBV6rBdvHf3Il6/Q9+mpUkXk8oFqfDHjfm8iubt5vBxYGlQqYGaXxsOVP7/B\"\n }\n }\n ]\n },\n {\n \"role\": \"tool\",\n \"parts\": [\n {\n \"type\": \"tool_call_response\",\n \"id\": \"get_custom_report\",\n \"response\": {\n \"response_status\": \"Error\",\n \"message\": \"ERROR: No data found for dimensions: Campaign and metrics Cost,Displays,Clicks,Ctr,Sales,Cvr.\"\n }\n }\n ]\n }\n]",
+ "output": "[\n {\n \"role\": \"assistant\",\n \"parts\": [\n {\n \"type\": \"text\",\n \"content\": \"I couldn't retrieve the month-over-month performance insights for the past quarter (October 2025 to December 2025) by campaign for the requested metrics (Cost, Displays, Clicks, CTR, Sales, CVR) as no data was found for this period.\\n\\n### Parameters\\n- Data was requested from 2025-10-01 to 2025-12-31 with time zone Europe/London.\\n- Attribution model chosen is 30-Day Post Click\\n- Currency: EUR\\n- Time dimension: Month\\n- Dimensions: Campaign\\n- Metrics: Cost, Displays, Clicks, CTR, Sales, CVR\\n\\nPlease let me know if you'd like to try a different date range or different metrics.\"\n },\n {\n \"type\": \"Microsoft.Extensions.AI.TextReasoningContent\",\n \"content\": {\n \"text\": \"\",\n \"protectedData\": \"CoMDAY89a19Q6ObTtHOu2hKdVHU/YkIqUdXI2wbMU9mAEx5gJYE/7Tcq5y3wgUil8RKE+4mrcce/41Rq8VZBlJdfNiYm4v90K/C+Z+r24iSxOUQGg/q9+WKzh/pCtWj6524QTA1QdAUUj0EmJ0wUkmk2T1yA6LDOPlS43nAyAFqfdRRAv7dhoTseyfjjI5Oo8bgiYYI+wkPbFe8Vnna8WDnDqBm3GvvYXVIMKnMzuJOHuKjxVUkPTTA9ztfykLimi4iRT4QGjWbW4S2Tr2+HiSw3rACygVXv3x7BQ6Y1kCtyS3e0WXQtqlwyb5eON94p+3gpZoRVuTO7fnttEQFUR6WKnsIpEEDvv/JJKvS0qR03602pV9qiTW/15ndgRQN9llMhvXqpShmjkB/+GJNMfri4kqFML9GWo8PKZ+dQr7pjratHJa/eMG4izt8PDwwNh17k6/XjE49sRplKbTXEH5OT2BLVMPGx0OAT2kq2+eSIjzewNKxi79KTsya8mWR4Gcf+olXS\"\n }\n }\n ],\n \"finish_reason\": \"stop\"\n }\n]",
+ "model": "gemini-2.5-flash",
+ "internalModelId": "cmcnjkfwn000107l43bf5e8ax",
+ "modelParameters": {
+ "seed": 42,
+ "temperature": 0
+ },
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 3.398,
+ "timeToFirstToken": null,
+ "usageDetails": {
+ "input": 3004,
+ "output": 167,
+ "total": 3171
+ },
+ "costDetails": {
+ "input": 0.0009012,
+ "output": 0.0004175,
+ "total": 0.0013187
+ },
+ "providedCostDetails": {},
+ "inputCost": 0.0009012,
+ "outputCost": 0.0004175,
+ "totalCost": 0.0013187,
+ "inputUsage": 3004,
+ "outputUsage": 167,
+ "totalUsage": 3171,
+ "usagePricingTierId": "cmcnjkfwn000107l43bf5e8ax_tier_default",
+ "usagePricingTierName": "Standard",
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{\"attributes\":{\"gen_ai.operation.name\":\"chat\",\"gen_ai.request.model\":\"gemini-2.5-flash\",\"gen_ai.provider.name\":\"gcp.vertex_ai\",\"server.address\":\"aiplatform.googleapis.com\",\"server.port\":\"443\",\"gen_ai.request.seed\":\"42\",\"gen_ai.request.temperature\":\"0\",\"gen_ai.tool.definitions\":\"[\\n {\\n \\\"type\\\": \\\"function\\\",\\n \\\"name\\\": \\\"get_adset_infos\\\",\\n \\\"description\\\": \\\"Retrieves all ad sets matching conditions set in the filter (also referred to as campaigns)\\\\r\\\\nThis method should be called by the agent whenever\\\\r\\\\nit needs information about one or more ad sets.\\\\r\\\\nIt provides a comprehensive list of ad sets with key metadata and status fields.\\\\r\\\\n\\\\r\\\\nReturns:\\\\r\\\\n-------\\\\r\\\\nResponse\\\\r\\\\n An object containing data with the following information for each ad set:\\\\r\\\\n - id: The unique identifier of the ad set (also called Campaign ID).\\\\r\\\\n - name: The name of the ad set.\\\\r\\\\n - advertiserId: The ID of the advertiser that owns this ad set.\\\\r\\\\n - objective (MarketingObjective): The marketing objective associated with the ad set: Acquisition or Retention.\\\\r\\\\n - startDate: The start date of the ad set, if specified.\\\\r\\\\n - activationStatus: Indicates whether the ad set is currently active: Activated or NotActivated\\\\r\\\\n - deliveryStatus: Describes the current delivery state of the ad set: Running, Archived or NotRunning\\\\r\\\\n\\\\r\\\\nNotes:\\\\r\\\\n-----\\\\r\\\\nUse this method as the primary source for retrieving ad set (campaign) information.\\\",\\n \\\"parameters\\\": {\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"filter\\\": {\\n \\\"description\\\": \\\"The filters applied for selecting the ad_sets\\\",\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"adset_ids\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"type\\\": \\\"integer\\\"\\n }\\n },\\n \\\"names\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"type\\\": \\\"string\\\"\\n }\\n },\\n \\\"activation_statuses\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"NotActivated\\\",\\n \\\"Activated\\\"\\n ]\\n }\\n },\\n \\\"objectives\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"NotSet\\\",\\n \\\"Acquisition\\\",\\n \\\"Retention\\\"\\n ]\\n }\\n },\\n \\\"delivery_statuses\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Running\\\",\\n \\\"Archived\\\",\\n \\\"NotRunning\\\"\\n ]\\n }\\n }\\n }\\n }\\n },\\n \\\"required\\\": [\\n \\\"filter\\\"\\n ]\\n }\\n },\\n {\\n \\\"type\\\": \\\"function\\\",\\n \\\"name\\\": \\\"get_custom_report\\\",\\n \\\"description\\\": \\\"Calls the API to retrieve client data.\\\\r\\\\n\\\\r\\\\nArgs:\\\\r\\\\n filters: An object containing the built-in filters.\\\\r\\\\n Default values are provided if needed.\\\\r\\\\n timeDimension: Time-based dimension for data projections; specifies the granularity at which data will be grouped.\\\\r\\\\n Possible values and examples:\\\\r\\\\n - None: Indicates that the user has not provided any clear time dimension.\\\\r\\\\n This should be selected when there is no explicit instruction.\\\\r\\\\n Do NOT infer or assume a value; use None unless the user specifies otherwise.\\\\r\\\\n - Year: Represents a calendar year.\\\\r\\\\n Examples: per year, by year, year-over-year comparisons (YoY), yearly trend analysis.\\\\r\\\\n - Month: Represents a calendar month.\\\\r\\\\n Examples: per month, by month, month-over-month comparisons (MoM), monthly performance reports.\\\\r\\\\n - Week: Represents a calendar week.\\\\r\\\\n Examples: per week, by week, week-over-week comparisons (WoW), weekly campaign summaries.\\\\r\\\\n - Day: Represents a calendar day.\\\\r\\\\n Examples: per day, by day, day-over-day comparisons (DoD), daily performance tracking.\\\\r\\\\n - Hour: Represents an hour within a day.\\\\r\\\\n Examples: per hour, by hour, hourly trend analysis, intraday performance monitoring.\\\\r\\\\n dimensions: A list of dimensions that define the granularity of the report.\\\\r\\\\n Example: [os, device]\\\\r\\\\n metrics: A list of performance indicators to retrieve.\\\\r\\\\n Example: [clicks, ctr]\\\\r\\\\n attributionModel: Specifies the model used to measure sales.\\\\r\\\\n Optional.\\\\r\\\\n additionalFilters: Custom filters applied to the data.\\\\r\\\\n CRITICAL CONSTRAINT: Every dimension used in \\\\u0060additionalFilters\\\\u0060 MUST be present in the \\\\u0060dimensions\\\\u0060 list.\\\\r\\\\n If a filter references a dimension not included in \\\\u0060dimensions\\\\u0060, the request will be rejected.\\\\r\\\\n\\\\r\\\\nNotes:\\\\r\\\\n - Dimensions determine the level of detail in the report.\\\\r\\\\n - Metrics represent the KPIs to monitor campaign performance.\\\\r\\\\n - Filters restrict the dataset retrieved from the API.\\\\r\\\\n - \\\\u0060additionalFilters\\\\u0060 allow for extra filtering, but only on dimensions explicitly listed in \\\\u0060dimensions\\\\u0060.\\\",\\n \\\"parameters\\\": {\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"filters\\\": {\\n \\\"description\\\": \\\"Filters are a way to narrow the scope of the report by setting certain values.\\\\r\\\\nIf no value can be inferred, a default one will be provided.\\\",\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"clientIds\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"type\\\": \\\"integer\\\"\\n }\\n },\\n \\\"dateRange\\\": {\\n \\\"description\\\": \\\"Date range between two dates.\\\\r\\\\nIMPORTANT: from_date and to_date are inclusive (the start and end dates are included in the period).\\\\r\\\\n\\\\r\\\\nIf dates are not given explicitly, they can be deduced as follows:\\\\r\\\\n\\\\r\\\\n- IMPORTANT: Last n days: from = today - n days, to = yesterday (inclusive, does not include today)\\\\r\\\\n Example: if today is 2025-08-23 then \\\\u0022last 7 days\\\\u0022: 2025-08-16 to 2025-08-22 (inclusive, 7 days)\\\\r\\\\n Example: if today is 2025-08-10 then \\\\u0022last 20 days\\\\u0022: 2025-07-21 to 2025-08-09 (inclusive, 20 days)\\\\r\\\\n- Month of May 2025: from = 2025-05-01, to = 2025-05-31\\\\r\\\\n- IMPORTANT: Last week, the last full calendar week (Monday to Sunday) before the current Week:\\\\r\\\\n from = Monday of previous week\\\\r\\\\n to = Sunday of previous Week\\\\r\\\\n Example: if today is Tuesday, 2025-08-12 then \\\\u0022last week\\\\u0022 is Monday 2025-08-04 to Sunday 2025-08-10\\\\r\\\\n Example: if today is Monday, 2025-09-15 then \\\\u0022last week\\\\u0022 is Monday 2025-08-14 to Sunday 2025-08-14\\\\r\\\\n- IMPORTANT: Last n weeks, the last n full calendar weeks (Monday to Sunday) before the current Week.\\\\r\\\\n n is the number of weeks.\\\\r\\\\n from = Monday of n weeks ago\\\\r\\\\n to = Sunday of previous Week\\\\r\\\\n Example: if today is Friday, 2025-08-22 then \\\\u0022last 2 weeks\\\\u0022 is\\\\r\\\\n Monday 2025-08-04 to Sunday 2025-08-17\\\\r\\\\n n is 2\\\\r\\\\n Example: if today is Monday, 2025-07-21 then \\\\u0022last 3 weeks\\\\u0022 is\\\\r\\\\n Monday 2025-06-30 to Sunday 2025-07-20\\\\r\\\\n n is 3\\\\r\\\\n- IMPORTANT: Last month, the last full calendar month before the current month.\\\\r\\\\n from = first day of previous month\\\\r\\\\n to = last day of previous month\\\\r\\\\n Example: if today is Tuesday, 2025-08-19 then \\\\u0022last month\\\\u0022 is 2025-07-01 to 2025-07-31\\\\r\\\\n- IMPORTANT: Last n months, the last n full calendar months before the current month.\\\\r\\\\n n is the number of months.\\\\r\\\\n from = first day of the month n months ago\\\\r\\\\n to = last day of previous month\\\\r\\\\n Example: if today is Monday, 2025-08-19 then \\\\u0022last 3 months\\\\u0022 is 2025-05-01 to 2025-07-31\\\\r\\\\n n is 3\\\\r\\\\n- Last quarter: the last full quarter before the current quarter.\\\\r\\\\n Q1: January 1 to March 31\\\\r\\\\n Q2: April 1 to June 30\\\\r\\\\n Q3: July 1 to September 30\\\\r\\\\n Q4: October 1 to December 31\\\\r\\\\n\\\\r\\\\n\\\\r\\\\ntime_zone is the IANA time zone name (e.g., \\\\u0022Europe/London\\\\u0022, \\\\u0022America/New_York\\\\u0022).\\\\r\\\\nBy default, assume that we are in the Europe/London time zone.\\\\r\\\\n\\\\r\\\\nThe field previous_period_from_date is used to define the starting date of a previous period\\\\r\\\\nthat mirrors the current data collection range.\\\\r\\\\nThis allows for comparative analysis between the current period and a similar past period.\\\\r\\\\n\\\\r\\\\nUse the following guidelines and examples to determine the correct value:\\\\r\\\\n\\\\r\\\\nGeneral Rule:\\\\r\\\\nprevious_period_from_date should be set to a date that starts the previous comparable period\\\\r\\\\nthe previous period will have the same duration as the current one\\\\r\\\\nthe previous period and the current period MUST NOT overlap\\\\r\\\\n\\\\r\\\\n Examples:\\\\r\\\\n Relative Time Comparison\\\\r\\\\n If comparing to last year, and from_date = 2025-08-01, then:\\\\r\\\\n previous_period_from_date = 2024-08-01\\\\r\\\\n If comparing with the previous period, previous_period_start_date is calculated\\\\r\\\\n by subtracting the duration of the current date range from its starting date (from_date).\\\\r\\\\n This ensures the previous period has the same length and ends\\\\r\\\\n right before the current one begins.\\\\r\\\\n Example:\\\\r\\\\n Current range: from_date = 2025-08-10, to_date = 2025-08-19 (10 days including bounds),\\\\r\\\\n then: previous_period_start_date = 2025-07-31 (10 days before 2025-08-10)\\\\r\\\\n Custom Period Comparison\\\\r\\\\n If comparing to the period starting 2025-02-25, then:\\\\r\\\\n previous_period_from_date = 2025-02-25\\\\r\\\\n\\\",\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"from_date\\\": {\\n \\\"type\\\": \\\"string\\\",\\n \\\"format\\\": \\\"date\\\"\\n },\\n \\\"to_date\\\": {\\n \\\"type\\\": \\\"string\\\",\\n \\\"format\\\": \\\"date\\\"\\n },\\n \\\"time_zone\\\": {\\n \\\"type\\\": [\\n \\\"string\\\",\\n \\\"null\\\"\\n ]\\n },\\n \\\"previous_period_from_date\\\": {\\n \\\"type\\\": [\\n \\\"string\\\",\\n \\\"null\\\"\\n ],\\n \\\"format\\\": \\\"date\\\"\\n }\\n }\\n },\\n \\\"currency\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n \\\"campaignStatus\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"description\\\": \\\" Status of a campaign\\\\r\\\\n\\\\r\\\\n Glossary:\\\\r\\\\n Active\\\\r\\\\n Active, Running or Live\\\\r\\\\n NotRunning\\\\r\\\\n Not running\\\\r\\\\n Dead\\\\r\\\\n Archived\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Active\\\",\\n \\\"NotRunning\\\",\\n \\\"Dead\\\"\\n ]\\n }\\n },\\n \\\"mediaType\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"description\\\": \\\" Type of media used. video or display.\\\\r\\\\n\\\\r\\\\n Glossary:\\\\r\\\\n Display\\\\r\\\\n HTML display\\\\r\\\\n\\\\r\\\\n Video\\\\r\\\\n Video display\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Display\\\",\\n \\\"Video\\\"\\n ]\\n }\\n },\\n \\\"marketingCampaignGoals\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"NotSet\\\",\\n \\\"Acquisition\\\",\\n \\\"Retention\\\"\\n ]\\n }\\n },\\n \\\"campaigns\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"type\\\": \\\"integer\\\"\\n }\\n }\\n }\\n },\\n \\\"timeDimension\\\": {\\n \\\"description\\\": \\\"Defines the time-based dimensions available for data projections.\\\\r\\\\n\\\\r\\\\nEach enum member specifies the granularity at which data can be grouped or analyzed.\\\\r\\\\n\\\\r\\\\nMembers:\\\\r\\\\n None - Indicates that the user has not provided any clear time dimension.\\\\r\\\\n This should be selected when there is no explicit instruction.\\\\r\\\\n Do NOT infer or assume a value; use None unless the user specifies otherwise.\\\\r\\\\n Year - Represents a calendar year. For example per year, by year, year-over-year comparisons (YoY), yearly trend analysis.\\\\r\\\\n Month - Represents a calendar month. For example per month, by month, month-over-month comparisons (MoM), monthly performance reports.\\\\r\\\\n Week - Represents a calendar week. For example per week, by week, week-over-week comparisons (WoW), weekly campaign summaries.\\\\r\\\\n Day - Represents a calendar day. For example per day, by day, day-over-day comparisons (DoD), daily performance tracking.\\\\r\\\\n Hour - Represents an hour within a day. For example per hour, by hour, hourly trend analysis, intraday performance monitoring.\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"None\\\",\\n \\\"Year\\\",\\n \\\"Month\\\",\\n \\\"Week\\\",\\n \\\"Day\\\",\\n \\\"Hour\\\"\\n ],\\n \\\"default\\\": \\\"None\\\"\\n },\\n \\\"dimensions\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"description\\\": \\\" Enumeration of standardized dimensions used in online advertising projections.\\\\r\\\\n\\\\r\\\\n Each member represents a dimension or attribute commonly used in digital marketing analytics,\\\\r\\\\n campaign performance tracking, and audience segmentation.\\\\r\\\\n\\\\r\\\\n Glossary:\\\\r\\\\n Advertiser\\\\r\\\\n Name or entity running the ad campaign(s). Also called Client\\\\r\\\\n\\\\r\\\\n MarketingCampaign\\\\r\\\\n Full name of the marketing campaign. A group of ad sets.\\\\r\\\\n\\\\r\\\\n Campaign\\\\r\\\\n An ad set.\\\\r\\\\n\\\\r\\\\n MediaType\\\\r\\\\n Type of media used (e.g., video, display, native).\\\\r\\\\n\\\\r\\\\n MarketingCampaignGoal\\\\r\\\\n Marketing campaign objective (Retention, Acquisition)\\\\r\\\\n\\\\r\\\\n Category\\\\r\\\\n Product or content category (e.g., electronics, fashion).\\\\r\\\\n\\\\r\\\\n Device\\\\r\\\\n Type of device used (e.g., mobile, desktop, tablet).\\\\r\\\\n\\\\r\\\\n Os\\\\r\\\\n Operating system of the device (e.g., iOS, Android, Windows).\\\\r\\\\n\\\\r\\\\n AdChannel\\\\r\\\\n Specific advertising channel (e.g., programmatic, direct).\\\\r\\\\n\\\\r\\\\n AdSocialNetwork\\\\r\\\\n Social media platform used (e.g., Facebook, TikTok).\\\\r\\\\n\\\\r\\\\n Ad\\\\r\\\\n A creative\\\\r\\\\n\\\\r\\\\n Coupon\\\\r\\\\n A creative coupon\\\\r\\\\n\\\\r\\\\n AdFormat\\\\r\\\\n Format of the ad (e.g., banner, interstitial, carousel).\\\\r\\\\n\\\\r\\\\n DisplaySize\\\\r\\\\n Size of the display area for the ad.\\\\r\\\\n\\\\r\\\\n VideoPlacement\\\\r\\\\n Placement type for video ads (e.g., in-stream, out-stream).\\\\r\\\\n\\\\r\\\\n VideoPlaybackMethod\\\\r\\\\n How the video was played (e.g., autoplay, click-to-play).\\\\r\\\\n\\\\r\\\\n VideoPlayerSize\\\\r\\\\n Dimensions of the video player.\\\\r\\\\n\\\\r\\\\n VideoDurationInSeconds\\\\r\\\\n Length of the video ad.\\\\r\\\\n\\\\r\\\\n VideoPlayerRatio\\\\r\\\\n Aspect ratio of the video player (e.g., 16:9).\\\\r\\\\n\\\\r\\\\n Ssp\\\\r\\\\n Supply Side Partner. The publishing network where displays were made.\\\\r\\\\n\\\\r\\\\n Country\\\\r\\\\n Country where the ad was served.\\\\r\\\\n\\\\r\\\\n Region\\\\r\\\\n Region or state within the country.\\\\r\\\\n\\\\r\\\\n PostalCode\\\\r\\\\n Postal or ZIP code.\\\\r\\\\n\\\\r\\\\n UserBehavior\\\\r\\\\n Behavioral segment of the user (e.g., frequent buyer).\\\\r\\\\n\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Advertiser\\\",\\n \\\"MarketingCampaign\\\",\\n \\\"Campaign\\\",\\n \\\"MediaType\\\",\\n \\\"MarketingCampaignGoal\\\",\\n \\\"Category\\\",\\n \\\"Device\\\",\\n \\\"Os\\\",\\n \\\"AdChannel\\\",\\n \\\"AdSocialNetwork\\\",\\n \\\"Ad\\\",\\n \\\"Coupon\\\",\\n \\\"AdFormat\\\",\\n \\\"DisplaySize\\\",\\n \\\"VideoPlacement\\\",\\n \\\"VideoPlaybackMethod\\\",\\n \\\"VideoPlayerSize\\\",\\n \\\"VideoDurationInSeconds\\\",\\n \\\"VideoPlayerRatio\\\",\\n \\\"Ssp\\\",\\n \\\"Country\\\",\\n \\\"Region\\\",\\n \\\"PostalCode\\\",\\n \\\"UserBehavior\\\"\\n ]\\n },\\n \\\"default\\\": null\\n },\\n \\\"metrics\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"description\\\": \\\" Metrics represents the quantity that we wish to measure\\\\r\\\\n\\\\r\\\\n Glossary:\\\\r\\\\n Audience\\\\r\\\\n Users or devices that were seen online and were eligible to be served an ad. When\\\\r\\\\n several devices can be related to one user, it counts for 1, otherwise it reflects the\\\\r\\\\n number of devices\\\\r\\\\n\\\\r\\\\n Clicks\\\\r\\\\n The number of clicks driven by the ads\\\\r\\\\n\\\\r\\\\n Cost\\\\r\\\\n The overall cost of your ads or video ads\\\\r\\\\n\\\\r\\\\n CostPerResult\\\\r\\\\n What your ad set has cost per configured result unit for your selected period.\\\\r\\\\n\\\\r\\\\n Cpc\\\\r\\\\n Cost Per Click - the amount of money spent for the ads to receive one click\\\\r\\\\n\\\\r\\\\n Cpm\\\\r\\\\n Cost Per Mille - the amount of money spent per thousand displays, available for CPM\\\\r\\\\n based ad sets only\\\\r\\\\n\\\\r\\\\n Ctr\\\\r\\\\n Click-Through Rate - literally, the rate or frequency at which users click through to a\\\\r\\\\n landing page from an ad\\\\r\\\\n\\\\r\\\\n Displays\\\\r\\\\n The number of times your ads have been shown on a screen\\\\r\\\\n\\\\r\\\\n Ecpm\\\\r\\\\n Effective Cost Per Mille - the amount of money spent per thousand displays\\\\r\\\\n\\\\r\\\\n ExposedUsers\\\\r\\\\n The number of users who have been served an ad\\\\r\\\\n\\\\r\\\\n Frequency\\\\r\\\\n The average number of displays each exposed user has seen.\\\\r\\\\n\\\\r\\\\n InvalidClicks\\\\r\\\\n Clicks that don\\\\u0027t meet our quality standards and won\\\\u0027t be billed to you.\\\\r\\\\n\\\\r\\\\n InvalidDisplays\\\\r\\\\n Displays that don\\\\u0027t meet our quality standards and won\\\\u0027t be billed to you.\\\\r\\\\n\\\\r\\\\n Reach\\\\r\\\\n Share of online eligible users or devices who have been served an ad\\\\r\\\\n\\\\r\\\\n Result\\\\r\\\\n What your ad set has achieved based on your configuration for your selected period.\\\\r\\\\n\\\\r\\\\n UntrackableDisplays\\\\r\\\\n\\\\r\\\\n NonViewableDisplays\\\\r\\\\n\\\\r\\\\n Viewability\\\\r\\\\n The percentage of displayed ads or videos ads that were considered viewable\\\\r\\\\n\\\\r\\\\n ViewableDisplays\\\\r\\\\n The number of times at least 50% of the ad appeared for at least 1 second for ads and 2\\\\r\\\\n seconds for videos ads, once started\\\\r\\\\n\\\\r\\\\n Visits\\\\r\\\\n The number of users that were active on your site or app in the hour following clicking\\\\r\\\\n on your ad\\\\r\\\\n\\\\r\\\\n Winrate\\\\r\\\\n Number of displays divided by the total number of display opportunities\\\\r\\\\n\\\\r\\\\n BounceRate\\\\r\\\\n Proportion of website visitors leaving after seeing only one page\\\\r\\\\n\\\\r\\\\n Cpv\\\\r\\\\n Cost Per Visit - the amount of money spent to get one visit on your website\\\\r\\\\n\\\\r\\\\n AppInstall\\\\r\\\\n The number of installations of application\\\\r\\\\n\\\\r\\\\n Cpi\\\\r\\\\n Cost Per Install - the amount of money that needs to be spent to get one app installed\\\\r\\\\n\\\\r\\\\n Cpqv\\\\r\\\\n Cost Per Qualified Visit - the amount of money spent to get one qualified visit on your\\\\r\\\\n website\\\\r\\\\n\\\\r\\\\n InstallRate\\\\r\\\\n Install Rate - the percentage of completed app installs compared to the clicks that\\\\r\\\\n occurred\\\\r\\\\n\\\\r\\\\n QualifiedVisits\\\\r\\\\n The number of users on the target website for which at least two events or one sale\\\\r\\\\n event occurred within the hour following the click\\\\r\\\\n\\\\r\\\\n Assists\\\\r\\\\n The number of sales one of your campaigns or ad sets contributed to (with clicks or\\\\r\\\\n displays) on your site or app.\\\\r\\\\n\\\\r\\\\n AvgCart\\\\r\\\\n Average revenue generated by a sale\\\\r\\\\n\\\\r\\\\n Cos\\\\r\\\\n Cost Of Sales - the ratio between the cost generated by the ad set(s) vs. the revenue\\\\r\\\\n generated by the sales, figured as a percentage\\\\r\\\\n\\\\r\\\\n Cpov\\\\r\\\\n Cost Per Store Visit - the amount of money spent to get one visit on your physical store\\\\r\\\\n\\\\r\\\\n Cov\\\\r\\\\n Cost Of advertiser Value - the ratio between the advertiser value generated by the sales\\\\r\\\\n vs. the cost generated by the ad set(s), figured as a percentage\\\\r\\\\n\\\\r\\\\n Cpo\\\\r\\\\n Cost Per Order - the amount of money that needs to be spent to get one order or\\\\r\\\\n transaction\\\\r\\\\n\\\\r\\\\n Cvr\\\\r\\\\n ConVersion Rate - the percentage of completed purchases compared to the clicks that\\\\r\\\\n occurred\\\\r\\\\n\\\\r\\\\n AssistsSalesRatio\\\\r\\\\n The ratio between your assisted sales and sales made on your site or app.\\\\r\\\\n\\\\r\\\\n OmnichannelRevenue\\\\r\\\\n The revenue generated by online and in-store sales.\\\\r\\\\n\\\\r\\\\n OmnichannelRoas\\\\r\\\\n Omnichannel Return on Ad Spend. The ratio between revenue generated online and in-store,\\\\r\\\\n and the cost.\\\\r\\\\n\\\\r\\\\n OmnichannelSales\\\\r\\\\n The number of online and in store transactions or conversions resulting from Criteo ads.\\\\r\\\\n\\\\r\\\\n Revenue\\\\r\\\\n The amount of money generated by the online sales\\\\r\\\\n\\\\r\\\\n Roas\\\\r\\\\n Return On Ad Spend - the ratio between the revenue generated and the cost\\\\r\\\\n\\\\r\\\\n Sales\\\\r\\\\n The number of completed e-commerce transactions or purchases\\\\r\\\\n\\\\r\\\\n OfflineRevenue\\\\r\\\\n The amount of revenue generated by in-store sales.\\\\r\\\\n\\\\r\\\\n OfflineRoas\\\\r\\\\n Store Return on Ad Spend. The ratio between the revenue generated in-store and the cost.\\\\r\\\\n\\\\r\\\\n OfflineSales\\\\r\\\\n The number of completed in-store transactions or purchases.\\\\r\\\\n\\\\r\\\\n OfflineVisits\\\\r\\\\n The number of visits to one of the physical stores\\\\r\\\\n\\\\r\\\\n Currency\\\\r\\\\n\\\\r\\\\n VideoAvoc\\\\r\\\\n The number of times one of your videos was viewable and audible when it reached\\\\r\\\\n completion\\\\r\\\\n\\\\r\\\\n VideoCompletionRate\\\\r\\\\n The percentage of started videos that played for their entire duration\\\\r\\\\n\\\\r\\\\n VideoCpcv\\\\r\\\\n The average cost of a video played for its entire duration\\\\r\\\\n\\\\r\\\\n VideoCpv\\\\r\\\\n The average cost of a video that started playing\\\\r\\\\n\\\\r\\\\n VideoComplete\\\\r\\\\n The number of times one of your videos played for its entire duration\\\\r\\\\n\\\\r\\\\n VideoFirstQuartile\\\\r\\\\n The number of times one of your videos played to 25% of its duration\\\\r\\\\n\\\\r\\\\n VideoMidpoint\\\\r\\\\n The number of times one of your videos played to 50% of its duration\\\\r\\\\n\\\\r\\\\n VideoThirdQuartile\\\\r\\\\n The number of times one of your videos played to 75% of its duration\\\\r\\\\n\\\\r\\\\n VideoAverageViewRate\\\\r\\\\n The average played percentage of a started video\\\\r\\\\n\\\\r\\\\n VideoStartRate\\\\r\\\\n The percentage of displayed videos that started playing\\\\r\\\\n\\\\r\\\\n VideoStart\\\\r\\\\n The number of times one of your ads started playing\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Audience\\\",\\n \\\"Clicks\\\",\\n \\\"Cost\\\",\\n \\\"CostPerResult\\\",\\n \\\"Cpc\\\",\\n \\\"Cpm\\\",\\n \\\"Ctr\\\",\\n \\\"Displays\\\",\\n \\\"Ecpm\\\",\\n \\\"ExposedUsers\\\",\\n \\\"Frequency\\\",\\n \\\"InvalidClicks\\\",\\n \\\"InvalidDisplays\\\",\\n \\\"Reach\\\",\\n \\\"Result\\\",\\n \\\"UntrackableDisplays\\\",\\n \\\"NonViewableDisplays\\\",\\n \\\"Viewability\\\",\\n \\\"ViewableDisplays\\\",\\n \\\"Visits\\\",\\n \\\"Winrate\\\",\\n \\\"BounceRate\\\",\\n \\\"Cpv\\\",\\n \\\"AppInstall\\\",\\n \\\"Cpi\\\",\\n \\\"Cpqv\\\",\\n \\\"InstallRate\\\",\\n \\\"QualifiedVisits\\\",\\n \\\"Assists\\\",\\n \\\"AvgCart\\\",\\n \\\"Cos\\\",\\n \\\"Cpov\\\",\\n \\\"Cov\\\",\\n \\\"Cpo\\\",\\n \\\"Cvr\\\",\\n \\\"AssistsSalesRatio\\\",\\n \\\"OmnichannelRevenue\\\",\\n \\\"OmnichannelRoas\\\",\\n \\\"OmnichannelSales\\\",\\n \\\"Revenue\\\",\\n \\\"Roas\\\",\\n \\\"Sales\\\",\\n \\\"OfflineRevenue\\\",\\n \\\"OfflineRoas\\\",\\n \\\"OfflineSales\\\",\\n \\\"OfflineVisits\\\",\\n \\\"Currency\\\",\\n \\\"VideoAvoc\\\",\\n \\\"VideoCompletionRate\\\",\\n \\\"VideoCpcv\\\",\\n \\\"VideoCpv\\\",\\n \\\"VideoComplete\\\",\\n \\\"VideoFirstQuartile\\\",\\n \\\"VideoMidpoint\\\",\\n \\\"VideoThirdQuartile\\\",\\n \\\"VideoAverageViewRate\\\",\\n \\\"VideoStartRate\\\",\\n \\\"VideoStart\\\"\\n ]\\n },\\n \\\"default\\\": null\\n },\\n \\\"attributionModel\\\": {\\n \\\"description\\\": \\\" Attribution models define how sales are credited to advertising campaigns.\\\\r\\\\n\\\\r\\\\n Available models:\\\\r\\\\n\\\\r\\\\n Pv1d: 1-Day Post View\\\\r\\\\n \\\\u2014 Sale is attributed when a user views an ad and purchases within 24 hours.\\\\r\\\\n\\\\r\\\\n Pc1d: 1-Day Post Click\\\\r\\\\n \\\\u2014 Sale is attributed when a user clicks an ad and purchases within 24 hours.\\\\r\\\\n\\\\r\\\\n Pc7d: 7-Day Post Click\\\\r\\\\n \\\\u2014 Sale is attributed when a user clicks an ad and purchases within 7 days.\\\\r\\\\n\\\\r\\\\n Pv7d: 7-Day Post View\\\\r\\\\n \\\\u2014 Sale is attributed when a user views an ad and purchases within 7 days.\\\\r\\\\n\\\\r\\\\n Pv14d: 14-Day Post View\\\\r\\\\n \\\\u2014 Sale is attributed when a user views an ad and purchases within 14 days.\\\\r\\\\n\\\\r\\\\n Pv30d: 30-Day Post View\\\\r\\\\n \\\\u2014 Sale is attributed when a user views an ad and purchases within 30 days.\\\\r\\\\n\\\\r\\\\n Pc30d: 30-Day Post Click\\\\r\\\\n \\\\u2014 Sale is attributed when a user clicks an ad and purchases within 30 days.\\\\r\\\\n\\\\r\\\\n Pc30dPv1d: 30-Day Post Click \\\\u002B 1-Day Post View\\\\r\\\\n \\\\u2014 Sale is attributed if a user clicks and purchases within 30 days, or views and purchases within 24 hours.\\\\r\\\\n\\\\r\\\\n Pc7dPv1d: 7-Day Post Click \\\\u002B 1-Day Post View\\\\r\\\\n \\\\u2014 Sale is attributed if a user clicks and purchases within 7 days, or views and purchases within 24 hours.\\\\r\\\\n\\\\r\\\\n Lc30d: Last Click\\\\r\\\\n \\\\u2014 Full credit is given to the last click before a conversion.\\\\r\\\\n\\\\r\\\\n CAttr: Client Attribution\\\\r\\\\n \\\\u2014 Attribution is determined by the advertiser using Criteo\\\\u0027s deduplication parameter.\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Pv1d\\\",\\n \\\"Pc1d\\\",\\n \\\"Pc7d\\\",\\n \\\"Pv7d\\\",\\n \\\"Pv14d\\\",\\n \\\"Pv30d\\\",\\n \\\"Pc30d\\\",\\n \\\"Pc30dPv1d\\\",\\n \\\"Lc30d\\\",\\n \\\"CAttr\\\",\\n \\\"Pc7dPv1d\\\"\\n ],\\n \\\"default\\\": \\\"Pc30d\\\"\\n },\\n \\\"additionalFilters\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"description\\\": \\\"Represents a filter for a specific dimension and its associated value.\\\\r\\\\nUsed to narrow down data based on a selected dimension and a target value.\\\",\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"dimension\\\": {\\n \\\"description\\\": \\\" Enumeration of standardized dimensions used in online advertising projections.\\\\r\\\\n\\\\r\\\\n Each member represents a dimension or attribute commonly used in digital marketing analytics,\\\\r\\\\n campaign performance tracking, and audience segmentation.\\\\r\\\\n\\\\r\\\\n Glossary:\\\\r\\\\n Advertiser\\\\r\\\\n Name or entity running the ad campaign(s). Also called Client\\\\r\\\\n\\\\r\\\\n MarketingCampaign\\\\r\\\\n Full name of the marketing campaign. A group of ad sets.\\\\r\\\\n\\\\r\\\\n Campaign\\\\r\\\\n An ad set.\\\\r\\\\n\\\\r\\\\n MediaType\\\\r\\\\n Type of media used (e.g., video, display, native).\\\\r\\\\n\\\\r\\\\n MarketingCampaignGoal\\\\r\\\\n Marketing campaign objective (Retention, Acquisition)\\\\r\\\\n\\\\r\\\\n Category\\\\r\\\\n Product or content category (e.g., electronics, fashion).\\\\r\\\\n\\\\r\\\\n Device\\\\r\\\\n Type of device used (e.g., mobile, desktop, tablet).\\\\r\\\\n\\\\r\\\\n Os\\\\r\\\\n Operating system of the device (e.g., iOS, Android, Windows).\\\\r\\\\n\\\\r\\\\n AdChannel\\\\r\\\\n Specific advertising channel (e.g., programmatic, direct).\\\\r\\\\n\\\\r\\\\n AdSocialNetwork\\\\r\\\\n Social media platform used (e.g., Facebook, TikTok).\\\\r\\\\n\\\\r\\\\n Ad\\\\r\\\\n A creative\\\\r\\\\n\\\\r\\\\n Coupon\\\\r\\\\n A creative coupon\\\\r\\\\n\\\\r\\\\n AdFormat\\\\r\\\\n Format of the ad (e.g., banner, interstitial, carousel).\\\\r\\\\n\\\\r\\\\n DisplaySize\\\\r\\\\n Size of the display area for the ad.\\\\r\\\\n\\\\r\\\\n VideoPlacement\\\\r\\\\n Placement type for video ads (e.g., in-stream, out-stream).\\\\r\\\\n\\\\r\\\\n VideoPlaybackMethod\\\\r\\\\n How the video was played (e.g., autoplay, click-to-play).\\\\r\\\\n\\\\r\\\\n VideoPlayerSize\\\\r\\\\n Dimensions of the video player.\\\\r\\\\n\\\\r\\\\n VideoDurationInSeconds\\\\r\\\\n Length of the video ad.\\\\r\\\\n\\\\r\\\\n VideoPlayerRatio\\\\r\\\\n Aspect ratio of the video player (e.g., 16:9).\\\\r\\\\n\\\\r\\\\n Ssp\\\\r\\\\n Supply Side Partner. The publishing network where displays were made.\\\\r\\\\n\\\\r\\\\n Country\\\\r\\\\n Country where the ad was served.\\\\r\\\\n\\\\r\\\\n Region\\\\r\\\\n Region or state within the country.\\\\r\\\\n\\\\r\\\\n PostalCode\\\\r\\\\n Postal or ZIP code.\\\\r\\\\n\\\\r\\\\n UserBehavior\\\\r\\\\n Behavioral segment of the user (e.g., frequent buyer).\\\\r\\\\n\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Advertiser\\\",\\n \\\"MarketingCampaign\\\",\\n \\\"Campaign\\\",\\n \\\"MediaType\\\",\\n \\\"MarketingCampaignGoal\\\",\\n \\\"Category\\\",\\n \\\"Device\\\",\\n \\\"Os\\\",\\n \\\"AdChannel\\\",\\n \\\"AdSocialNetwork\\\",\\n \\\"Ad\\\",\\n \\\"Coupon\\\",\\n \\\"AdFormat\\\",\\n \\\"DisplaySize\\\",\\n \\\"VideoPlacement\\\",\\n \\\"VideoPlaybackMethod\\\",\\n \\\"VideoPlayerSize\\\",\\n \\\"VideoDurationInSeconds\\\",\\n \\\"VideoPlayerRatio\\\",\\n \\\"Ssp\\\",\\n \\\"Country\\\",\\n \\\"Region\\\",\\n \\\"PostalCode\\\",\\n \\\"UserBehavior\\\"\\n ]\\n },\\n \\\"value\\\": {\\n \\\"type\\\": \\\"string\\\"\\n }\\n },\\n \\\"required\\\": [\\n \\\"dimension\\\",\\n \\\"value\\\"\\n ]\\n },\\n \\\"default\\\": null\\n }\\n },\\n \\\"required\\\": [\\n \\\"filters\\\"\\n ]\\n }\\n },\\n {\\n \\\"type\\\": \\\"function\\\",\\n \\\"name\\\": \\\"final_result\\\",\\n \\\"description\\\": \\\"The final response which ends this conversation. ALWAYS use this tool to return your answer.\\\",\\n \\\"parameters\\\": {\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"input\\\": {\\n \\\"description\\\": \\\"Represents the response generated by an agent after processing a user request.\\\\r\\\\nAny tables and graphs will be generated using data from the internal conversation state.\\\\r\\\\n\\\\r\\\\nThere is no need to explicitly pass the tabular data from any tool as contents of the\\\\r\\\\n\\\\u0060comment\\\\u0060 property. Thus, never generate a markdown table as part of the \\\\u0060comment\\\\u0060 field.\\\\r\\\\n\\\\r\\\\nFields:\\\\r\\\\n comment:\\\\r\\\\n A textual response generated by the agent, adhering to the instructions provided in the conversation\\\\r\\\\n\\\\r\\\\n response_status:\\\\r\\\\n A classification of the response outcome, indicating how the agent handled the request.\\\\r\\\\n follow_up_questions:\\\\r\\\\n A short list of 2\\\\u20133 suggestions for further exploration of the data.\\\",\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"comment\\\": {\\n \\\"description\\\": \\\"A structured explanation accompanying the agent\\\\u0027s response.\\\\r\\\\n\\\\r\\\\nIf the agent successfully answered the question:\\\\r\\\\n- Provides a **summary** of the result.\\\\r\\\\n- Offers a **brief explanation** of key concepts or logic used.\\\\r\\\\n\\\\r\\\\nIf the agent failed to answer:\\\\r\\\\n- Describes the **problem encountered** (e.g., missing data, ambiguous query).\\\\r\\\\n- Explains the **reason for failure** to help the user understand what went wrong.\\\\r\\\\n\\\\r\\\\nNote:\\\\r\\\\nThis field should **never include the full requested data**.\\\\r\\\\nThat will be provided separately.\\\\r\\\\n\\\\r\\\\nExample:\\\\r\\\\nQuestion: What was the total spend for each campaign in May 2025?\\\\r\\\\n\\\\r\\\\nSummary: The total spend for all campaigns in May 2025 was 1,240,391.25.\\\\r\\\\n\\\\r\\\\nExplanation: \\\\u0027Spend\\\\u0027 or \\\\u0027Cost\\\\u0027 refers to the total amount of money invested\\\\r\\\\nin an advertising campaign during a specified period.\\\\r\\\\nIt\\\\u0027s a direct measure of your advertising expenditure.\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n \\\"response_status\\\": {\\n \\\"description\\\": \\\" Enumerates the possible outcomes of an agent\\\\u0027s response.\\\\r\\\\n\\\\r\\\\n Glossary:\\\\r\\\\n Success\\\\r\\\\n The agent successfully processed the request and returned a valid response.\\\\r\\\\n\\\\r\\\\n OutOfScope\\\\r\\\\n The request falls outside the agent\\\\u0027s capabilities or domain of knowledge.\\\\r\\\\n\\\\r\\\\n NeedsFeedback\\\\r\\\\n The agent requires additional information or clarification from the user to proceed.\\\\r\\\\n\\\\r\\\\n NoDataFound\\\\r\\\\n The tool call did not return any data.\\\\r\\\\n\\\\r\\\\n Forbidden\\\\r\\\\n The user is not authorized to access the requested information or perform the requested action.\\\\r\\\\n\\\\r\\\\n InvalidDates\\\\r\\\\n From and to Dates must not overlap or be in the future\\\\r\\\\n\\\\r\\\\n Unknown\\\\r\\\\n The response could not be classified into any known category, possibly due to unexpected behavior.\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Success\\\",\\n \\\"OutOfScope\\\",\\n \\\"NeedsFeedback\\\",\\n \\\"NoDataFound\\\",\\n \\\"Forbidden\\\",\\n \\\"InvalidDates\\\",\\n \\\"Unknown\\\"\\n ]\\n },\\n \\\"follow_up_questions\\\": {\\n \\\"description\\\": \\\"Include 2\\\\u20133 suggestions for further exploration of the data.\\\\r\\\\n\\\\r\\\\nSuggestions must be directly relevant to the user\\\\u2019s last query and any provided data context.\\\\r\\\\nEach suggestion must be concise (\\\\u2264 8 words).\\\\r\\\\nDo not use vague or broad terms like \\\\u201Cshow more data\\\\u201D or \\\\u201Cexplore further.\\\\u201D\\\\r\\\\nDo not include multiple options in one suggestion (e.g., \\\\u201Cchange date or campaign\\\\u201D is not allowed).\\\\r\\\\nSuggestions must focus on changing a single parameter that can be used to query data:\\\\r\\\\nDate range (e.g., last 7 days, Q1 2025)\\\\r\\\\nTime aggregation (e.g., daily, weekly, monthly)\\\\r\\\\nMetrics (e.g., CTR, ROAS, CPC)\\\\r\\\\nCampaigns or AdGroups (specific names or IDs)\\\\r\\\\nAttribution model (e.g., 7-day click, 30-day view)\\\\r\\\\nBreakdowns (e.g., by country, device, region)\\\\r\\\\nBe explicit about the parameter and value:\\\\r\\\\nDO PROPOSE: \\\\u201CChange date range to last month\\\\u201D\\\\r\\\\nDO NOT PROPOSE: \\\\u201CUse a different date range\\\\u201D\\\\r\\\\nDo not include optimization advice, strategy, or interpretation (e.g., \\\\u201CHow to improve performance\\\\u201D is forbidden).\\\\r\\\\nSuggestions must be actionable queries, not opinions or summaries.\\\\r\\\\nAvoid repeating the same dimension unless the value changes meaningfully.\\\\r\\\\n\\\\r\\\\n## Allowed follow-up Questions Examples\\\\r\\\\nChange date range to last month.\\\\r\\\\nAggregate data by campaign.\\\\r\\\\nCompare CTR across campaigns.\\\\r\\\\nBreak down by country.\\\\r\\\\nUse 7-day click attribution model.\\\\r\\\\n\\\\r\\\\n## Not Allowed follow-up Questions Examples\\\\r\\\\nShow more insights.\\\\r\\\\nExplore other opportunities.\\\\r\\\\nWhat should I change?\\\\r\\\\nAny suggestions for optimization?\\\\r\\\\nGeneral advice or interpretation.\\\",\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"type\\\": \\\"string\\\"\\n }\\n }\\n },\\n \\\"required\\\": [\\n \\\"comment\\\",\\n \\\"response_status\\\",\\n \\\"follow_up_questions\\\"\\n ]\\n }\\n },\\n \\\"required\\\": [\\n \\\"input\\\"\\n ]\\n }\\n }\\n]\",\"clientId\":\"22291\",\"date\":\"03/09/2026\",\"gen_ai.system_instructions\":\"[\\n {\\n \\\"type\\\": \\\"text\\\",\\n \\\"content\\\": \\\"You are an expert on statistical analysis for the adtech company Criteo.\\\\nYour goal is to provide marketing statistics from Criteo users' ongoing ad campaigns, along with their full context.\\\\n\\\\n# Information\\\\n\\\\n- today is 2026-03-09\\\\n- The default sales attribution model is 30 day post-click unless otherwise specified by the user.\\\\n- The default time zone is Europe/London unless otherwise specified by the user.\\\\n- The default currency is EUR unless otherwise specified by the user.\\\\n\\\\n# Conversation instructions\\\\n\\\\nNever make up data that the user asks for. You must use the provided tools to retrieve data.\\\\n\\\\nAlways respond in a clear, professional, and conversational manner. Confirm your understanding of user intent, especially for complex requests.\\\\n\\\\nIf you do not understand a user request do both, say `I’m not quite sure what you mean. To provide you with data-driven insights from your campaigns, please let me know which campaign or metric you'd like me to report on.` and also use response_status `OutOfScope`.\\\\n\\\\nIf a user requests any form of data visualization (e.g., `show me a line chart`, `display this data in a graph`, `create a plot`, ...), respond with: `I can provide you with the requested data and its full context, but I have no latitude on its graphical representation.`\\\\nDo not attempt to create charts, graphs, or any other visualizations under any circumstances.\\\\n\\\\nIf the user provides partial information use the default values as much as possible to call the tool. Ask clarifying questions only if strictly necessary. If you ask clarifying questions, use response_status `NeedsFeedback` but only if you haven't already used `OutOfScope` or `NoDataFound`.\\\\n\\\\n## Glossary\\\\n\\\\nHere are some common terms that you might encounter.\\\\n\\\\n- QBR - Quarterly Business Review. A strategic review with the client every quarter.\\\\n- WBR - Weekly Business Review. Operational checkpoints to review weekly performance.\\\\n- MBR - Monthly Business Review. Middle-ground between WBR and QBR.\\\\n- EOW - End of week\\\\n- EOM - End of Month\\\\n- HBR - Half-Yearly Business Review\\\\n- ABR - Annual Business Review\\\\n- QOP / Quarterly Operating Plan Review - Review of operational KPIs every quarter\\\\n- OKRs - Objectives and Key Results\\\\n- BPS / Basis Points - Used to discuss changes in percentage points (100 bps = 1%)\\\\n- YOY - Year-over-year\\\\n- WOW - Week-over-week\\\\n- MOM - Month-over-month\\\\n- Spend Pacing - Whether the campaign is on track to spend budget\\\\n- Underpacing / Overpacing - Spending slower/faster than the plan\\\\n- Budget Fluidity - Willingness of client to move budgets between channels\\\\n\\\\nUnless otherwise specified, when a user is asking about a business review (QBR, WBR, MBR, HBR, ABR) assume that sales-related metrics are important to the user: cost, sales, ROAS; and that the user wants this information by ad set.\\\\n\\\\n## Tool Response\\\\n\\\\nIf a tool responds with a response_status `Retry`. Follow the instructions in `message` and RETRY without asking.\\\\nIf a tool responds with a response_status `DuplicateToolCall`. ALWAYS Move to the next step of your execution plan. You already received the data from the tool.\\\\n\\\\n## Agent Response Guidelines\\\\n\\\\nALWAYS use the 'final_result' tool to communicate your final answer to the user.\\\\nProvide as concise an answer as possible. Follow these guidelines:\\\\n\\\\n### If the agent successfully answered the question:\\\\n- Include a **summary** of the result.\\\\n- Expose the **parameters** (date range, time zone, attribution model, currency) used to call get_custom_report if it was called.\\\\n\\\\n### If the agent failed to answer:\\\\n- Describe the **problem encountered** (e.g., missing data, ambiguous query).\\\\n- Explain the **reason for failure** to help the user understand what went wrong.\\\\n\\\\n### Important:\\\\n- **Never include the full requested data** in the comment.\\\\n- The data will be provided to the user separately.\\\\n- Never call get_custom_report twice with different date ranges. Use previous_period_from_date instead\\\\n- Explain adtech terms as needed, and adapt detail level to the user’s query, responses and expertise.\\\\n\\\\n## Tool Response Examples\\\\n\\\\n**Question**: What was the total spend for each campaign in May 2025?\\\\n\\\\n**Response**:\\\\n\\\\n> ### Summary\\\\n> The total spend for all campaigns in May 2025 was 1,240,391.25.\\\\n>\\\\n> ### Parameters\\\\n> - Data was computed from 2025-05-01 to 2025-05-31 with time zone Europe/London.\\\\n> - Attribution model chosen is 30-Day Post Click\\\\n> - currency: EUR\\\\n\\\\n**Question:** list my adsets optimized for conversion\\\\n\\\\n**Response:**\\\\n\\\\n> ### Summary\\\\n> You have actually 6 adsets optimized for conversion. 2 of them are currently active.\\\\n\\\\n# DATA PRIVACY AND LEGAL REQUIREMENTS\\\\n\\\\n- Conduct: Enforce Criteo Advertising, Supply Partner, and Privacy Guidelines. Promote ethical, compliant, effective advertising.\\\\n- If you reject based on those criteria set final_result.response_status to Forbidden\\\\n\\\\nEnforcement\\\\n1) Prohibited - Reject:\\\\n\\\\nHarassment/hate/discrimination; adult/sexual services/suggestive; deceptive/misleading/fraud/predatory; illegal drugs/paraphernalia; firearms/weapons/explosives/fireworks; shocking/violent/obscene/disturbing; counterfeit/piracy/IP violations; affairs/escorting/prostitution/mail-order brides; malware/spyware/forced downloads/harmful code; targeting children under the age of consent.\\\\nResponse: \\\\\\\"I can't fulfil this request because it involves prohibited advertising content under Criteo's guidelines.\\\\\\\"\\\\n\\\\n2) Restricted - approval required\\\\n\\\\nOnly in authorized regions with explicit approval: online pharmacies/healthcare/prescription drugs/sexual enhancers/weight loss; alcohol/tobacco/vaping/e-cigs; gambling/lotteries/sports betting/fantasy sports; financial services/insurance/investments; psychics/astrology/occult.\\\\nResponse: \\\\\\\"This request falls into a restricted category and can only be fulfilled with prior approval from Criteo and in permitted countries.\\\\\\\"\\\\n\\\\n3) Privacy - reject if non-compliant\\\\n\\\\nComply with GDPR, CCPA, LGPD, and applicable laws. Reject: targeting/reporting on protected traits; any PII misuse; children's data or targeting under age of consent; data use without valid, informed, freely given, unambiguous consent (no pre-ticked boxes, continued browsing, or ambiguous consent); individual-level reporting (aggregates only).\\\\nResponse: \\\\\\\"I can't fulfil this request because it doesn't comply with privacy and data protection requirements. Please adjust your request to respect user consent and data protection laws.\\\\\\\"\\\\n\\\\n- Never speculate or provide unsupported data. Only reference Criteo-approved sources for documentation or support.\\\\n- If handling sensitive data, follow Criteo data privacy guidelines at all times.\\\\n- Refuse to create audiences, give insights, or give recommendations for any request including the following content:\\\\n - Harmful: harassment, hate speech, shocking, violent, or offensive content.\\\\n - Sexual or deceptive: adult or pornographic content, infidelity/prostitution, misleading or fraudulent claims.\\\\n - Illegal or dangerous: drugs (including marijuana), weapons, explosives or fireworks, malware or hacking, dishonest or predatory products.\\\\n - IP violations: counterfeits, piracy, unauthorized use of likeness.\\\\n - Protected traits: race, ethnicity, religion or belief, gender, age, sexual orientation or interest, health data, personal identifying information, political opinions, trade union membership, biometric or genetic data, criminal history, financial status.\\\\n - Children: no targeting under the legal consent age or children's sites. Only broad, legally compliant age ranges may be used.\\\\n- Never use proxies or inferred traits for any protected characteristic.\\\\n\\\"\\n }\\n]\",\"gen_ai.response.finish_reasons\":\"[\\\"stop\\\"]\",\"gen_ai.response.id\":\"W7yuaY2AEraSitQP4-GckQ4\",\"gen_ai.response.model\":\"gemini-2.5-flash\",\"gen_ai.usage.input_tokens\":\"3004\",\"gen_ai.usage.output_tokens\":\"167\",\"host.ip\":\"10.65.201.20\",\"host.name\":\"kube-worker0277.kubes10.da1.preprod.crto.in\",\"deployment.environment.name\":\"preprod\",\"criteo.service.pool\":\"default\",\"criteo.dc\":\"da1\",\"service.version\":\"105537\",\"service.instance.id\":\"10NDX\"},\"resourceAttributes\":{\"deployment.environment.name\":\"preprod\",\"service.name\":\"agentic-clientinsights\",\"service.version\":\"105537\",\"service.instance.id\":\"10NDX\"},\"scope\":{\"name\":\"Experimental.Microsoft.Extensions.AI\",\"version\":\"\",\"attributes\":{}}}",
+ "internalModel": "cmcnjkfwn000107l43bf5e8ax"
+ },
+ {
+ "id": "c651c1dac855f97e",
+ "traceId": "933dba1e9783f89d5d8bb032f041a2de",
+ "startTime": "2026-03-09T12:25:54.654Z",
+ "endTime": "2026-03-09T12:26:00.805Z",
+ "projectId": "cml84ntcb01hgad07c302ud72",
+ "parentObservationId": "f858b986537e9e41",
+ "type": "GENERATION",
+ "environment": "preprod",
+ "name": "chat gemini-2.5-flash",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": "105537",
+ "createdAt": "2026-03-09T12:26:02.752Z",
+ "updatedAt": "2026-03-09T12:26:02.752Z",
+ "input": "[\n {\n \"role\": \"user\",\n \"parts\": [\n {\n \"type\": \"text\",\n \"content\": \"What are my month over month performance insights the past quarter, by cost, displays, clicks, CTR, sales, CVR? Please split by campaign taxonomy\"\n }\n ]\n }\n]",
+ "output": "[\n {\n \"role\": \"assistant\",\n \"parts\": [\n {\n \"type\": \"tool_call\",\n \"id\": \"get_custom_report\",\n \"name\": \"get_custom_report\",\n \"arguments\": {\n \"dimensions\": [\n \"Campaign\"\n ],\n \"filters\": {\n \"dateRange\": {\n \"from_date\": \"2025-10-01\",\n \"to_date\": \"2025-12-31\"\n }\n },\n \"timeDimension\": \"Month\",\n \"metrics\": [\n \"Cost\",\n \"Displays\",\n \"Clicks\",\n \"Ctr\",\n \"Sales\",\n \"Cvr\"\n ]\n }\n },\n {\n \"type\": \"Microsoft.Extensions.AI.TextReasoningContent\",\n \"content\": {\n \"text\": \"\",\n \"protectedData\": \"CooKAY89a1+CDPFO/TMZiXeenaPLkZSQA1LTxbQ7KmbinWe/uwbMou6HLwBeN20ZvZ+7QHhxpopqxYuZugBc3x3GariQWXjIh9esj8BB+ufQmBPUKMGRmM3tSqw0KqQ/TlEqq81dTM6leDfHUfiAfSa45iC4IUVWHtrD9ZXtN6O6HxdxN+/zf5tU3rS1zIKAsDev2nqR2tAYqG9FVtnC4Y//05fVMFq9BQjxlsfYhFn+pMIAnH9/GjM5iIzbg3eqH6EDqIuRHIT+Bg/8+bXd9PPgHKXZlcu/9aaQsOHbh9+8eSOfZgzzZ1wRHYAcj9i5fdnlK3UfKYTBoaXdPoqOc7mVteUKELYSY4xyh0Dzbp/27qTBPG1pgFuoxJV9NDi7zJiMby0HfRRVcL/kpI7z5Vxg3rSCMvlNFQHxVvglsDCoiQAph9373SSUKUvh2LgfclHi/nxcZOhKNpds/SFXj3cjZUi5NpFT/O2qhBat27ztbMpoL2j/aYrQ5HDxE+yJOLgUyeO3LoS+xw1eTsUcGTNb73T2g3RexvR+CuP5JqpFYX9oxU7A/98+DP7UaXSeV1cxHCGWShSvwTMDixO75AMhNspXiYa1ZiFOBmyWhOU4Mdqimh4uNXRmx3SVm8/XIkidZq0ffqXqRyPkN1TI9/Q6Uuy19QMbQZxLHdLYd9cXQCoNvYEYr1X76pHA3UVRnz2hors/vTmAvZqdGYI/42gWKNy5kntAVssG0UOTkrt7cMgW2pZNFTe3aMVvZL5cTuI+ssfxrtl7YqpopDexX1b0szixtkt0O69r1kl8W0ubJ2/YdcJ5NjC2AMaFSceYrU57tbupvBx4UXuOxhIUEX6N3Ce2ctEw1rBm82PabYFnjMs3Jm9jWt9MDXkX4yTVjwoEYFY9ID9DvevwB0C0oWF4NFVLGL6PUFbHwMyBhbab2Py11xfn8HHWokguKc9fsbBOJNnMcRW9zHpiGyYE9bQNbEvanqg12zGMXgRKA5YJgItmt4drDAaWT6TF+GxpBFNNhn6dStlOH/gpv1/VXZ4+lX4+KSgYyNu+NQi+zWJesvDYesooB2lhJfO0+Cvp0ogs++/TmPpQk6MJBF4nblugcfdXe5sd5wMf8ggmzgRRyuOHMhnyf/YPPLHP4cZPjxTtZ1yIYq4VJNlrvn7bTEhbWq3CubPaR8srZHyr9GlPTryxK7Gpi87uFlZdKa6rl0OSwSa+DatBcmPlXymdSbWc7+83mYSQtoLKlKkGESyqfYOmUQv89bx8UbBy8+BrKOlGbK9buQCTii560lj1IqV/IWH4QZ+NUp9KgU5HIKGw5LukDkK1ieWCiKWcQRYOor1oo3GXu6k0OTG01e+bCAvVoIeiZyPFtP5C3Q/wwyYZKZrLWNCg2SJOuIs2xTgidX0lzJY3XUAcTKAUP9xWYG8OLtm/ihzKxVP/rJbWfbir9ORnSqgJfzdXx0bhYzsOB3A0lUMfAGzRF4o4euym8IXMamJGt6xxxX4+prIFQ5G7ktVHhz23WlU6k4BdsaFoHmCu/xmGDsVhhyU1EG9wAbR7MwM5OgdQO9+C6m0tn1W1QzygSvyrDCBhmefwoU7AzZT7wR4WzNrpZefBV1EhDEp4lbRbSNnF85+0jlXcVrBhFeHENd5t9SFy7utTxdNEtBV6rBdvHf3Il6/Q9+mpUkXk8oFqfDHjfm8iubt5vBxYGlQqYGaXxsOVP7/B\"\n }\n }\n ],\n \"finish_reason\": \"stop\"\n }\n]",
+ "model": "gemini-2.5-flash",
+ "internalModelId": "cmcnjkfwn000107l43bf5e8ax",
+ "modelParameters": {
+ "seed": 42,
+ "temperature": 0
+ },
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 6.151,
+ "timeToFirstToken": null,
+ "usageDetails": {
+ "input": 2546,
+ "output": 47,
+ "total": 2593
+ },
+ "costDetails": {
+ "input": 0.0007638,
+ "output": 0.0001175,
+ "total": 0.0008813
+ },
+ "providedCostDetails": {},
+ "inputCost": 0.0007638,
+ "outputCost": 0.0001175,
+ "totalCost": 0.0008813,
+ "inputUsage": 2546,
+ "outputUsage": 47,
+ "totalUsage": 2593,
+ "usagePricingTierId": "cmcnjkfwn000107l43bf5e8ax_tier_default",
+ "usagePricingTierName": "Standard",
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{\"attributes\":{\"otel.exception_pointers\":\"94867131908120\",\"gen_ai.operation.name\":\"chat\",\"gen_ai.request.model\":\"gemini-2.5-flash\",\"gen_ai.provider.name\":\"gcp.vertex_ai\",\"server.address\":\"aiplatform.googleapis.com\",\"server.port\":\"443\",\"gen_ai.request.seed\":\"42\",\"gen_ai.request.temperature\":\"0\",\"gen_ai.tool.definitions\":\"[\\n {\\n \\\"type\\\": \\\"function\\\",\\n \\\"name\\\": \\\"get_adset_infos\\\",\\n \\\"description\\\": \\\"Retrieves all ad sets matching conditions set in the filter (also referred to as campaigns)\\\\r\\\\nThis method should be called by the agent whenever\\\\r\\\\nit needs information about one or more ad sets.\\\\r\\\\nIt provides a comprehensive list of ad sets with key metadata and status fields.\\\\r\\\\n\\\\r\\\\nReturns:\\\\r\\\\n-------\\\\r\\\\nResponse\\\\r\\\\n An object containing data with the following information for each ad set:\\\\r\\\\n - id: The unique identifier of the ad set (also called Campaign ID).\\\\r\\\\n - name: The name of the ad set.\\\\r\\\\n - advertiserId: The ID of the advertiser that owns this ad set.\\\\r\\\\n - objective (MarketingObjective): The marketing objective associated with the ad set: Acquisition or Retention.\\\\r\\\\n - startDate: The start date of the ad set, if specified.\\\\r\\\\n - activationStatus: Indicates whether the ad set is currently active: Activated or NotActivated\\\\r\\\\n - deliveryStatus: Describes the current delivery state of the ad set: Running, Archived or NotRunning\\\\r\\\\n\\\\r\\\\nNotes:\\\\r\\\\n-----\\\\r\\\\nUse this method as the primary source for retrieving ad set (campaign) information.\\\",\\n \\\"parameters\\\": {\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"filter\\\": {\\n \\\"description\\\": \\\"The filters applied for selecting the ad_sets\\\",\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"adset_ids\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"type\\\": \\\"integer\\\"\\n }\\n },\\n \\\"names\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"type\\\": \\\"string\\\"\\n }\\n },\\n \\\"activation_statuses\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"NotActivated\\\",\\n \\\"Activated\\\"\\n ]\\n }\\n },\\n \\\"objectives\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"NotSet\\\",\\n \\\"Acquisition\\\",\\n \\\"Retention\\\"\\n ]\\n }\\n },\\n \\\"delivery_statuses\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Running\\\",\\n \\\"Archived\\\",\\n \\\"NotRunning\\\"\\n ]\\n }\\n }\\n }\\n }\\n },\\n \\\"required\\\": [\\n \\\"filter\\\"\\n ]\\n }\\n },\\n {\\n \\\"type\\\": \\\"function\\\",\\n \\\"name\\\": \\\"get_custom_report\\\",\\n \\\"description\\\": \\\"Calls the API to retrieve client data.\\\\r\\\\n\\\\r\\\\nArgs:\\\\r\\\\n filters: An object containing the built-in filters.\\\\r\\\\n Default values are provided if needed.\\\\r\\\\n timeDimension: Time-based dimension for data projections; specifies the granularity at which data will be grouped.\\\\r\\\\n Possible values and examples:\\\\r\\\\n - None: Indicates that the user has not provided any clear time dimension.\\\\r\\\\n This should be selected when there is no explicit instruction.\\\\r\\\\n Do NOT infer or assume a value; use None unless the user specifies otherwise.\\\\r\\\\n - Year: Represents a calendar year.\\\\r\\\\n Examples: per year, by year, year-over-year comparisons (YoY), yearly trend analysis.\\\\r\\\\n - Month: Represents a calendar month.\\\\r\\\\n Examples: per month, by month, month-over-month comparisons (MoM), monthly performance reports.\\\\r\\\\n - Week: Represents a calendar week.\\\\r\\\\n Examples: per week, by week, week-over-week comparisons (WoW), weekly campaign summaries.\\\\r\\\\n - Day: Represents a calendar day.\\\\r\\\\n Examples: per day, by day, day-over-day comparisons (DoD), daily performance tracking.\\\\r\\\\n - Hour: Represents an hour within a day.\\\\r\\\\n Examples: per hour, by hour, hourly trend analysis, intraday performance monitoring.\\\\r\\\\n dimensions: A list of dimensions that define the granularity of the report.\\\\r\\\\n Example: [os, device]\\\\r\\\\n metrics: A list of performance indicators to retrieve.\\\\r\\\\n Example: [clicks, ctr]\\\\r\\\\n attributionModel: Specifies the model used to measure sales.\\\\r\\\\n Optional.\\\\r\\\\n additionalFilters: Custom filters applied to the data.\\\\r\\\\n CRITICAL CONSTRAINT: Every dimension used in \\\\u0060additionalFilters\\\\u0060 MUST be present in the \\\\u0060dimensions\\\\u0060 list.\\\\r\\\\n If a filter references a dimension not included in \\\\u0060dimensions\\\\u0060, the request will be rejected.\\\\r\\\\n\\\\r\\\\nNotes:\\\\r\\\\n - Dimensions determine the level of detail in the report.\\\\r\\\\n - Metrics represent the KPIs to monitor campaign performance.\\\\r\\\\n - Filters restrict the dataset retrieved from the API.\\\\r\\\\n - \\\\u0060additionalFilters\\\\u0060 allow for extra filtering, but only on dimensions explicitly listed in \\\\u0060dimensions\\\\u0060.\\\",\\n \\\"parameters\\\": {\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"filters\\\": {\\n \\\"description\\\": \\\"Filters are a way to narrow the scope of the report by setting certain values.\\\\r\\\\nIf no value can be inferred, a default one will be provided.\\\",\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"clientIds\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"type\\\": \\\"integer\\\"\\n }\\n },\\n \\\"dateRange\\\": {\\n \\\"description\\\": \\\"Date range between two dates.\\\\r\\\\nIMPORTANT: from_date and to_date are inclusive (the start and end dates are included in the period).\\\\r\\\\n\\\\r\\\\nIf dates are not given explicitly, they can be deduced as follows:\\\\r\\\\n\\\\r\\\\n- IMPORTANT: Last n days: from = today - n days, to = yesterday (inclusive, does not include today)\\\\r\\\\n Example: if today is 2025-08-23 then \\\\u0022last 7 days\\\\u0022: 2025-08-16 to 2025-08-22 (inclusive, 7 days)\\\\r\\\\n Example: if today is 2025-08-10 then \\\\u0022last 20 days\\\\u0022: 2025-07-21 to 2025-08-09 (inclusive, 20 days)\\\\r\\\\n- Month of May 2025: from = 2025-05-01, to = 2025-05-31\\\\r\\\\n- IMPORTANT: Last week, the last full calendar week (Monday to Sunday) before the current Week:\\\\r\\\\n from = Monday of previous week\\\\r\\\\n to = Sunday of previous Week\\\\r\\\\n Example: if today is Tuesday, 2025-08-12 then \\\\u0022last week\\\\u0022 is Monday 2025-08-04 to Sunday 2025-08-10\\\\r\\\\n Example: if today is Monday, 2025-09-15 then \\\\u0022last week\\\\u0022 is Monday 2025-08-14 to Sunday 2025-08-14\\\\r\\\\n- IMPORTANT: Last n weeks, the last n full calendar weeks (Monday to Sunday) before the current Week.\\\\r\\\\n n is the number of weeks.\\\\r\\\\n from = Monday of n weeks ago\\\\r\\\\n to = Sunday of previous Week\\\\r\\\\n Example: if today is Friday, 2025-08-22 then \\\\u0022last 2 weeks\\\\u0022 is\\\\r\\\\n Monday 2025-08-04 to Sunday 2025-08-17\\\\r\\\\n n is 2\\\\r\\\\n Example: if today is Monday, 2025-07-21 then \\\\u0022last 3 weeks\\\\u0022 is\\\\r\\\\n Monday 2025-06-30 to Sunday 2025-07-20\\\\r\\\\n n is 3\\\\r\\\\n- IMPORTANT: Last month, the last full calendar month before the current month.\\\\r\\\\n from = first day of previous month\\\\r\\\\n to = last day of previous month\\\\r\\\\n Example: if today is Tuesday, 2025-08-19 then \\\\u0022last month\\\\u0022 is 2025-07-01 to 2025-07-31\\\\r\\\\n- IMPORTANT: Last n months, the last n full calendar months before the current month.\\\\r\\\\n n is the number of months.\\\\r\\\\n from = first day of the month n months ago\\\\r\\\\n to = last day of previous month\\\\r\\\\n Example: if today is Monday, 2025-08-19 then \\\\u0022last 3 months\\\\u0022 is 2025-05-01 to 2025-07-31\\\\r\\\\n n is 3\\\\r\\\\n- Last quarter: the last full quarter before the current quarter.\\\\r\\\\n Q1: January 1 to March 31\\\\r\\\\n Q2: April 1 to June 30\\\\r\\\\n Q3: July 1 to September 30\\\\r\\\\n Q4: October 1 to December 31\\\\r\\\\n\\\\r\\\\n\\\\r\\\\ntime_zone is the IANA time zone name (e.g., \\\\u0022Europe/London\\\\u0022, \\\\u0022America/New_York\\\\u0022).\\\\r\\\\nBy default, assume that we are in the Europe/London time zone.\\\\r\\\\n\\\\r\\\\nThe field previous_period_from_date is used to define the starting date of a previous period\\\\r\\\\nthat mirrors the current data collection range.\\\\r\\\\nThis allows for comparative analysis between the current period and a similar past period.\\\\r\\\\n\\\\r\\\\nUse the following guidelines and examples to determine the correct value:\\\\r\\\\n\\\\r\\\\nGeneral Rule:\\\\r\\\\nprevious_period_from_date should be set to a date that starts the previous comparable period\\\\r\\\\nthe previous period will have the same duration as the current one\\\\r\\\\nthe previous period and the current period MUST NOT overlap\\\\r\\\\n\\\\r\\\\n Examples:\\\\r\\\\n Relative Time Comparison\\\\r\\\\n If comparing to last year, and from_date = 2025-08-01, then:\\\\r\\\\n previous_period_from_date = 2024-08-01\\\\r\\\\n If comparing with the previous period, previous_period_start_date is calculated\\\\r\\\\n by subtracting the duration of the current date range from its starting date (from_date).\\\\r\\\\n This ensures the previous period has the same length and ends\\\\r\\\\n right before the current one begins.\\\\r\\\\n Example:\\\\r\\\\n Current range: from_date = 2025-08-10, to_date = 2025-08-19 (10 days including bounds),\\\\r\\\\n then: previous_period_start_date = 2025-07-31 (10 days before 2025-08-10)\\\\r\\\\n Custom Period Comparison\\\\r\\\\n If comparing to the period starting 2025-02-25, then:\\\\r\\\\n previous_period_from_date = 2025-02-25\\\\r\\\\n\\\",\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"from_date\\\": {\\n \\\"type\\\": \\\"string\\\",\\n \\\"format\\\": \\\"date\\\"\\n },\\n \\\"to_date\\\": {\\n \\\"type\\\": \\\"string\\\",\\n \\\"format\\\": \\\"date\\\"\\n },\\n \\\"time_zone\\\": {\\n \\\"type\\\": [\\n \\\"string\\\",\\n \\\"null\\\"\\n ]\\n },\\n \\\"previous_period_from_date\\\": {\\n \\\"type\\\": [\\n \\\"string\\\",\\n \\\"null\\\"\\n ],\\n \\\"format\\\": \\\"date\\\"\\n }\\n }\\n },\\n \\\"currency\\\": {\\n \\\"type\\\": \\\"string\\\"\\n },\\n \\\"campaignStatus\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"description\\\": \\\" Status of a campaign\\\\r\\\\n\\\\r\\\\n Glossary:\\\\r\\\\n Active\\\\r\\\\n Active, Running or Live\\\\r\\\\n NotRunning\\\\r\\\\n Not running\\\\r\\\\n Dead\\\\r\\\\n Archived\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Active\\\",\\n \\\"NotRunning\\\",\\n \\\"Dead\\\"\\n ]\\n }\\n },\\n \\\"mediaType\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"description\\\": \\\" Type of media used. video or display.\\\\r\\\\n\\\\r\\\\n Glossary:\\\\r\\\\n Display\\\\r\\\\n HTML display\\\\r\\\\n\\\\r\\\\n Video\\\\r\\\\n Video display\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Display\\\",\\n \\\"Video\\\"\\n ]\\n }\\n },\\n \\\"marketingCampaignGoals\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"NotSet\\\",\\n \\\"Acquisition\\\",\\n \\\"Retention\\\"\\n ]\\n }\\n },\\n \\\"campaigns\\\": {\\n \\\"type\\\": [\\n \\\"array\\\",\\n \\\"null\\\"\\n ],\\n \\\"items\\\": {\\n \\\"type\\\": \\\"integer\\\"\\n }\\n }\\n }\\n },\\n \\\"timeDimension\\\": {\\n \\\"description\\\": \\\"Defines the time-based dimensions available for data projections.\\\\r\\\\n\\\\r\\\\nEach enum member specifies the granularity at which data can be grouped or analyzed.\\\\r\\\\n\\\\r\\\\nMembers:\\\\r\\\\n None - Indicates that the user has not provided any clear time dimension.\\\\r\\\\n This should be selected when there is no explicit instruction.\\\\r\\\\n Do NOT infer or assume a value; use None unless the user specifies otherwise.\\\\r\\\\n Year - Represents a calendar year. For example per year, by year, year-over-year comparisons (YoY), yearly trend analysis.\\\\r\\\\n Month - Represents a calendar month. For example per month, by month, month-over-month comparisons (MoM), monthly performance reports.\\\\r\\\\n Week - Represents a calendar week. For example per week, by week, week-over-week comparisons (WoW), weekly campaign summaries.\\\\r\\\\n Day - Represents a calendar day. For example per day, by day, day-over-day comparisons (DoD), daily performance tracking.\\\\r\\\\n Hour - Represents an hour within a day. For example per hour, by hour, hourly trend analysis, intraday performance monitoring.\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"None\\\",\\n \\\"Year\\\",\\n \\\"Month\\\",\\n \\\"Week\\\",\\n \\\"Day\\\",\\n \\\"Hour\\\"\\n ],\\n \\\"default\\\": \\\"None\\\"\\n },\\n \\\"dimensions\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"description\\\": \\\" Enumeration of standardized dimensions used in online advertising projections.\\\\r\\\\n\\\\r\\\\n Each member represents a dimension or attribute commonly used in digital marketing analytics,\\\\r\\\\n campaign performance tracking, and audience segmentation.\\\\r\\\\n\\\\r\\\\n Glossary:\\\\r\\\\n Advertiser\\\\r\\\\n Name or entity running the ad campaign(s). Also called Client\\\\r\\\\n\\\\r\\\\n MarketingCampaign\\\\r\\\\n Full name of the marketing campaign. A group of ad sets.\\\\r\\\\n\\\\r\\\\n Campaign\\\\r\\\\n An ad set.\\\\r\\\\n\\\\r\\\\n MediaType\\\\r\\\\n Type of media used (e.g., video, display, native).\\\\r\\\\n\\\\r\\\\n MarketingCampaignGoal\\\\r\\\\n Marketing campaign objective (Retention, Acquisition)\\\\r\\\\n\\\\r\\\\n Category\\\\r\\\\n Product or content category (e.g., electronics, fashion).\\\\r\\\\n\\\\r\\\\n Device\\\\r\\\\n Type of device used (e.g., mobile, desktop, tablet).\\\\r\\\\n\\\\r\\\\n Os\\\\r\\\\n Operating system of the device (e.g., iOS, Android, Windows).\\\\r\\\\n\\\\r\\\\n AdChannel\\\\r\\\\n Specific advertising channel (e.g., programmatic, direct).\\\\r\\\\n\\\\r\\\\n AdSocialNetwork\\\\r\\\\n Social media platform used (e.g., Facebook, TikTok).\\\\r\\\\n\\\\r\\\\n Ad\\\\r\\\\n A creative\\\\r\\\\n\\\\r\\\\n Coupon\\\\r\\\\n A creative coupon\\\\r\\\\n\\\\r\\\\n AdFormat\\\\r\\\\n Format of the ad (e.g., banner, interstitial, carousel).\\\\r\\\\n\\\\r\\\\n DisplaySize\\\\r\\\\n Size of the display area for the ad.\\\\r\\\\n\\\\r\\\\n VideoPlacement\\\\r\\\\n Placement type for video ads (e.g., in-stream, out-stream).\\\\r\\\\n\\\\r\\\\n VideoPlaybackMethod\\\\r\\\\n How the video was played (e.g., autoplay, click-to-play).\\\\r\\\\n\\\\r\\\\n VideoPlayerSize\\\\r\\\\n Dimensions of the video player.\\\\r\\\\n\\\\r\\\\n VideoDurationInSeconds\\\\r\\\\n Length of the video ad.\\\\r\\\\n\\\\r\\\\n VideoPlayerRatio\\\\r\\\\n Aspect ratio of the video player (e.g., 16:9).\\\\r\\\\n\\\\r\\\\n Ssp\\\\r\\\\n Supply Side Partner. The publishing network where displays were made.\\\\r\\\\n\\\\r\\\\n Country\\\\r\\\\n Country where the ad was served.\\\\r\\\\n\\\\r\\\\n Region\\\\r\\\\n Region or state within the country.\\\\r\\\\n\\\\r\\\\n PostalCode\\\\r\\\\n Postal or ZIP code.\\\\r\\\\n\\\\r\\\\n UserBehavior\\\\r\\\\n Behavioral segment of the user (e.g., frequent buyer).\\\\r\\\\n\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Advertiser\\\",\\n \\\"MarketingCampaign\\\",\\n \\\"Campaign\\\",\\n \\\"MediaType\\\",\\n \\\"MarketingCampaignGoal\\\",\\n \\\"Category\\\",\\n \\\"Device\\\",\\n \\\"Os\\\",\\n \\\"AdChannel\\\",\\n \\\"AdSocialNetwork\\\",\\n \\\"Ad\\\",\\n \\\"Coupon\\\",\\n \\\"AdFormat\\\",\\n \\\"DisplaySize\\\",\\n \\\"VideoPlacement\\\",\\n \\\"VideoPlaybackMethod\\\",\\n \\\"VideoPlayerSize\\\",\\n \\\"VideoDurationInSeconds\\\",\\n \\\"VideoPlayerRatio\\\",\\n \\\"Ssp\\\",\\n \\\"Country\\\",\\n \\\"Region\\\",\\n \\\"PostalCode\\\",\\n \\\"UserBehavior\\\"\\n ]\\n },\\n \\\"default\\\": null\\n },\\n \\\"metrics\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"description\\\": \\\" Metrics represents the quantity that we wish to measure\\\\r\\\\n\\\\r\\\\n Glossary:\\\\r\\\\n Audience\\\\r\\\\n Users or devices that were seen online and were eligible to be served an ad. When\\\\r\\\\n several devices can be related to one user, it counts for 1, otherwise it reflects the\\\\r\\\\n number of devices\\\\r\\\\n\\\\r\\\\n Clicks\\\\r\\\\n The number of clicks driven by the ads\\\\r\\\\n\\\\r\\\\n Cost\\\\r\\\\n The overall cost of your ads or video ads\\\\r\\\\n\\\\r\\\\n CostPerResult\\\\r\\\\n What your ad set has cost per configured result unit for your selected period.\\\\r\\\\n\\\\r\\\\n Cpc\\\\r\\\\n Cost Per Click - the amount of money spent for the ads to receive one click\\\\r\\\\n\\\\r\\\\n Cpm\\\\r\\\\n Cost Per Mille - the amount of money spent per thousand displays, available for CPM\\\\r\\\\n based ad sets only\\\\r\\\\n\\\\r\\\\n Ctr\\\\r\\\\n Click-Through Rate - literally, the rate or frequency at which users click through to a\\\\r\\\\n landing page from an ad\\\\r\\\\n\\\\r\\\\n Displays\\\\r\\\\n The number of times your ads have been shown on a screen\\\\r\\\\n\\\\r\\\\n Ecpm\\\\r\\\\n Effective Cost Per Mille - the amount of money spent per thousand displays\\\\r\\\\n\\\\r\\\\n ExposedUsers\\\\r\\\\n The number of users who have been served an ad\\\\r\\\\n\\\\r\\\\n Frequency\\\\r\\\\n The average number of displays each exposed user has seen.\\\\r\\\\n\\\\r\\\\n InvalidClicks\\\\r\\\\n Clicks that don\\\\u0027t meet our quality standards and won\\\\u0027t be billed to you.\\\\r\\\\n\\\\r\\\\n InvalidDisplays\\\\r\\\\n Displays that don\\\\u0027t meet our quality standards and won\\\\u0027t be billed to you.\\\\r\\\\n\\\\r\\\\n Reach\\\\r\\\\n Share of online eligible users or devices who have been served an ad\\\\r\\\\n\\\\r\\\\n Result\\\\r\\\\n What your ad set has achieved based on your configuration for your selected period.\\\\r\\\\n\\\\r\\\\n UntrackableDisplays\\\\r\\\\n\\\\r\\\\n NonViewableDisplays\\\\r\\\\n\\\\r\\\\n Viewability\\\\r\\\\n The percentage of displayed ads or videos ads that were considered viewable\\\\r\\\\n\\\\r\\\\n ViewableDisplays\\\\r\\\\n The number of times at least 50% of the ad appeared for at least 1 second for ads and 2\\\\r\\\\n seconds for videos ads, once started\\\\r\\\\n\\\\r\\\\n Visits\\\\r\\\\n The number of users that were active on your site or app in the hour following clicking\\\\r\\\\n on your ad\\\\r\\\\n\\\\r\\\\n Winrate\\\\r\\\\n Number of displays divided by the total number of display opportunities\\\\r\\\\n\\\\r\\\\n BounceRate\\\\r\\\\n Proportion of website visitors leaving after seeing only one page\\\\r\\\\n\\\\r\\\\n Cpv\\\\r\\\\n Cost Per Visit - the amount of money spent to get one visit on your website\\\\r\\\\n\\\\r\\\\n AppInstall\\\\r\\\\n The number of installations of application\\\\r\\\\n\\\\r\\\\n Cpi\\\\r\\\\n Cost Per Install - the amount of money that needs to be spent to get one app installed\\\\r\\\\n\\\\r\\\\n Cpqv\\\\r\\\\n Cost Per Qualified Visit - the amount of money spent to get one qualified visit on your\\\\r\\\\n website\\\\r\\\\n\\\\r\\\\n InstallRate\\\\r\\\\n Install Rate - the percentage of completed app installs compared to the clicks that\\\\r\\\\n occurred\\\\r\\\\n\\\\r\\\\n QualifiedVisits\\\\r\\\\n The number of users on the target website for which at least two events or one sale\\\\r\\\\n event occurred within the hour following the click\\\\r\\\\n\\\\r\\\\n Assists\\\\r\\\\n The number of sales one of your campaigns or ad sets contributed to (with clicks or\\\\r\\\\n displays) on your site or app.\\\\r\\\\n\\\\r\\\\n AvgCart\\\\r\\\\n Average revenue generated by a sale\\\\r\\\\n\\\\r\\\\n Cos\\\\r\\\\n Cost Of Sales - the ratio between the cost generated by the ad set(s) vs. the revenue\\\\r\\\\n generated by the sales, figured as a percentage\\\\r\\\\n\\\\r\\\\n Cpov\\\\r\\\\n Cost Per Store Visit - the amount of money spent to get one visit on your physical store\\\\r\\\\n\\\\r\\\\n Cov\\\\r\\\\n Cost Of advertiser Value - the ratio between the advertiser value generated by the sales\\\\r\\\\n vs. the cost generated by the ad set(s), figured as a percentage\\\\r\\\\n\\\\r\\\\n Cpo\\\\r\\\\n Cost Per Order - the amount of money that needs to be spent to get one order or\\\\r\\\\n transaction\\\\r\\\\n\\\\r\\\\n Cvr\\\\r\\\\n ConVersion Rate - the percentage of completed purchases compared to the clicks that\\\\r\\\\n occurred\\\\r\\\\n\\\\r\\\\n AssistsSalesRatio\\\\r\\\\n The ratio between your assisted sales and sales made on your site or app.\\\\r\\\\n\\\\r\\\\n OmnichannelRevenue\\\\r\\\\n The revenue generated by online and in-store sales.\\\\r\\\\n\\\\r\\\\n OmnichannelRoas\\\\r\\\\n Omnichannel Return on Ad Spend. The ratio between revenue generated online and in-store,\\\\r\\\\n and the cost.\\\\r\\\\n\\\\r\\\\n OmnichannelSales\\\\r\\\\n The number of online and in store transactions or conversions resulting from Criteo ads.\\\\r\\\\n\\\\r\\\\n Revenue\\\\r\\\\n The amount of money generated by the online sales\\\\r\\\\n\\\\r\\\\n Roas\\\\r\\\\n Return On Ad Spend - the ratio between the revenue generated and the cost\\\\r\\\\n\\\\r\\\\n Sales\\\\r\\\\n The number of completed e-commerce transactions or purchases\\\\r\\\\n\\\\r\\\\n OfflineRevenue\\\\r\\\\n The amount of revenue generated by in-store sales.\\\\r\\\\n\\\\r\\\\n OfflineRoas\\\\r\\\\n Store Return on Ad Spend. The ratio between the revenue generated in-store and the cost.\\\\r\\\\n\\\\r\\\\n OfflineSales\\\\r\\\\n The number of completed in-store transactions or purchases.\\\\r\\\\n\\\\r\\\\n OfflineVisits\\\\r\\\\n The number of visits to one of the physical stores\\\\r\\\\n\\\\r\\\\n Currency\\\\r\\\\n\\\\r\\\\n VideoAvoc\\\\r\\\\n The number of times one of your videos was viewable and audible when it reached\\\\r\\\\n completion\\\\r\\\\n\\\\r\\\\n VideoCompletionRate\\\\r\\\\n The percentage of started videos that played for their entire duration\\\\r\\\\n\\\\r\\\\n VideoCpcv\\\\r\\\\n The average cost of a video played for its entire duration\\\\r\\\\n\\\\r\\\\n VideoCpv\\\\r\\\\n The average cost of a video that started playing\\\\r\\\\n\\\\r\\\\n VideoComplete\\\\r\\\\n The number of times one of your videos played for its entire duration\\\\r\\\\n\\\\r\\\\n VideoFirstQuartile\\\\r\\\\n The number of times one of your videos played to 25% of its duration\\\\r\\\\n\\\\r\\\\n VideoMidpoint\\\\r\\\\n The number of times one of your videos played to 50% of its duration\\\\r\\\\n\\\\r\\\\n VideoThirdQuartile\\\\r\\\\n The number of times one of your videos played to 75% of its duration\\\\r\\\\n\\\\r\\\\n VideoAverageViewRate\\\\r\\\\n The average played percentage of a started video\\\\r\\\\n\\\\r\\\\n VideoStartRate\\\\r\\\\n The percentage of displayed videos that started playing\\\\r\\\\n\\\\r\\\\n VideoStart\\\\r\\\\n The number of times one of your ads started playing\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Audience\\\",\\n \\\"Clicks\\\",\\n \\\"Cost\\\",\\n \\\"CostPerResult\\\",\\n \\\"Cpc\\\",\\n \\\"Cpm\\\",\\n \\\"Ctr\\\",\\n \\\"Displays\\\",\\n \\\"Ecpm\\\",\\n \\\"ExposedUsers\\\",\\n \\\"Frequency\\\",\\n \\\"InvalidClicks\\\",\\n \\\"InvalidDisplays\\\",\\n \\\"Reach\\\",\\n \\\"Result\\\",\\n \\\"UntrackableDisplays\\\",\\n \\\"NonViewableDisplays\\\",\\n \\\"Viewability\\\",\\n \\\"ViewableDisplays\\\",\\n \\\"Visits\\\",\\n \\\"Winrate\\\",\\n \\\"BounceRate\\\",\\n \\\"Cpv\\\",\\n \\\"AppInstall\\\",\\n \\\"Cpi\\\",\\n \\\"Cpqv\\\",\\n \\\"InstallRate\\\",\\n \\\"QualifiedVisits\\\",\\n \\\"Assists\\\",\\n \\\"AvgCart\\\",\\n \\\"Cos\\\",\\n \\\"Cpov\\\",\\n \\\"Cov\\\",\\n \\\"Cpo\\\",\\n \\\"Cvr\\\",\\n \\\"AssistsSalesRatio\\\",\\n \\\"OmnichannelRevenue\\\",\\n \\\"OmnichannelRoas\\\",\\n \\\"OmnichannelSales\\\",\\n \\\"Revenue\\\",\\n \\\"Roas\\\",\\n \\\"Sales\\\",\\n \\\"OfflineRevenue\\\",\\n \\\"OfflineRoas\\\",\\n \\\"OfflineSales\\\",\\n \\\"OfflineVisits\\\",\\n \\\"Currency\\\",\\n \\\"VideoAvoc\\\",\\n \\\"VideoCompletionRate\\\",\\n \\\"VideoCpcv\\\",\\n \\\"VideoCpv\\\",\\n \\\"VideoComplete\\\",\\n \\\"VideoFirstQuartile\\\",\\n \\\"VideoMidpoint\\\",\\n \\\"VideoThirdQuartile\\\",\\n \\\"VideoAverageViewRate\\\",\\n \\\"VideoStartRate\\\",\\n \\\"VideoStart\\\"\\n ]\\n },\\n \\\"default\\\": null\\n },\\n \\\"attributionModel\\\": {\\n \\\"description\\\": \\\" Attribution models define how sales are credited to advertising campaigns.\\\\r\\\\n\\\\r\\\\n Available models:\\\\r\\\\n\\\\r\\\\n Pv1d: 1-Day Post View\\\\r\\\\n \\\\u2014 Sale is attributed when a user views an ad and purchases within 24 hours.\\\\r\\\\n\\\\r\\\\n Pc1d: 1-Day Post Click\\\\r\\\\n \\\\u2014 Sale is attributed when a user clicks an ad and purchases within 24 hours.\\\\r\\\\n\\\\r\\\\n Pc7d: 7-Day Post Click\\\\r\\\\n \\\\u2014 Sale is attributed when a user clicks an ad and purchases within 7 days.\\\\r\\\\n\\\\r\\\\n Pv7d: 7-Day Post View\\\\r\\\\n \\\\u2014 Sale is attributed when a user views an ad and purchases within 7 days.\\\\r\\\\n\\\\r\\\\n Pv14d: 14-Day Post View\\\\r\\\\n \\\\u2014 Sale is attributed when a user views an ad and purchases within 14 days.\\\\r\\\\n\\\\r\\\\n Pv30d: 30-Day Post View\\\\r\\\\n \\\\u2014 Sale is attributed when a user views an ad and purchases within 30 days.\\\\r\\\\n\\\\r\\\\n Pc30d: 30-Day Post Click\\\\r\\\\n \\\\u2014 Sale is attributed when a user clicks an ad and purchases within 30 days.\\\\r\\\\n\\\\r\\\\n Pc30dPv1d: 30-Day Post Click \\\\u002B 1-Day Post View\\\\r\\\\n \\\\u2014 Sale is attributed if a user clicks and purchases within 30 days, or views and purchases within 24 hours.\\\\r\\\\n\\\\r\\\\n Pc7dPv1d: 7-Day Post Click \\\\u002B 1-Day Post View\\\\r\\\\n \\\\u2014 Sale is attributed if a user clicks and purchases within 7 days, or views and purchases within 24 hours.\\\\r\\\\n\\\\r\\\\n Lc30d: Last Click\\\\r\\\\n \\\\u2014 Full credit is given to the last click before a conversion.\\\\r\\\\n\\\\r\\\\n CAttr: Client Attribution\\\\r\\\\n \\\\u2014 Attribution is determined by the advertiser using Criteo\\\\u0027s deduplication parameter.\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Pv1d\\\",\\n \\\"Pc1d\\\",\\n \\\"Pc7d\\\",\\n \\\"Pv7d\\\",\\n \\\"Pv14d\\\",\\n \\\"Pv30d\\\",\\n \\\"Pc30d\\\",\\n \\\"Pc30dPv1d\\\",\\n \\\"Lc30d\\\",\\n \\\"CAttr\\\",\\n \\\"Pc7dPv1d\\\"\\n ],\\n \\\"default\\\": \\\"Pc30d\\\"\\n },\\n \\\"additionalFilters\\\": {\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"description\\\": \\\"Represents a filter for a specific dimension and its associated value.\\\\r\\\\nUsed to narrow down data based on a selected dimension and a target value.\\\",\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"dimension\\\": {\\n \\\"description\\\": \\\" Enumeration of standardized dimensions used in online advertising projections.\\\\r\\\\n\\\\r\\\\n Each member represents a dimension or attribute commonly used in digital marketing analytics,\\\\r\\\\n campaign performance tracking, and audience segmentation.\\\\r\\\\n\\\\r\\\\n Glossary:\\\\r\\\\n Advertiser\\\\r\\\\n Name or entity running the ad campaign(s). Also called Client\\\\r\\\\n\\\\r\\\\n MarketingCampaign\\\\r\\\\n Full name of the marketing campaign. A group of ad sets.\\\\r\\\\n\\\\r\\\\n Campaign\\\\r\\\\n An ad set.\\\\r\\\\n\\\\r\\\\n MediaType\\\\r\\\\n Type of media used (e.g., video, display, native).\\\\r\\\\n\\\\r\\\\n MarketingCampaignGoal\\\\r\\\\n Marketing campaign objective (Retention, Acquisition)\\\\r\\\\n\\\\r\\\\n Category\\\\r\\\\n Product or content category (e.g., electronics, fashion).\\\\r\\\\n\\\\r\\\\n Device\\\\r\\\\n Type of device used (e.g., mobile, desktop, tablet).\\\\r\\\\n\\\\r\\\\n Os\\\\r\\\\n Operating system of the device (e.g., iOS, Android, Windows).\\\\r\\\\n\\\\r\\\\n AdChannel\\\\r\\\\n Specific advertising channel (e.g., programmatic, direct).\\\\r\\\\n\\\\r\\\\n AdSocialNetwork\\\\r\\\\n Social media platform used (e.g., Facebook, TikTok).\\\\r\\\\n\\\\r\\\\n Ad\\\\r\\\\n A creative\\\\r\\\\n\\\\r\\\\n Coupon\\\\r\\\\n A creative coupon\\\\r\\\\n\\\\r\\\\n AdFormat\\\\r\\\\n Format of the ad (e.g., banner, interstitial, carousel).\\\\r\\\\n\\\\r\\\\n DisplaySize\\\\r\\\\n Size of the display area for the ad.\\\\r\\\\n\\\\r\\\\n VideoPlacement\\\\r\\\\n Placement type for video ads (e.g., in-stream, out-stream).\\\\r\\\\n\\\\r\\\\n VideoPlaybackMethod\\\\r\\\\n How the video was played (e.g., autoplay, click-to-play).\\\\r\\\\n\\\\r\\\\n VideoPlayerSize\\\\r\\\\n Dimensions of the video player.\\\\r\\\\n\\\\r\\\\n VideoDurationInSeconds\\\\r\\\\n Length of the video ad.\\\\r\\\\n\\\\r\\\\n VideoPlayerRatio\\\\r\\\\n Aspect ratio of the video player (e.g., 16:9).\\\\r\\\\n\\\\r\\\\n Ssp\\\\r\\\\n Supply Side Partner. The publishing network where displays were made.\\\\r\\\\n\\\\r\\\\n Country\\\\r\\\\n Country where the ad was served.\\\\r\\\\n\\\\r\\\\n Region\\\\r\\\\n Region or state within the country.\\\\r\\\\n\\\\r\\\\n PostalCode\\\\r\\\\n Postal or ZIP code.\\\\r\\\\n\\\\r\\\\n UserBehavior\\\\r\\\\n Behavioral segment of the user (e.g., frequent buyer).\\\\r\\\\n\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Advertiser\\\",\\n \\\"MarketingCampaign\\\",\\n \\\"Campaign\\\",\\n \\\"MediaType\\\",\\n \\\"MarketingCampaignGoal\\\",\\n \\\"Category\\\",\\n \\\"Device\\\",\\n \\\"Os\\\",\\n \\\"AdChannel\\\",\\n \\\"AdSocialNetwork\\\",\\n \\\"Ad\\\",\\n \\\"Coupon\\\",\\n \\\"AdFormat\\\",\\n \\\"DisplaySize\\\",\\n \\\"VideoPlacement\\\",\\n \\\"VideoPlaybackMethod\\\",\\n \\\"VideoPlayerSize\\\",\\n \\\"VideoDurationInSeconds\\\",\\n \\\"VideoPlayerRatio\\\",\\n \\\"Ssp\\\",\\n \\\"Country\\\",\\n \\\"Region\\\",\\n \\\"PostalCode\\\",\\n \\\"UserBehavior\\\"\\n ]\\n },\\n \\\"value\\\": {\\n \\\"type\\\": \\\"string\\\"\\n }\\n },\\n \\\"required\\\": [\\n \\\"dimension\\\",\\n \\\"value\\\"\\n ]\\n },\\n \\\"default\\\": null\\n }\\n },\\n \\\"required\\\": [\\n \\\"filters\\\"\\n ]\\n }\\n },\\n {\\n \\\"type\\\": \\\"function\\\",\\n \\\"name\\\": \\\"final_result\\\",\\n \\\"description\\\": \\\"The final response which ends this conversation. ALWAYS use this tool to return your answer.\\\",\\n \\\"parameters\\\": {\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"input\\\": {\\n \\\"description\\\": \\\"Represents the response generated by an agent after processing a user request.\\\\r\\\\nAny tables and graphs will be generated using data from the internal conversation state.\\\\r\\\\n\\\\r\\\\nThere is no need to explicitly pass the tabular data from any tool as contents of the\\\\r\\\\n\\\\u0060comment\\\\u0060 property. Thus, never generate a markdown table as part of the \\\\u0060comment\\\\u0060 field.\\\\r\\\\n\\\\r\\\\nFields:\\\\r\\\\n comment:\\\\r\\\\n A textual response generated by the agent, adhering to the instructions provided in the conversation\\\\r\\\\n\\\\r\\\\n response_status:\\\\r\\\\n A classification of the response outcome, indicating how the agent handled the request.\\\\r\\\\n follow_up_questions:\\\\r\\\\n A short list of 2\\\\u20133 suggestions for further exploration of the data.\\\",\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"comment\\\": {\\n \\\"description\\\": \\\"A structured explanation accompanying the agent\\\\u0027s response.\\\\r\\\\n\\\\r\\\\nIf the agent successfully answered the question:\\\\r\\\\n- Provides a **summary** of the result.\\\\r\\\\n- Offers a **brief explanation** of key concepts or logic used.\\\\r\\\\n\\\\r\\\\nIf the agent failed to answer:\\\\r\\\\n- Describes the **problem encountered** (e.g., missing data, ambiguous query).\\\\r\\\\n- Explains the **reason for failure** to help the user understand what went wrong.\\\\r\\\\n\\\\r\\\\nNote:\\\\r\\\\nThis field should **never include the full requested data**.\\\\r\\\\nThat will be provided separately.\\\\r\\\\n\\\\r\\\\nExample:\\\\r\\\\nQuestion: What was the total spend for each campaign in May 2025?\\\\r\\\\n\\\\r\\\\nSummary: The total spend for all campaigns in May 2025 was 1,240,391.25.\\\\r\\\\n\\\\r\\\\nExplanation: \\\\u0027Spend\\\\u0027 or \\\\u0027Cost\\\\u0027 refers to the total amount of money invested\\\\r\\\\nin an advertising campaign during a specified period.\\\\r\\\\nIt\\\\u0027s a direct measure of your advertising expenditure.\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n \\\"response_status\\\": {\\n \\\"description\\\": \\\" Enumerates the possible outcomes of an agent\\\\u0027s response.\\\\r\\\\n\\\\r\\\\n Glossary:\\\\r\\\\n Success\\\\r\\\\n The agent successfully processed the request and returned a valid response.\\\\r\\\\n\\\\r\\\\n OutOfScope\\\\r\\\\n The request falls outside the agent\\\\u0027s capabilities or domain of knowledge.\\\\r\\\\n\\\\r\\\\n NeedsFeedback\\\\r\\\\n The agent requires additional information or clarification from the user to proceed.\\\\r\\\\n\\\\r\\\\n NoDataFound\\\\r\\\\n The tool call did not return any data.\\\\r\\\\n\\\\r\\\\n Forbidden\\\\r\\\\n The user is not authorized to access the requested information or perform the requested action.\\\\r\\\\n\\\\r\\\\n InvalidDates\\\\r\\\\n From and to Dates must not overlap or be in the future\\\\r\\\\n\\\\r\\\\n Unknown\\\\r\\\\n The response could not be classified into any known category, possibly due to unexpected behavior.\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Success\\\",\\n \\\"OutOfScope\\\",\\n \\\"NeedsFeedback\\\",\\n \\\"NoDataFound\\\",\\n \\\"Forbidden\\\",\\n \\\"InvalidDates\\\",\\n \\\"Unknown\\\"\\n ]\\n },\\n \\\"follow_up_questions\\\": {\\n \\\"description\\\": \\\"Include 2\\\\u20133 suggestions for further exploration of the data.\\\\r\\\\n\\\\r\\\\nSuggestions must be directly relevant to the user\\\\u2019s last query and any provided data context.\\\\r\\\\nEach suggestion must be concise (\\\\u2264 8 words).\\\\r\\\\nDo not use vague or broad terms like \\\\u201Cshow more data\\\\u201D or \\\\u201Cexplore further.\\\\u201D\\\\r\\\\nDo not include multiple options in one suggestion (e.g., \\\\u201Cchange date or campaign\\\\u201D is not allowed).\\\\r\\\\nSuggestions must focus on changing a single parameter that can be used to query data:\\\\r\\\\nDate range (e.g., last 7 days, Q1 2025)\\\\r\\\\nTime aggregation (e.g., daily, weekly, monthly)\\\\r\\\\nMetrics (e.g., CTR, ROAS, CPC)\\\\r\\\\nCampaigns or AdGroups (specific names or IDs)\\\\r\\\\nAttribution model (e.g., 7-day click, 30-day view)\\\\r\\\\nBreakdowns (e.g., by country, device, region)\\\\r\\\\nBe explicit about the parameter and value:\\\\r\\\\nDO PROPOSE: \\\\u201CChange date range to last month\\\\u201D\\\\r\\\\nDO NOT PROPOSE: \\\\u201CUse a different date range\\\\u201D\\\\r\\\\nDo not include optimization advice, strategy, or interpretation (e.g., \\\\u201CHow to improve performance\\\\u201D is forbidden).\\\\r\\\\nSuggestions must be actionable queries, not opinions or summaries.\\\\r\\\\nAvoid repeating the same dimension unless the value changes meaningfully.\\\\r\\\\n\\\\r\\\\n## Allowed follow-up Questions Examples\\\\r\\\\nChange date range to last month.\\\\r\\\\nAggregate data by campaign.\\\\r\\\\nCompare CTR across campaigns.\\\\r\\\\nBreak down by country.\\\\r\\\\nUse 7-day click attribution model.\\\\r\\\\n\\\\r\\\\n## Not Allowed follow-up Questions Examples\\\\r\\\\nShow more insights.\\\\r\\\\nExplore other opportunities.\\\\r\\\\nWhat should I change?\\\\r\\\\nAny suggestions for optimization?\\\\r\\\\nGeneral advice or interpretation.\\\",\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"type\\\": \\\"string\\\"\\n }\\n }\\n },\\n \\\"required\\\": [\\n \\\"comment\\\",\\n \\\"response_status\\\",\\n \\\"follow_up_questions\\\"\\n ]\\n }\\n },\\n \\\"required\\\": [\\n \\\"input\\\"\\n ]\\n }\\n }\\n]\",\"clientId\":\"22291\",\"date\":\"03/09/2026\",\"gen_ai.system_instructions\":\"[\\n {\\n \\\"type\\\": \\\"text\\\",\\n \\\"content\\\": \\\"You are an expert on statistical analysis for the adtech company Criteo.\\\\nYour goal is to provide marketing statistics from Criteo users' ongoing ad campaigns, along with their full context.\\\\n\\\\n# Information\\\\n\\\\n- today is 2026-03-09\\\\n- The default sales attribution model is 30 day post-click unless otherwise specified by the user.\\\\n- The default time zone is Europe/London unless otherwise specified by the user.\\\\n- The default currency is EUR unless otherwise specified by the user.\\\\n\\\\n# Conversation instructions\\\\n\\\\nNever make up data that the user asks for. You must use the provided tools to retrieve data.\\\\n\\\\nAlways respond in a clear, professional, and conversational manner. Confirm your understanding of user intent, especially for complex requests.\\\\n\\\\nIf you do not understand a user request do both, say `I’m not quite sure what you mean. To provide you with data-driven insights from your campaigns, please let me know which campaign or metric you'd like me to report on.` and also use response_status `OutOfScope`.\\\\n\\\\nIf a user requests any form of data visualization (e.g., `show me a line chart`, `display this data in a graph`, `create a plot`, ...), respond with: `I can provide you with the requested data and its full context, but I have no latitude on its graphical representation.`\\\\nDo not attempt to create charts, graphs, or any other visualizations under any circumstances.\\\\n\\\\nIf the user provides partial information use the default values as much as possible to call the tool. Ask clarifying questions only if strictly necessary. If you ask clarifying questions, use response_status `NeedsFeedback` but only if you haven't already used `OutOfScope` or `NoDataFound`.\\\\n\\\\n## Glossary\\\\n\\\\nHere are some common terms that you might encounter.\\\\n\\\\n- QBR - Quarterly Business Review. A strategic review with the client every quarter.\\\\n- WBR - Weekly Business Review. Operational checkpoints to review weekly performance.\\\\n- MBR - Monthly Business Review. Middle-ground between WBR and QBR.\\\\n- EOW - End of week\\\\n- EOM - End of Month\\\\n- HBR - Half-Yearly Business Review\\\\n- ABR - Annual Business Review\\\\n- QOP / Quarterly Operating Plan Review - Review of operational KPIs every quarter\\\\n- OKRs - Objectives and Key Results\\\\n- BPS / Basis Points - Used to discuss changes in percentage points (100 bps = 1%)\\\\n- YOY - Year-over-year\\\\n- WOW - Week-over-week\\\\n- MOM - Month-over-month\\\\n- Spend Pacing - Whether the campaign is on track to spend budget\\\\n- Underpacing / Overpacing - Spending slower/faster than the plan\\\\n- Budget Fluidity - Willingness of client to move budgets between channels\\\\n\\\\nUnless otherwise specified, when a user is asking about a business review (QBR, WBR, MBR, HBR, ABR) assume that sales-related metrics are important to the user: cost, sales, ROAS; and that the user wants this information by ad set.\\\\n\\\\n## Tool Response\\\\n\\\\nIf a tool responds with a response_status `Retry`. Follow the instructions in `message` and RETRY without asking.\\\\nIf a tool responds with a response_status `DuplicateToolCall`. ALWAYS Move to the next step of your execution plan. You already received the data from the tool.\\\\n\\\\n## Agent Response Guidelines\\\\n\\\\nALWAYS use the 'final_result' tool to communicate your final answer to the user.\\\\nProvide as concise an answer as possible. Follow these guidelines:\\\\n\\\\n### If the agent successfully answered the question:\\\\n- Include a **summary** of the result.\\\\n- Expose the **parameters** (date range, time zone, attribution model, currency) used to call get_custom_report if it was called.\\\\n\\\\n### If the agent failed to answer:\\\\n- Describe the **problem encountered** (e.g., missing data, ambiguous query).\\\\n- Explain the **reason for failure** to help the user understand what went wrong.\\\\n\\\\n### Important:\\\\n- **Never include the full requested data** in the comment.\\\\n- The data will be provided to the user separately.\\\\n- Never call get_custom_report twice with different date ranges. Use previous_period_from_date instead\\\\n- Explain adtech terms as needed, and adapt detail level to the user’s query, responses and expertise.\\\\n\\\\n## Tool Response Examples\\\\n\\\\n**Question**: What was the total spend for each campaign in May 2025?\\\\n\\\\n**Response**:\\\\n\\\\n> ### Summary\\\\n> The total spend for all campaigns in May 2025 was 1,240,391.25.\\\\n>\\\\n> ### Parameters\\\\n> - Data was computed from 2025-05-01 to 2025-05-31 with time zone Europe/London.\\\\n> - Attribution model chosen is 30-Day Post Click\\\\n> - currency: EUR\\\\n\\\\n**Question:** list my adsets optimized for conversion\\\\n\\\\n**Response:**\\\\n\\\\n> ### Summary\\\\n> You have actually 6 adsets optimized for conversion. 2 of them are currently active.\\\\n\\\\n# DATA PRIVACY AND LEGAL REQUIREMENTS\\\\n\\\\n- Conduct: Enforce Criteo Advertising, Supply Partner, and Privacy Guidelines. Promote ethical, compliant, effective advertising.\\\\n- If you reject based on those criteria set final_result.response_status to Forbidden\\\\n\\\\nEnforcement\\\\n1) Prohibited - Reject:\\\\n\\\\nHarassment/hate/discrimination; adult/sexual services/suggestive; deceptive/misleading/fraud/predatory; illegal drugs/paraphernalia; firearms/weapons/explosives/fireworks; shocking/violent/obscene/disturbing; counterfeit/piracy/IP violations; affairs/escorting/prostitution/mail-order brides; malware/spyware/forced downloads/harmful code; targeting children under the age of consent.\\\\nResponse: \\\\\\\"I can't fulfil this request because it involves prohibited advertising content under Criteo's guidelines.\\\\\\\"\\\\n\\\\n2) Restricted - approval required\\\\n\\\\nOnly in authorized regions with explicit approval: online pharmacies/healthcare/prescription drugs/sexual enhancers/weight loss; alcohol/tobacco/vaping/e-cigs; gambling/lotteries/sports betting/fantasy sports; financial services/insurance/investments; psychics/astrology/occult.\\\\nResponse: \\\\\\\"This request falls into a restricted category and can only be fulfilled with prior approval from Criteo and in permitted countries.\\\\\\\"\\\\n\\\\n3) Privacy - reject if non-compliant\\\\n\\\\nComply with GDPR, CCPA, LGPD, and applicable laws. Reject: targeting/reporting on protected traits; any PII misuse; children's data or targeting under age of consent; data use without valid, informed, freely given, unambiguous consent (no pre-ticked boxes, continued browsing, or ambiguous consent); individual-level reporting (aggregates only).\\\\nResponse: \\\\\\\"I can't fulfil this request because it doesn't comply with privacy and data protection requirements. Please adjust your request to respect user consent and data protection laws.\\\\\\\"\\\\n\\\\n- Never speculate or provide unsupported data. Only reference Criteo-approved sources for documentation or support.\\\\n- If handling sensitive data, follow Criteo data privacy guidelines at all times.\\\\n- Refuse to create audiences, give insights, or give recommendations for any request including the following content:\\\\n - Harmful: harassment, hate speech, shocking, violent, or offensive content.\\\\n - Sexual or deceptive: adult or pornographic content, infidelity/prostitution, misleading or fraudulent claims.\\\\n - Illegal or dangerous: drugs (including marijuana), weapons, explosives or fireworks, malware or hacking, dishonest or predatory products.\\\\n - IP violations: counterfeits, piracy, unauthorized use of likeness.\\\\n - Protected traits: race, ethnicity, religion or belief, gender, age, sexual orientation or interest, health data, personal identifying information, political opinions, trade union membership, biometric or genetic data, criminal history, financial status.\\\\n - Children: no targeting under the legal consent age or children's sites. Only broad, legally compliant age ranges may be used.\\\\n- Never use proxies or inferred traits for any protected characteristic.\\\\n\\\"\\n }\\n]\",\"gen_ai.response.finish_reasons\":\"[\\\"stop\\\"]\",\"gen_ai.response.id\":\"U7yuaeTyDuKSitQPhLG9kAg\",\"gen_ai.response.model\":\"gemini-2.5-flash\",\"gen_ai.usage.input_tokens\":\"2546\",\"gen_ai.usage.output_tokens\":\"47\",\"host.ip\":\"10.65.201.20\",\"host.name\":\"kube-worker0277.kubes10.da1.preprod.crto.in\",\"deployment.environment.name\":\"preprod\",\"criteo.service.pool\":\"default\",\"criteo.dc\":\"da1\",\"service.version\":\"105537\",\"service.instance.id\":\"10NDX\"},\"resourceAttributes\":{\"deployment.environment.name\":\"preprod\",\"service.name\":\"agentic-clientinsights\",\"service.version\":\"105537\",\"service.instance.id\":\"10NDX\"},\"scope\":{\"name\":\"Experimental.Microsoft.Extensions.AI\",\"version\":\"\",\"attributes\":{}}}",
+ "internalModel": "cmcnjkfwn000107l43bf5e8ax"
+ },
+ {
+ "id": "cb394d8e10fdda0f",
+ "traceId": "933dba1e9783f89d5d8bb032f041a2de",
+ "startTime": "2026-03-09T12:26:06.562Z",
+ "endTime": "2026-03-09T12:26:09.484Z",
+ "projectId": "cml84ntcb01hgad07c302ud72",
+ "parentObservationId": "8b9b68803d88be77",
+ "type": "GENERATION",
+ "environment": "preprod",
+ "name": "chat gemini-2.5-flash",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": "105537",
+ "createdAt": "2026-03-09T12:26:13.119Z",
+ "updatedAt": "2026-03-09T12:26:13.119Z",
+ "input": "[\n {\n \"role\": \"user\",\n \"parts\": [\n {\n \"type\": \"text\",\n \"content\": \"What are my month over month performance insights the past quarter, by cost, displays, clicks, CTR, sales, CVR? Please split by campaign taxonomy\"\n }\n ]\n },\n {\n \"role\": \"assistant\",\n \"parts\": [\n {\n \"type\": \"tool_call\",\n \"id\": \"get_custom_report\",\n \"name\": \"get_custom_report\",\n \"arguments\": {\n \"dimensions\": [\n \"Campaign\"\n ],\n \"filters\": {\n \"dateRange\": {\n \"from_date\": \"2025-10-01\",\n \"to_date\": \"2025-12-31\"\n }\n },\n \"timeDimension\": \"Month\",\n \"metrics\": [\n \"Cost\",\n \"Displays\",\n \"Clicks\",\n \"Ctr\",\n \"Sales\",\n \"Cvr\"\n ]\n }\n },\n {\n \"type\": \"Microsoft.Extensions.AI.TextReasoningContent\",\n \"content\": {\n \"text\": \"\",\n \"protectedData\": \"CooKAY89a1+CDPFO/TMZiXeenaPLkZSQA1LTxbQ7KmbinWe/uwbMou6HLwBeN20ZvZ+7QHhxpopqxYuZugBc3x3GariQWXjIh9esj8BB+ufQmBPUKMGRmM3tSqw0KqQ/TlEqq81dTM6leDfHUfiAfSa45iC4IUVWHtrD9ZXtN6O6HxdxN+/zf5tU3rS1zIKAsDev2nqR2tAYqG9FVtnC4Y//05fVMFq9BQjxlsfYhFn+pMIAnH9/GjM5iIzbg3eqH6EDqIuRHIT+Bg/8+bXd9PPgHKXZlcu/9aaQsOHbh9+8eSOfZgzzZ1wRHYAcj9i5fdnlK3UfKYTBoaXdPoqOc7mVteUKELYSY4xyh0Dzbp/27qTBPG1pgFuoxJV9NDi7zJiMby0HfRRVcL/kpI7z5Vxg3rSCMvlNFQHxVvglsDCoiQAph9373SSUKUvh2LgfclHi/nxcZOhKNpds/SFXj3cjZUi5NpFT/O2qhBat27ztbMpoL2j/aYrQ5HDxE+yJOLgUyeO3LoS+xw1eTsUcGTNb73T2g3RexvR+CuP5JqpFYX9oxU7A/98+DP7UaXSeV1cxHCGWShSvwTMDixO75AMhNspXiYa1ZiFOBmyWhOU4Mdqimh4uNXRmx3SVm8/XIkidZq0ffqXqRyPkN1TI9/Q6Uuy19QMbQZxLHdLYd9cXQCoNvYEYr1X76pHA3UVRnz2hors/vTmAvZqdGYI/42gWKNy5kntAVssG0UOTkrt7cMgW2pZNFTe3aMVvZL5cTuI+ssfxrtl7YqpopDexX1b0szixtkt0O69r1kl8W0ubJ2/YdcJ5NjC2AMaFSceYrU57tbupvBx4UXuOxhIUEX6N3Ce2ctEw1rBm82PabYFnjMs3Jm9jWt9MDXkX4yTVjwoEYFY9ID9DvevwB0C0oWF4NFVLGL6PUFbHwMyBhbab2Py11xfn8HHWokguKc9fsbBOJNnMcRW9zHpiGyYE9bQNbEvanqg12zGMXgRKA5YJgItmt4drDAaWT6TF+GxpBFNNhn6dStlOH/gpv1/VXZ4+lX4+KSgYyNu+NQi+zWJesvDYesooB2lhJfO0+Cvp0ogs++/TmPpQk6MJBF4nblugcfdXe5sd5wMf8ggmzgRRyuOHMhnyf/YPPLHP4cZPjxTtZ1yIYq4VJNlrvn7bTEhbWq3CubPaR8srZHyr9GlPTryxK7Gpi87uFlZdKa6rl0OSwSa+DatBcmPlXymdSbWc7+83mYSQtoLKlKkGESyqfYOmUQv89bx8UbBy8+BrKOlGbK9buQCTii560lj1IqV/IWH4QZ+NUp9KgU5HIKGw5LukDkK1ieWCiKWcQRYOor1oo3GXu6k0OTG01e+bCAvVoIeiZyPFtP5C3Q/wwyYZKZrLWNCg2SJOuIs2xTgidX0lzJY3XUAcTKAUP9xWYG8OLtm/ihzKxVP/rJbWfbir9ORnSqgJfzdXx0bhYzsOB3A0lUMfAGzRF4o4euym8IXMamJGt6xxxX4+prIFQ5G7ktVHhz23WlU6k4BdsaFoHmCu/xmGDsVhhyU1EG9wAbR7MwM5OgdQO9+C6m0tn1W1QzygSvyrDCBhmefwoU7AzZT7wR4WzNrpZefBV1EhDEp4lbRbSNnF85+0jlXcVrBhFeHENd5t9SFy7utTxdNEtBV6rBdvHf3Il6/Q9+mpUkXk8oFqfDHjfm8iubt5vBxYGlQqYGaXxsOVP7/B\"\n }\n }\n ]\n },\n {\n \"role\": \"tool\",\n \"parts\": [\n {\n \"type\": \"tool_call_response\",\n \"id\": \"get_custom_report\",\n \"response\": {\n \"response_status\": \"Error\",\n \"message\": \"ERROR: No data found for dimensions: Campaign and metrics Cost,Displays,Clicks,Ctr,Sales,Cvr.\"\n }\n }\n ]\n },\n {\n \"role\": \"assistant\",\n \"parts\": [\n {\n \"type\": \"text\",\n \"content\": \"I couldn't retrieve the month-over-month performance insights for the past quarter (October 2025 to December 2025) by campaign for the requested metrics (Cost, Displays, Clicks, CTR, Sales, CVR) as no data was found for this period.\\n\\n### Parameters\\n- Data was requested from 2025-10-01 to 2025-12-31 with time zone Europe/London.\\n- Attribution model chosen is 30-Day Post Click\\n- Currency: EUR\\n- Time dimension: Month\\n- Dimensions: Campaign\\n- Metrics: Cost, Displays, Clicks, CTR, Sales, CVR\\n\\nPlease let me know if you'd like to try a different date range or different metrics.\"\n },\n {\n \"type\": \"Microsoft.Extensions.AI.TextReasoningContent\",\n \"content\": {\n \"text\": \"\",\n \"protectedData\": \"CoMDAY89a19Q6ObTtHOu2hKdVHU/YkIqUdXI2wbMU9mAEx5gJYE/7Tcq5y3wgUil8RKE+4mrcce/41Rq8VZBlJdfNiYm4v90K/C+Z+r24iSxOUQGg/q9+WKzh/pCtWj6524QTA1QdAUUj0EmJ0wUkmk2T1yA6LDOPlS43nAyAFqfdRRAv7dhoTseyfjjI5Oo8bgiYYI+wkPbFe8Vnna8WDnDqBm3GvvYXVIMKnMzuJOHuKjxVUkPTTA9ztfykLimi4iRT4QGjWbW4S2Tr2+HiSw3rACygVXv3x7BQ6Y1kCtyS3e0WXQtqlwyb5eON94p+3gpZoRVuTO7fnttEQFUR6WKnsIpEEDvv/JJKvS0qR03602pV9qiTW/15ndgRQN9llMhvXqpShmjkB/+GJNMfri4kqFML9GWo8PKZ+dQr7pjratHJa/eMG4izt8PDwwNh17k6/XjE49sRplKbTXEH5OT2BLVMPGx0OAT2kq2+eSIjzewNKxi79KTsya8mWR4Gcf+olXS\"\n }\n }\n ]\n }\n]",
+ "output": "[\n {\n \"role\": \"assistant\",\n \"parts\": [\n {\n \"type\": \"tool_call\",\n \"id\": \"final_result\",\n \"name\": \"final_result\",\n \"arguments\": {\n \"input\": {\n \"comment\": \"I couldn't retrieve the month-over-month performance insights for the past quarter (October 2025 to December 2025) by campaign for the requested metrics (Cost, Displays, Clicks, CTR, Sales, CVR) as no data was found for this period.\\n\\n### Parameters\\n- Data was requested from 2025-10-01 to 2025-12-31 with time zone Europe/London.\\n- Attribution model chosen is 30-Day Post Click\\n- Currency: EUR\\n- Time dimension: Month\\n- Dimensions: Campaign\\n- Metrics: Cost, Displays, Clicks, CTR, Sales, CVR\\n\\nPlease let me know if you'd like to try a different date range or different metrics.\",\n \"response_status\": \"NoDataFound\",\n \"follow_up_questions\": [\n \"Change date range to last month.\",\n \"Compare CTR across campaigns.\",\n \"Break down by country.\"\n ]\n }\n }\n }\n ],\n \"finish_reason\": \"stop\"\n }\n]",
+ "model": "gemini-2.5-flash",
+ "internalModelId": "cmcnjkfwn000107l43bf5e8ax",
+ "modelParameters": {
+ "seed": 42,
+ "temperature": 0
+ },
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 2.922,
+ "timeToFirstToken": null,
+ "usageDetails": {
+ "input": 2497,
+ "output": 200,
+ "total": 2697
+ },
+ "costDetails": {
+ "input": 0.0007491,
+ "output": 0.0005,
+ "total": 0.0012491
+ },
+ "providedCostDetails": {},
+ "inputCost": 0.0007491,
+ "outputCost": 0.0005,
+ "totalCost": 0.0012491,
+ "inputUsage": 2497,
+ "outputUsage": 200,
+ "totalUsage": 2697,
+ "usagePricingTierId": "cmcnjkfwn000107l43bf5e8ax_tier_default",
+ "usagePricingTierName": "Standard",
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{\"attributes\":{\"gen_ai.operation.name\":\"chat\",\"gen_ai.request.model\":\"gemini-2.5-flash\",\"gen_ai.provider.name\":\"gcp.vertex_ai\",\"server.address\":\"aiplatform.googleapis.com\",\"server.port\":\"443\",\"gen_ai.request.seed\":\"42\",\"gen_ai.request.temperature\":\"0\",\"gen_ai.tool.definitions\":\"[\\n {\\n \\\"type\\\": \\\"function\\\",\\n \\\"name\\\": \\\"final_result\\\",\\n \\\"description\\\": \\\"The final response which ends this conversation. ALWAYS use this tool to return your answer.\\\",\\n \\\"parameters\\\": {\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"input\\\": {\\n \\\"description\\\": \\\"Represents the response generated by an agent after processing a user request.\\\\r\\\\nAny tables and graphs will be generated using data from the internal conversation state.\\\\r\\\\n\\\\r\\\\nThere is no need to explicitly pass the tabular data from any tool as contents of the\\\\r\\\\n\\\\u0060comment\\\\u0060 property. Thus, never generate a markdown table as part of the \\\\u0060comment\\\\u0060 field.\\\\r\\\\n\\\\r\\\\nFields:\\\\r\\\\n comment:\\\\r\\\\n A textual response generated by the agent, adhering to the instructions provided in the conversation\\\\r\\\\n\\\\r\\\\n response_status:\\\\r\\\\n A classification of the response outcome, indicating how the agent handled the request.\\\\r\\\\n follow_up_questions:\\\\r\\\\n A short list of 2\\\\u20133 suggestions for further exploration of the data.\\\",\\n \\\"type\\\": \\\"object\\\",\\n \\\"properties\\\": {\\n \\\"comment\\\": {\\n \\\"description\\\": \\\"A structured explanation accompanying the agent\\\\u0027s response.\\\\r\\\\n\\\\r\\\\nIf the agent successfully answered the question:\\\\r\\\\n- Provides a **summary** of the result.\\\\r\\\\n- Offers a **brief explanation** of key concepts or logic used.\\\\r\\\\n\\\\r\\\\nIf the agent failed to answer:\\\\r\\\\n- Describes the **problem encountered** (e.g., missing data, ambiguous query).\\\\r\\\\n- Explains the **reason for failure** to help the user understand what went wrong.\\\\r\\\\n\\\\r\\\\nNote:\\\\r\\\\nThis field should **never include the full requested data**.\\\\r\\\\nThat will be provided separately.\\\\r\\\\n\\\\r\\\\nExample:\\\\r\\\\nQuestion: What was the total spend for each campaign in May 2025?\\\\r\\\\n\\\\r\\\\nSummary: The total spend for all campaigns in May 2025 was 1,240,391.25.\\\\r\\\\n\\\\r\\\\nExplanation: \\\\u0027Spend\\\\u0027 or \\\\u0027Cost\\\\u0027 refers to the total amount of money invested\\\\r\\\\nin an advertising campaign during a specified period.\\\\r\\\\nIt\\\\u0027s a direct measure of your advertising expenditure.\\\",\\n \\\"type\\\": \\\"string\\\"\\n },\\n \\\"response_status\\\": {\\n \\\"description\\\": \\\" Enumerates the possible outcomes of an agent\\\\u0027s response.\\\\r\\\\n\\\\r\\\\n Glossary:\\\\r\\\\n Success\\\\r\\\\n The agent successfully processed the request and returned a valid response.\\\\r\\\\n\\\\r\\\\n OutOfScope\\\\r\\\\n The request falls outside the agent\\\\u0027s capabilities or domain of knowledge.\\\\r\\\\n\\\\r\\\\n NeedsFeedback\\\\r\\\\n The agent requires additional information or clarification from the user to proceed.\\\\r\\\\n\\\\r\\\\n NoDataFound\\\\r\\\\n The tool call did not return any data.\\\\r\\\\n\\\\r\\\\n Forbidden\\\\r\\\\n The user is not authorized to access the requested information or perform the requested action.\\\\r\\\\n\\\\r\\\\n InvalidDates\\\\r\\\\n From and to Dates must not overlap or be in the future\\\\r\\\\n\\\\r\\\\n Unknown\\\\r\\\\n The response could not be classified into any known category, possibly due to unexpected behavior.\\\",\\n \\\"type\\\": \\\"string\\\",\\n \\\"enum\\\": [\\n \\\"Success\\\",\\n \\\"OutOfScope\\\",\\n \\\"NeedsFeedback\\\",\\n \\\"NoDataFound\\\",\\n \\\"Forbidden\\\",\\n \\\"InvalidDates\\\",\\n \\\"Unknown\\\"\\n ]\\n },\\n \\\"follow_up_questions\\\": {\\n \\\"description\\\": \\\"Include 2\\\\u20133 suggestions for further exploration of the data.\\\\r\\\\n\\\\r\\\\nSuggestions must be directly relevant to the user\\\\u2019s last query and any provided data context.\\\\r\\\\nEach suggestion must be concise (\\\\u2264 8 words).\\\\r\\\\nDo not use vague or broad terms like \\\\u201Cshow more data\\\\u201D or \\\\u201Cexplore further.\\\\u201D\\\\r\\\\nDo not include multiple options in one suggestion (e.g., \\\\u201Cchange date or campaign\\\\u201D is not allowed).\\\\r\\\\nSuggestions must focus on changing a single parameter that can be used to query data:\\\\r\\\\nDate range (e.g., last 7 days, Q1 2025)\\\\r\\\\nTime aggregation (e.g., daily, weekly, monthly)\\\\r\\\\nMetrics (e.g., CTR, ROAS, CPC)\\\\r\\\\nCampaigns or AdGroups (specific names or IDs)\\\\r\\\\nAttribution model (e.g., 7-day click, 30-day view)\\\\r\\\\nBreakdowns (e.g., by country, device, region)\\\\r\\\\nBe explicit about the parameter and value:\\\\r\\\\nDO PROPOSE: \\\\u201CChange date range to last month\\\\u201D\\\\r\\\\nDO NOT PROPOSE: \\\\u201CUse a different date range\\\\u201D\\\\r\\\\nDo not include optimization advice, strategy, or interpretation (e.g., \\\\u201CHow to improve performance\\\\u201D is forbidden).\\\\r\\\\nSuggestions must be actionable queries, not opinions or summaries.\\\\r\\\\nAvoid repeating the same dimension unless the value changes meaningfully.\\\\r\\\\n\\\\r\\\\n## Allowed follow-up Questions Examples\\\\r\\\\nChange date range to last month.\\\\r\\\\nAggregate data by campaign.\\\\r\\\\nCompare CTR across campaigns.\\\\r\\\\nBreak down by country.\\\\r\\\\nUse 7-day click attribution model.\\\\r\\\\n\\\\r\\\\n## Not Allowed follow-up Questions Examples\\\\r\\\\nShow more insights.\\\\r\\\\nExplore other opportunities.\\\\r\\\\nWhat should I change?\\\\r\\\\nAny suggestions for optimization?\\\\r\\\\nGeneral advice or interpretation.\\\",\\n \\\"type\\\": \\\"array\\\",\\n \\\"items\\\": {\\n \\\"type\\\": \\\"string\\\"\\n }\\n }\\n },\\n \\\"required\\\": [\\n \\\"comment\\\",\\n \\\"response_status\\\",\\n \\\"follow_up_questions\\\"\\n ]\\n }\\n },\\n \\\"required\\\": [\\n \\\"input\\\"\\n ]\\n }\\n }\\n]\",\"clientId\":\"22291\",\"date\":\"03/09/2026\",\"gen_ai.system_instructions\":\"[\\n {\\n \\\"type\\\": \\\"text\\\",\\n \\\"content\\\": \\\"You are an expert on statistical analysis for the adtech company Criteo.\\\\nYour goal is to provide marketing statistics from Criteo users' ongoing ad campaigns, along with their full context.\\\\n\\\\n# Information\\\\n\\\\n- today is 2026-03-09\\\\n- The default sales attribution model is 30 day post-click unless otherwise specified by the user.\\\\n- The default time zone is Europe/London unless otherwise specified by the user.\\\\n- The default currency is EUR unless otherwise specified by the user.\\\\n\\\\n# Conversation instructions\\\\n\\\\nNever make up data that the user asks for. You must use the provided tools to retrieve data.\\\\n\\\\nAlways respond in a clear, professional, and conversational manner. Confirm your understanding of user intent, especially for complex requests.\\\\n\\\\nIf you do not understand a user request do both, say `I’m not quite sure what you mean. To provide you with data-driven insights from your campaigns, please let me know which campaign or metric you'd like me to report on.` and also use response_status `OutOfScope`.\\\\n\\\\nIf a user requests any form of data visualization (e.g., `show me a line chart`, `display this data in a graph`, `create a plot`, ...), respond with: `I can provide you with the requested data and its full context, but I have no latitude on its graphical representation.`\\\\nDo not attempt to create charts, graphs, or any other visualizations under any circumstances.\\\\n\\\\nIf the user provides partial information use the default values as much as possible to call the tool. Ask clarifying questions only if strictly necessary. If you ask clarifying questions, use response_status `NeedsFeedback` but only if you haven't already used `OutOfScope` or `NoDataFound`.\\\\n\\\\n## Glossary\\\\n\\\\nHere are some common terms that you might encounter.\\\\n\\\\n- QBR - Quarterly Business Review. A strategic review with the client every quarter.\\\\n- WBR - Weekly Business Review. Operational checkpoints to review weekly performance.\\\\n- MBR - Monthly Business Review. Middle-ground between WBR and QBR.\\\\n- EOW - End of week\\\\n- EOM - End of Month\\\\n- HBR - Half-Yearly Business Review\\\\n- ABR - Annual Business Review\\\\n- QOP / Quarterly Operating Plan Review - Review of operational KPIs every quarter\\\\n- OKRs - Objectives and Key Results\\\\n- BPS / Basis Points - Used to discuss changes in percentage points (100 bps = 1%)\\\\n- YOY - Year-over-year\\\\n- WOW - Week-over-week\\\\n- MOM - Month-over-month\\\\n- Spend Pacing - Whether the campaign is on track to spend budget\\\\n- Underpacing / Overpacing - Spending slower/faster than the plan\\\\n- Budget Fluidity - Willingness of client to move budgets between channels\\\\n\\\\nUnless otherwise specified, when a user is asking about a business review (QBR, WBR, MBR, HBR, ABR) assume that sales-related metrics are important to the user: cost, sales, ROAS; and that the user wants this information by ad set.\\\\n\\\\n## Tool Response\\\\n\\\\nIf a tool responds with a response_status `Retry`. Follow the instructions in `message` and RETRY without asking.\\\\nIf a tool responds with a response_status `DuplicateToolCall`. ALWAYS Move to the next step of your execution plan. You already received the data from the tool.\\\\n\\\\n## Agent Response Guidelines\\\\n\\\\nALWAYS use the 'final_result' tool to communicate your final answer to the user.\\\\nProvide as concise an answer as possible. Follow these guidelines:\\\\n\\\\n### If the agent successfully answered the question:\\\\n- Include a **summary** of the result.\\\\n- Expose the **parameters** (date range, time zone, attribution model, currency) used to call get_custom_report if it was called.\\\\n\\\\n### If the agent failed to answer:\\\\n- Describe the **problem encountered** (e.g., missing data, ambiguous query).\\\\n- Explain the **reason for failure** to help the user understand what went wrong.\\\\n\\\\n### Important:\\\\n- **Never include the full requested data** in the comment.\\\\n- The data will be provided to the user separately.\\\\n- Never call get_custom_report twice with different date ranges. Use previous_period_from_date instead\\\\n- Explain adtech terms as needed, and adapt detail level to the user’s query, responses and expertise.\\\\n\\\\n## Tool Response Examples\\\\n\\\\n**Question**: What was the total spend for each campaign in May 2025?\\\\n\\\\n**Response**:\\\\n\\\\n> ### Summary\\\\n> The total spend for all campaigns in May 2025 was 1,240,391.25.\\\\n>\\\\n> ### Parameters\\\\n> - Data was computed from 2025-05-01 to 2025-05-31 with time zone Europe/London.\\\\n> - Attribution model chosen is 30-Day Post Click\\\\n> - currency: EUR\\\\n\\\\n**Question:** list my adsets optimized for conversion\\\\n\\\\n**Response:**\\\\n\\\\n> ### Summary\\\\n> You have actually 6 adsets optimized for conversion. 2 of them are currently active.\\\\n\\\\n# DATA PRIVACY AND LEGAL REQUIREMENTS\\\\n\\\\n- Conduct: Enforce Criteo Advertising, Supply Partner, and Privacy Guidelines. Promote ethical, compliant, effective advertising.\\\\n- If you reject based on those criteria set final_result.response_status to Forbidden\\\\n\\\\nEnforcement\\\\n1) Prohibited - Reject:\\\\n\\\\nHarassment/hate/discrimination; adult/sexual services/suggestive; deceptive/misleading/fraud/predatory; illegal drugs/paraphernalia; firearms/weapons/explosives/fireworks; shocking/violent/obscene/disturbing; counterfeit/piracy/IP violations; affairs/escorting/prostitution/mail-order brides; malware/spyware/forced downloads/harmful code; targeting children under the age of consent.\\\\nResponse: \\\\\\\"I can't fulfil this request because it involves prohibited advertising content under Criteo's guidelines.\\\\\\\"\\\\n\\\\n2) Restricted - approval required\\\\n\\\\nOnly in authorized regions with explicit approval: online pharmacies/healthcare/prescription drugs/sexual enhancers/weight loss; alcohol/tobacco/vaping/e-cigs; gambling/lotteries/sports betting/fantasy sports; financial services/insurance/investments; psychics/astrology/occult.\\\\nResponse: \\\\\\\"This request falls into a restricted category and can only be fulfilled with prior approval from Criteo and in permitted countries.\\\\\\\"\\\\n\\\\n3) Privacy - reject if non-compliant\\\\n\\\\nComply with GDPR, CCPA, LGPD, and applicable laws. Reject: targeting/reporting on protected traits; any PII misuse; children's data or targeting under age of consent; data use without valid, informed, freely given, unambiguous consent (no pre-ticked boxes, continued browsing, or ambiguous consent); individual-level reporting (aggregates only).\\\\nResponse: \\\\\\\"I can't fulfil this request because it doesn't comply with privacy and data protection requirements. Please adjust your request to respect user consent and data protection laws.\\\\\\\"\\\\n\\\\n- Never speculate or provide unsupported data. Only reference Criteo-approved sources for documentation or support.\\\\n- If handling sensitive data, follow Criteo data privacy guidelines at all times.\\\\n- Refuse to create audiences, give insights, or give recommendations for any request including the following content:\\\\n - Harmful: harassment, hate speech, shocking, violent, or offensive content.\\\\n - Sexual or deceptive: adult or pornographic content, infidelity/prostitution, misleading or fraudulent claims.\\\\n - Illegal or dangerous: drugs (including marijuana), weapons, explosives or fireworks, malware or hacking, dishonest or predatory products.\\\\n - IP violations: counterfeits, piracy, unauthorized use of likeness.\\\\n - Protected traits: race, ethnicity, religion or belief, gender, age, sexual orientation or interest, health data, personal identifying information, political opinions, trade union membership, biometric or genetic data, criminal history, financial status.\\\\n - Children: no targeting under the legal consent age or children's sites. Only broad, legally compliant age ranges may be used.\\\\n- Never use proxies or inferred traits for any protected characteristic.\\\\n\\\"\\n }\\n]\",\"gen_ai.response.finish_reasons\":\"[\\\"stop\\\"]\",\"gen_ai.response.id\":\"XryuadzoKPCTitQPief8-As\",\"gen_ai.response.model\":\"gemini-2.5-flash\",\"gen_ai.usage.input_tokens\":\"2497\",\"gen_ai.usage.output_tokens\":\"200\",\"host.ip\":\"10.65.201.20\",\"host.name\":\"kube-worker0277.kubes10.da1.preprod.crto.in\",\"deployment.environment.name\":\"preprod\",\"criteo.service.pool\":\"default\",\"criteo.dc\":\"da1\",\"service.version\":\"105537\",\"service.instance.id\":\"10NDX\"},\"resourceAttributes\":{\"deployment.environment.name\":\"preprod\",\"service.name\":\"agentic-clientinsights\",\"service.version\":\"105537\",\"service.instance.id\":\"10NDX\"},\"scope\":{\"name\":\"Experimental.Microsoft.Extensions.AI\",\"version\":\"\",\"attributes\":{}}}",
+ "internalModel": "cmcnjkfwn000107l43bf5e8ax"
+ },
+ {
+ "id": "5b9ba1e61e2e10fc",
+ "traceId": "933dba1e9783f89d5d8bb032f041a2de",
+ "startTime": "2026-03-09T12:25:54.654Z",
+ "endTime": "2026-03-09T12:26:09.505Z",
+ "projectId": "cml84ntcb01hgad07c302ud72",
+ "parentObservationId": "1db8118c6ecfd744",
+ "type": "SPAN",
+ "environment": "preprod",
+ "name": "Insights Agent C#",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": "105537",
+ "createdAt": "2026-03-09T12:26:13.119Z",
+ "updatedAt": "2026-03-09T12:26:13.120Z",
+ "input": "What are my month over month performance insights the past quarter, by cost, displays, clicks, CTR, sales, CVR? Please split by campaign taxonomy",
+ "output": "{\"response\":{\"comment\":\"I couldn\\u0027t retrieve the month-over-month performance insights for the past quarter (October 2025 to December 2025) by campaign for the requested metrics (Cost, Displays, Clicks, CTR, Sales, CVR) as no data was found for this period.\\n\\n### Parameters\\n- Data was requested from 2025-10-01 to 2025-12-31 with time zone Europe/London.\\n- Attribution model chosen is 30-Day Post Click\\n- Currency: EUR\\n- Time dimension: Month\\n- Dimensions: Campaign\\n- Metrics: Cost, Displays, Clicks, CTR, Sales, CVR\\n\\nPlease let me know if you\\u0027d like to try a different date range or different metrics.\",\"response\":[],\"response_status\":\"noDataFound\",\"followup_questions\":[\"Change date range to last month.\",\"Compare CTR across campaigns.\",\"Break down by country.\"],\"response_context\":null},\"client_id\":22291,\"session_id\":\"9714061f-20c0-4d98-9220-1dc7df15c3c2\",\"trace_id\":\"933dba1e9783f89d5d8bb032f041a2de\",\"tool_inputs\":null}",
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": null,
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 14.851,
+ "timeToFirstToken": null,
+ "usageDetails": {},
+ "costDetails": {},
+ "providedCostDetails": {},
+ "inputCost": null,
+ "outputCost": null,
+ "totalCost": 0,
+ "inputUsage": 0,
+ "outputUsage": 0,
+ "totalUsage": 0,
+ "usagePricingTierId": null,
+ "usagePricingTierName": null,
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{\"attributes\":{\"otel.exception_pointers\":\"94867131908120\",\"langfuse.trace.name\":\"Insights Agent C#\",\"langfuse.observation.type\":\"span\",\"user.id\":\"g.aprozeanu\",\"session.id\":\"9714061f-20c0-4d98-9220-1dc7df15c3c2\",\"host.ip\":\"10.65.201.20\",\"host.name\":\"kube-worker0277.kubes10.da1.preprod.crto.in\",\"deployment.environment.name\":\"preprod\",\"criteo.service.pool\":\"default\",\"criteo.dc\":\"da1\",\"service.version\":\"105537\",\"service.instance.id\":\"10NDX\"},\"resourceAttributes\":{\"deployment.environment.name\":\"preprod\",\"service.name\":\"agentic-clientinsights\",\"service.version\":\"105537\",\"service.instance.id\":\"10NDX\"},\"scope\":{\"name\":\"Criteo.Langfuse\",\"version\":\"\",\"attributes\":{}}}",
+ "internalModel": null
+ },
+ {
+ "id": "8b9b68803d88be77",
+ "traceId": "933dba1e9783f89d5d8bb032f041a2de",
+ "startTime": "2026-03-09T12:26:06.562Z",
+ "endTime": "2026-03-09T12:26:09.484Z",
+ "projectId": "cml84ntcb01hgad07c302ud72",
+ "parentObservationId": "5b9ba1e61e2e10fc",
+ "type": "SPAN",
+ "environment": "preprod",
+ "name": "orchestrate_tools",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": "105537",
+ "createdAt": "2026-03-09T12:26:13.119Z",
+ "updatedAt": "2026-03-09T12:26:13.120Z",
+ "input": null,
+ "output": null,
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": null,
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 2.922,
+ "timeToFirstToken": null,
+ "usageDetails": {},
+ "costDetails": {},
+ "providedCostDetails": {},
+ "inputCost": null,
+ "outputCost": null,
+ "totalCost": 0,
+ "inputUsage": 0,
+ "outputUsage": 0,
+ "totalUsage": 0,
+ "usagePricingTierId": null,
+ "usagePricingTierName": null,
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{\"attributes\":{\"gen_ai.usage.input_tokens\":\"2497\",\"gen_ai.usage.output_tokens\":\"200\",\"host.ip\":\"10.65.201.20\",\"host.name\":\"kube-worker0277.kubes10.da1.preprod.crto.in\",\"deployment.environment.name\":\"preprod\",\"criteo.service.pool\":\"default\",\"criteo.dc\":\"da1\",\"service.version\":\"105537\",\"service.instance.id\":\"10NDX\"},\"resourceAttributes\":{\"deployment.environment.name\":\"preprod\",\"service.name\":\"agentic-clientinsights\",\"service.version\":\"105537\",\"service.instance.id\":\"10NDX\"},\"scope\":{\"name\":\"Experimental.Microsoft.Extensions.AI\",\"version\":\"\",\"attributes\":{}}}",
+ "internalModel": null
+ },
+ {
+ "id": "f858b986537e9e41",
+ "traceId": "933dba1e9783f89d5d8bb032f041a2de",
+ "startTime": "2026-03-09T12:25:54.654Z",
+ "endTime": "2026-03-09T12:26:06.562Z",
+ "projectId": "cml84ntcb01hgad07c302ud72",
+ "parentObservationId": "5b9ba1e61e2e10fc",
+ "type": "SPAN",
+ "environment": "preprod",
+ "name": "orchestrate_tools",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": "105537",
+ "createdAt": "2026-03-09T12:26:07.964Z",
+ "updatedAt": "2026-03-09T12:26:07.965Z",
+ "input": null,
+ "output": null,
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": null,
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 11.908,
+ "timeToFirstToken": null,
+ "usageDetails": {},
+ "costDetails": {},
+ "providedCostDetails": {},
+ "inputCost": null,
+ "outputCost": null,
+ "totalCost": 0,
+ "inputUsage": 0,
+ "outputUsage": 0,
+ "totalUsage": 0,
+ "usagePricingTierId": null,
+ "usagePricingTierName": null,
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{\"attributes\":{\"otel.exception_pointers\":\"94867131908120\",\"gen_ai.usage.input_tokens\":\"5550\",\"gen_ai.usage.output_tokens\":\"214\",\"host.ip\":\"10.65.201.20\",\"host.name\":\"kube-worker0277.kubes10.da1.preprod.crto.in\",\"deployment.environment.name\":\"preprod\",\"criteo.service.pool\":\"default\",\"criteo.dc\":\"da1\",\"service.version\":\"105537\",\"service.instance.id\":\"10NDX\"},\"resourceAttributes\":{\"deployment.environment.name\":\"preprod\",\"service.name\":\"agentic-clientinsights\",\"service.version\":\"105537\",\"service.instance.id\":\"10NDX\"},\"scope\":{\"name\":\"Experimental.Microsoft.Extensions.AI\",\"version\":\"\",\"attributes\":{}}}",
+ "internalModel": null
+ },
+ {
+ "id": "390601577d7e35c2",
+ "traceId": "933dba1e9783f89d5d8bb032f041a2de",
+ "startTime": "2026-03-09T12:26:09.484Z",
+ "endTime": "2026-03-09T12:26:09.484Z",
+ "projectId": "cml84ntcb01hgad07c302ud72",
+ "parentObservationId": "8b9b68803d88be77",
+ "type": "TOOL",
+ "environment": "preprod",
+ "name": "final_result",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": "105537",
+ "createdAt": "2026-03-09T12:26:13.119Z",
+ "updatedAt": "2026-03-09T12:26:13.119Z",
+ "input": "{\n \"input\": {\n \"comment\": \"I couldn't retrieve the month-over-month performance insights for the past quarter (October 2025 to December 2025) by campaign for the requested metrics (Cost, Displays, Clicks, CTR, Sales, CVR) as no data was found for this period.\\n\\n### Parameters\\n- Data was requested from 2025-10-01 to 2025-12-31 with time zone Europe/London.\\n- Attribution model chosen is 30-Day Post Click\\n- Currency: EUR\\n- Time dimension: Month\\n- Dimensions: Campaign\\n- Metrics: Cost, Displays, Clicks, CTR, Sales, CVR\\n\\nPlease let me know if you'd like to try a different date range or different metrics.\",\n \"response_status\": \"NoDataFound\",\n \"follow_up_questions\": [\n \"Change date range to last month.\",\n \"Compare CTR across campaigns.\",\n \"Break down by country.\"\n ]\n }\n}",
+ "output": "null",
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": {},
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 0,
+ "timeToFirstToken": null,
+ "usageDetails": {},
+ "costDetails": {},
+ "providedCostDetails": {},
+ "inputCost": null,
+ "outputCost": null,
+ "totalCost": 0,
+ "inputUsage": 0,
+ "outputUsage": 0,
+ "totalUsage": 0,
+ "usagePricingTierId": null,
+ "usagePricingTierName": null,
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{\"attributes\":{\"gen_ai.operation.name\":\"execute_tool\",\"gen_ai.tool.type\":\"function\",\"gen_ai.tool.call.id\":\"final_result\",\"gen_ai.tool.name\":\"final_result\",\"gen_ai.tool.description\":\"The final response which ends this conversation. ALWAYS use this tool to return your answer.\",\"host.ip\":\"10.65.201.20\",\"host.name\":\"kube-worker0277.kubes10.da1.preprod.crto.in\",\"deployment.environment.name\":\"preprod\",\"criteo.service.pool\":\"default\",\"criteo.dc\":\"da1\",\"service.version\":\"105537\",\"service.instance.id\":\"10NDX\"},\"resourceAttributes\":{\"deployment.environment.name\":\"preprod\",\"service.name\":\"agentic-clientinsights\",\"service.version\":\"105537\",\"service.instance.id\":\"10NDX\"},\"scope\":{\"name\":\"Experimental.Microsoft.Extensions.AI\",\"version\":\"\",\"attributes\":{}}}",
+ "internalModel": null
+ },
+ {
+ "id": "5977f5594f537b9e",
+ "traceId": "933dba1e9783f89d5d8bb032f041a2de",
+ "startTime": "2026-03-09T12:26:00.805Z",
+ "endTime": "2026-03-09T12:26:03.164Z",
+ "projectId": "cml84ntcb01hgad07c302ud72",
+ "parentObservationId": "f858b986537e9e41",
+ "type": "TOOL",
+ "environment": "preprod",
+ "name": "get_custom_report",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": "105537",
+ "createdAt": "2026-03-09T12:26:07.964Z",
+ "updatedAt": "2026-03-09T12:26:07.964Z",
+ "input": "{\n \"dimensions\": [\n \"Campaign\"\n ],\n \"filters\": {\n \"dateRange\": {\n \"from_date\": \"2025-10-01\",\n \"to_date\": \"2025-12-31\"\n }\n },\n \"timeDimension\": \"Month\",\n \"metrics\": [\n \"Cost\",\n \"Displays\",\n \"Clicks\",\n \"Ctr\",\n \"Sales\",\n \"Cvr\"\n ]\n}",
+ "output": "{\n \"response_status\": \"Error\",\n \"message\": \"ERROR: No data found for dimensions: Campaign and metrics Cost,Displays,Clicks,Ctr,Sales,Cvr.\"\n}",
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": {},
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 2.359,
+ "timeToFirstToken": null,
+ "usageDetails": {},
+ "costDetails": {},
+ "providedCostDetails": {},
+ "inputCost": null,
+ "outputCost": null,
+ "totalCost": 0,
+ "inputUsage": 0,
+ "outputUsage": 0,
+ "totalUsage": 0,
+ "usagePricingTierId": null,
+ "usagePricingTierName": null,
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{\"attributes\":{\"gen_ai.operation.name\":\"execute_tool\",\"gen_ai.tool.type\":\"function\",\"gen_ai.tool.call.id\":\"get_custom_report\",\"gen_ai.tool.name\":\"get_custom_report\",\"gen_ai.tool.description\":\"Calls the API to retrieve client data.\\r\\n\\r\\nArgs:\\r\\n filters: An object containing the built-in filters.\\r\\n Default values are provided if needed.\\r\\n timeDimension: Time-based dimension for data projections; specifies the granularity at which data will be grouped.\\r\\n Possible values and examples:\\r\\n - None: Indicates that the user has not provided any clear time dimension.\\r\\n This should be selected when there is no explicit instruction.\\r\\n Do NOT infer or assume a value; use None unless the user specifies otherwise.\\r\\n - Year: Represents a calendar year.\\r\\n Examples: per year, by year, year-over-year comparisons (YoY), yearly trend analysis.\\r\\n - Month: Represents a calendar month.\\r\\n Examples: per month, by month, month-over-month comparisons (MoM), monthly performance reports.\\r\\n - Week: Represents a calendar week.\\r\\n Examples: per week, by week, week-over-week comparisons (WoW), weekly campaign summaries.\\r\\n - Day: Represents a calendar day.\\r\\n Examples: per day, by day, day-over-day comparisons (DoD), daily performance tracking.\\r\\n - Hour: Represents an hour within a day.\\r\\n Examples: per hour, by hour, hourly trend analysis, intraday performance monitoring.\\r\\n dimensions: A list of dimensions that define the granularity of the report.\\r\\n Example: [os, device]\\r\\n metrics: A list of performance indicators to retrieve.\\r\\n Example: [clicks, ctr]\\r\\n attributionModel: Specifies the model used to measure sales.\\r\\n Optional.\\r\\n additionalFilters: Custom filters applied to the data.\\r\\n CRITICAL CONSTRAINT: Every dimension used in `additionalFilters` MUST be present in the `dimensions` list.\\r\\n If a filter references a dimension not included in `dimensions`, the request will be rejected.\\r\\n\\r\\nNotes:\\r\\n - Dimensions determine the level of detail in the report.\\r\\n - Metrics represent the KPIs to monitor campaign performance.\\r\\n - Filters restrict the dataset retrieved from the API.\\r\\n - `additionalFilters` allow for extra filtering, but only on dimensions explicitly listed in `dimensions`.\",\"api_url\":\"https://marketing.preprod.criteo.com/modules/analytics/dashboards/mc-custom/api/datasets/report?clientIds=22291&granularity=WEEK&dateRange=en,Europe/London,1,2025-10-01_2025-12-31&hasTotal=false&version=default&currency=EUR&dimensions=campaign,month&metrics=cost,displays,clicks,ctr,sales_pcnd,cvr\",\"host.ip\":\"10.65.201.20\",\"host.name\":\"kube-worker0277.kubes10.da1.preprod.crto.in\",\"deployment.environment.name\":\"preprod\",\"criteo.service.pool\":\"default\",\"criteo.dc\":\"da1\",\"service.version\":\"105537\",\"service.instance.id\":\"10NDX\"},\"resourceAttributes\":{\"deployment.environment.name\":\"preprod\",\"service.name\":\"agentic-clientinsights\",\"service.version\":\"105537\",\"service.instance.id\":\"10NDX\"},\"scope\":{\"name\":\"Experimental.Microsoft.Extensions.AI\",\"version\":\"\",\"attributes\":{}}}",
+ "internalModel": null
+ }
+ ]
+}
diff --git a/worker/src/__tests__/chatml/framework-traces/download_traces.js b/worker/src/__tests__/chatml/framework-traces/download_traces.js
index 450c047b73..f06fe5ed44 100644
--- a/worker/src/__tests__/chatml/framework-traces/download_traces.js
+++ b/worker/src/__tests__/chatml/framework-traces/download_traces.js
@@ -8,6 +8,7 @@ const path = require("node:path");
* @property {string} fileNamePrefix
* @property {string} traceId
* @property {string} projectId
+ * @property {string} baseUrl
*/
/** @type {TraceToDownload[]} */
@@ -52,11 +53,13 @@ const TRACES_TO_DOWNLOAD = [
traceId: "dff173a675b759ce1b70e522b27d6846",
projectId: "cmcmdwcag00c2ad077xp1qnyc",
},
+ /*
{
fileNamePrefix: "langchain-deepagent",
traceId: "22e55d4fa6359f400a800dfaed5ce666",
projectId: "cloramnkj0002jz088vzn1ja4",
},
+ */
{
fileNamePrefix: "langgraph-js",
traceId: "2c1581dd9cecdafb6ca091b83d7ea99a",
@@ -97,6 +100,19 @@ const TRACES_TO_DOWNLOAD = [
traceId: "0298935e31d66d7de9487cac935d7d99",
projectId: "cloramnkj0002jz088vzn1ja4",
},
+ {
+ //from https://github.com/langfuse/langfuse/issues/11307
+ fileNamePrefix: "pydantic-ai-with-gemini",
+ traceId: "f68601af42c4a35e1d5e4699de569c1f",
+ projectId: "cmjjlsmpf01q5ad083m5ud2p5",
+ baseUrl: "https://us.cloud.langfuse.com",
+ },
+ {
+ //from https://github.com/langfuse/langfuse/issues/12550
+ fileNamePrefix: "csharp-agent-with-gemini",
+ traceId: "933dba1e9783f89d5d8bb032f041a2de",
+ projectId: "cml84ntcb01hgad07c302ud72",
+ },
];
async function fetchTrpJsonObject(url) {
@@ -124,7 +140,7 @@ async function fetchTrpJsonObject(url) {
return trpcJson.result.data.json;
}
-function buildTraceUrl({ traceId, projectId }) {
+function buildTraceUrl({ traceId, projectId, baseUrl }) {
const input = encodeURIComponent(
JSON.stringify({
json: {
@@ -133,10 +149,10 @@ function buildTraceUrl({ traceId, projectId }) {
},
}),
);
- return `https://cloud.langfuse.com/api/trpc/traces.byIdWithObservationsAndScores?input=${input}`;
+ return `${baseUrl}/api/trpc/traces.byIdWithObservationsAndScores?input=${input}`;
}
-function buildObservationUrl({ observationId, traceId, projectId }) {
+function buildObservationUrl({ observationId, traceId, projectId, baseUrl }) {
const input = encodeURIComponent(
JSON.stringify({
json: {
@@ -146,7 +162,7 @@ function buildObservationUrl({ observationId, traceId, projectId }) {
},
}),
);
- return `https://cloud.langfuse.com/api/trpc/observations.byId?input=${input}`;
+ return `${baseUrl}/api/trpc/observations.byId?input=${input}`;
}
//Main
@@ -156,10 +172,26 @@ async function main() {
for (const traceToDownload of TRACES_TO_DOWNLOAD) {
process.stdout.write(`${traceToDownload.fileNamePrefix}: loading trace `);
+ //if trace file already exists, skip downloading to avoid hitting rate limit and also avoid unnecessary downloading
+ const existingFile = fs
+ .readdirSync(__dirname)
+ .find(
+ (f) =>
+ f.startsWith(traceToDownload.fileNamePrefix) &&
+ f.endsWith(".trace.json"),
+ );
+ if (existingFile) {
+ process.stdout.write(
+ `\r${traceToDownload.fileNamePrefix}: trace file ${existingFile} already exists, skipping download\n`,
+ );
+ continue;
+ }
+
//collect trace and observations
const traceUrl = buildTraceUrl({
traceId: traceToDownload.traceId,
projectId: traceToDownload.projectId,
+ baseUrl: traceToDownload.baseUrl ?? "https://cloud.langfuse.com",
});
const trace = await fetchTrpJsonObject(traceUrl);
@@ -167,13 +199,20 @@ async function main() {
process.stdout.write(
`\r${traceToDownload.fileNamePrefix}: loading ${trace.observations?.length ?? 0} observations`,
);
- trace.observations.sort((a, b) => a.startTime - b.startTime);
+ //stable sort observations: by startTime, then id as tie-breaker
+ trace.observations.sort((a, b) => {
+ if (a.startTime !== b.startTime) {
+ return a.startTime - b.startTime;
+ }
+ return a.id - b.id; // tie-breaker
+ });
const observations = await Promise.all(
trace.observations.map(async (observation) => {
const observationUrl = buildObservationUrl({
observationId: observation.id,
traceId: traceToDownload.traceId,
projectId: traceToDownload.projectId,
+ baseUrl: traceToDownload.baseUrl ?? "https://cloud.langfuse.com",
});
return await fetchTrpJsonObject(observationUrl);
}),
diff --git a/worker/src/__tests__/chatml/framework-traces/google-adk-2025-08-28.trace.json b/worker/src/__tests__/chatml/framework-traces/google-adk-2025-08-28.trace.json
index bbe7f7d1ea..4288bd8df3 100644
--- a/worker/src/__tests__/chatml/framework-traces/google-adk-2025-08-28.trace.json
+++ b/worker/src/__tests__/chatml/framework-traces/google-adk-2025-08-28.trace.json
@@ -70,90 +70,6 @@
"corrections": [],
"latency": 1.848,
"observations": [
- {
- "id": "6d8beb2e6a36b133",
- "traceId": "b82a0bdc1994fc5d1c8576ca032543f7",
- "startTime": "2025-08-28T07:32:30.304Z",
- "endTime": "2025-08-28T07:32:32.150Z",
- "projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "86cd4912944ddc41",
- "type": "AGENT",
- "environment": "default",
- "name": "agent_run [hello_agent]",
- "level": "DEFAULT",
- "statusMessage": null,
- "version": null,
- "createdAt": "2025-08-28T07:32:35.210Z",
- "updatedAt": "2025-08-28T07:32:35.239Z",
- "input": null,
- "output": null,
- "model": null,
- "internalModelId": null,
- "modelParameters": {},
- "completionStartTime": null,
- "promptId": null,
- "promptName": null,
- "promptVersion": null,
- "latency": 1.846,
- "timeToFirstToken": null,
- "usageDetails": {},
- "costDetails": {},
- "providedCostDetails": {},
- "inputCost": null,
- "outputCost": null,
- "totalCost": 0,
- "inputUsage": 0,
- "outputUsage": 0,
- "totalUsage": 0,
- "usagePricingTierId": null,
- "usagePricingTierName": null,
- "toolDefinitions": {},
- "toolCalls": [],
- "toolCallNames": [],
- "metadata": "{}"
- },
- {
- "id": "86cd4912944ddc41",
- "traceId": "b82a0bdc1994fc5d1c8576ca032543f7",
- "startTime": "2025-08-28T07:32:30.303Z",
- "endTime": "2025-08-28T07:32:32.151Z",
- "projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": null,
- "type": "CHAIN",
- "environment": "default",
- "name": "invocation [hello_app]",
- "level": "DEFAULT",
- "statusMessage": null,
- "version": null,
- "createdAt": "2025-08-28T07:32:35.209Z",
- "updatedAt": "2025-08-28T07:32:35.243Z",
- "input": null,
- "output": null,
- "model": null,
- "internalModelId": null,
- "modelParameters": {},
- "completionStartTime": null,
- "promptId": null,
- "promptName": null,
- "promptVersion": null,
- "latency": 1.848,
- "timeToFirstToken": null,
- "usageDetails": {},
- "costDetails": {},
- "providedCostDetails": {},
- "inputCost": null,
- "outputCost": null,
- "totalCost": 0,
- "inputUsage": 0,
- "outputUsage": 0,
- "totalUsage": 0,
- "usagePricingTierId": null,
- "usagePricingTierName": null,
- "toolDefinitions": {},
- "toolCalls": [],
- "toolCallNames": [],
- "metadata": "{}"
- },
{
"id": "bded677884f031ce",
"traceId": "b82a0bdc1994fc5d1c8576ca032543f7",
@@ -262,6 +178,90 @@
"toolCallNames": [],
"metadata": "{}"
},
+ {
+ "id": "86cd4912944ddc41",
+ "traceId": "b82a0bdc1994fc5d1c8576ca032543f7",
+ "startTime": "2025-08-28T07:32:30.303Z",
+ "endTime": "2025-08-28T07:32:32.151Z",
+ "projectId": "cloramnkj0002jz088vzn1ja4",
+ "parentObservationId": null,
+ "type": "CHAIN",
+ "environment": "default",
+ "name": "invocation [hello_app]",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": null,
+ "createdAt": "2025-08-28T07:32:35.209Z",
+ "updatedAt": "2025-08-28T07:32:35.243Z",
+ "input": null,
+ "output": null,
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": {},
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 1.848,
+ "timeToFirstToken": null,
+ "usageDetails": {},
+ "costDetails": {},
+ "providedCostDetails": {},
+ "inputCost": null,
+ "outputCost": null,
+ "totalCost": 0,
+ "inputUsage": 0,
+ "outputUsage": 0,
+ "totalUsage": 0,
+ "usagePricingTierId": null,
+ "usagePricingTierName": null,
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{}"
+ },
+ {
+ "id": "6d8beb2e6a36b133",
+ "traceId": "b82a0bdc1994fc5d1c8576ca032543f7",
+ "startTime": "2025-08-28T07:32:30.304Z",
+ "endTime": "2025-08-28T07:32:32.150Z",
+ "projectId": "cloramnkj0002jz088vzn1ja4",
+ "parentObservationId": "86cd4912944ddc41",
+ "type": "AGENT",
+ "environment": "default",
+ "name": "agent_run [hello_agent]",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": null,
+ "createdAt": "2025-08-28T07:32:35.210Z",
+ "updatedAt": "2025-08-28T07:32:35.239Z",
+ "input": null,
+ "output": null,
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": {},
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 1.846,
+ "timeToFirstToken": null,
+ "usageDetails": {},
+ "costDetails": {},
+ "providedCostDetails": {},
+ "inputCost": null,
+ "outputCost": null,
+ "totalCost": 0,
+ "inputUsage": 0,
+ "outputUsage": 0,
+ "totalUsage": 0,
+ "usagePricingTierId": null,
+ "usagePricingTierName": null,
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{}"
+ },
{
"id": "04290e4d82aba1bc",
"traceId": "b82a0bdc1994fc5d1c8576ca032543f7",
@@ -307,92 +307,6 @@
]
},
"observations": [
- {
- "id": "6d8beb2e6a36b133",
- "traceId": "b82a0bdc1994fc5d1c8576ca032543f7",
- "startTime": "2025-08-28T07:32:30.304Z",
- "endTime": "2025-08-28T07:32:32.150Z",
- "projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "86cd4912944ddc41",
- "type": "AGENT",
- "environment": "default",
- "name": "agent_run [hello_agent]",
- "level": "DEFAULT",
- "statusMessage": null,
- "version": null,
- "createdAt": "2025-08-28T07:32:35.210Z",
- "updatedAt": "2025-08-28T07:32:35.239Z",
- "input": null,
- "output": "{\"content\":{\"parts\":[{\"text\":\"Hello Langfuse 👋!\\n\"}],\"role\":\"model\"},\"finish_reason\":\"STOP\",\"usage_metadata\":{\"candidates_token_count\":6,\"candidates_tokens_details\":[{\"modality\":\"TEXT\",\"token_count\":6}],\"prompt_token_count\":39,\"prompt_tokens_details\":[{\"modality\":\"TEXT\",\"token_count\":39}],\"total_token_count\":45},\"invocation_id\":\"e-5022fa36-69c5-4fe7-bb37-662704dcb713\",\"author\":\"hello_agent\",\"actions\":{\"state_delta\":{},\"artifact_delta\":{},\"requested_auth_configs\":{}},\"id\":\"f2596747-d905-44bc-b85c-1e9692c3249c\",\"timestamp\":1756366351.22196}",
- "model": null,
- "internalModelId": null,
- "modelParameters": {},
- "completionStartTime": null,
- "promptId": null,
- "promptName": null,
- "promptVersion": null,
- "latency": 1.846,
- "timeToFirstToken": null,
- "usageDetails": {},
- "costDetails": {},
- "providedCostDetails": {},
- "inputCost": null,
- "outputCost": null,
- "totalCost": 0,
- "inputUsage": 0,
- "outputUsage": 0,
- "totalUsage": 0,
- "usagePricingTierId": null,
- "usagePricingTierName": null,
- "toolDefinitions": {},
- "toolCalls": [],
- "toolCallNames": [],
- "metadata": "{\"attributes\":{\"session.id\":\"demo-session\",\"user.id\":\"demo-user\",\"output.value\":\"{\\\"content\\\":{\\\"parts\\\":[{\\\"text\\\":\\\"Hello Langfuse 👋!\\\\n\\\"}],\\\"role\\\":\\\"model\\\"},\\\"finish_reason\\\":\\\"STOP\\\",\\\"usage_metadata\\\":{\\\"candidates_token_count\\\":6,\\\"candidates_tokens_details\\\":[{\\\"modality\\\":\\\"TEXT\\\",\\\"token_count\\\":6}],\\\"prompt_token_count\\\":39,\\\"prompt_tokens_details\\\":[{\\\"modality\\\":\\\"TEXT\\\",\\\"token_count\\\":39}],\\\"total_token_count\\\":45},\\\"invocation_id\\\":\\\"e-5022fa36-69c5-4fe7-bb37-662704dcb713\\\",\\\"author\\\":\\\"hello_agent\\\",\\\"actions\\\":{\\\"state_delta\\\":{},\\\"artifact_delta\\\":{},\\\"requested_auth_configs\\\":{}},\\\"id\\\":\\\"f2596747-d905-44bc-b85c-1e9692c3249c\\\",\\\"timestamp\\\":1756366351.22196}\",\"output.mime_type\":\"application/json\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.36.0\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.google_adk\",\"version\":\"0.1.3\",\"attributes\":{}}}",
- "internalModel": null
- },
- {
- "id": "86cd4912944ddc41",
- "traceId": "b82a0bdc1994fc5d1c8576ca032543f7",
- "startTime": "2025-08-28T07:32:30.303Z",
- "endTime": "2025-08-28T07:32:32.151Z",
- "projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": null,
- "type": "CHAIN",
- "environment": "default",
- "name": "invocation [hello_app]",
- "level": "DEFAULT",
- "statusMessage": null,
- "version": null,
- "createdAt": "2025-08-28T07:32:35.209Z",
- "updatedAt": "2025-08-28T07:32:35.243Z",
- "input": "{\"user_id\": \"demo-user\", \"session_id\": \"demo-session\", \"new_message\": {\"parts\": [{\"text\": \"hi\"}], \"role\": \"user\"}, \"state_delta\": null, \"run_config\": {\"save_input_blobs_as_artifacts\": false, \"support_cfc\": false, \"streaming_mode\": \"StreamingMode.NONE\", \"max_llm_calls\": 500}}",
- "output": "{\"content\":{\"parts\":[{\"text\":\"Hello Langfuse 👋!\\n\"}],\"role\":\"model\"},\"finish_reason\":\"STOP\",\"usage_metadata\":{\"candidates_token_count\":6,\"candidates_tokens_details\":[{\"modality\":\"TEXT\",\"token_count\":6}],\"prompt_token_count\":39,\"prompt_tokens_details\":[{\"modality\":\"TEXT\",\"token_count\":39}],\"total_token_count\":45},\"invocation_id\":\"e-5022fa36-69c5-4fe7-bb37-662704dcb713\",\"author\":\"hello_agent\",\"actions\":{\"state_delta\":{},\"artifact_delta\":{},\"requested_auth_configs\":{}},\"id\":\"f2596747-d905-44bc-b85c-1e9692c3249c\",\"timestamp\":1756366351.22196}",
- "model": null,
- "internalModelId": null,
- "modelParameters": {},
- "completionStartTime": null,
- "promptId": null,
- "promptName": null,
- "promptVersion": null,
- "latency": 1.848,
- "timeToFirstToken": null,
- "usageDetails": {},
- "costDetails": {},
- "providedCostDetails": {},
- "inputCost": null,
- "outputCost": null,
- "totalCost": 0,
- "inputUsage": 0,
- "outputUsage": 0,
- "totalUsage": 0,
- "usagePricingTierId": null,
- "usagePricingTierName": null,
- "toolDefinitions": {},
- "toolCalls": [],
- "toolCallNames": [],
- "metadata": "{\"attributes\":{\"input.value\":\"{\\\"user_id\\\": \\\"demo-user\\\", \\\"session_id\\\": \\\"demo-session\\\", \\\"new_message\\\": {\\\"parts\\\": [{\\\"text\\\": \\\"hi\\\"}], \\\"role\\\": \\\"user\\\"}, \\\"state_delta\\\": null, \\\"run_config\\\": {\\\"save_input_blobs_as_artifacts\\\": false, \\\"support_cfc\\\": false, \\\"streaming_mode\\\": \\\"StreamingMode.NONE\\\", \\\"max_llm_calls\\\": 500}}\",\"input.mime_type\":\"application/json\",\"user.id\":\"demo-user\",\"session.id\":\"demo-session\",\"output.value\":\"{\\\"content\\\":{\\\"parts\\\":[{\\\"text\\\":\\\"Hello Langfuse 👋!\\\\n\\\"}],\\\"role\\\":\\\"model\\\"},\\\"finish_reason\\\":\\\"STOP\\\",\\\"usage_metadata\\\":{\\\"candidates_token_count\\\":6,\\\"candidates_tokens_details\\\":[{\\\"modality\\\":\\\"TEXT\\\",\\\"token_count\\\":6}],\\\"prompt_token_count\\\":39,\\\"prompt_tokens_details\\\":[{\\\"modality\\\":\\\"TEXT\\\",\\\"token_count\\\":39}],\\\"total_token_count\\\":45},\\\"invocation_id\\\":\\\"e-5022fa36-69c5-4fe7-bb37-662704dcb713\\\",\\\"author\\\":\\\"hello_agent\\\",\\\"actions\\\":{\\\"state_delta\\\":{},\\\"artifact_delta\\\":{},\\\"requested_auth_configs\\\":{}},\\\"id\\\":\\\"f2596747-d905-44bc-b85c-1e9692c3249c\\\",\\\"timestamp\\\":1756366351.22196}\",\"output.mime_type\":\"application/json\",\"openinference.span.kind\":\"CHAIN\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.36.0\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.google_adk\",\"version\":\"0.1.3\",\"attributes\":{}}}",
- "internalModel": null
- },
{
"id": "bded677884f031ce",
"traceId": "b82a0bdc1994fc5d1c8576ca032543f7",
@@ -503,6 +417,92 @@
"metadata": "{\"attributes\":{\"session.id\":\"demo-session\",\"user.id\":\"demo-user\",\"gen_ai.system\":\"gcp.vertex.agent\",\"gen_ai.request.model\":\"gemini-2.0-flash\",\"gcp.vertex.agent.invocation_id\":\"e-5022fa36-69c5-4fe7-bb37-662704dcb713\",\"gcp.vertex.agent.session_id\":\"demo-session\",\"gcp.vertex.agent.event_id\":\"5e9ed38f-f5ae-47f8-8e34-81367e0e9152\",\"gcp.vertex.agent.llm_request\":\"{\\\"model\\\": \\\"gemini-2.0-flash\\\", \\\"config\\\": {\\\"http_options\\\": {\\\"headers\\\": {\\\"x-goog-api-client\\\": \\\"google-adk/1.12.0 gl-python/3.12.11\\\", \\\"user-agent\\\": \\\"google-adk/1.12.0 gl-python/3.12.11\\\"}}, \\\"system_instruction\\\": \\\"Always greet using the say_hello tool.\\\\n\\\\nYou are an agent. Your internal name is \\\\\\\"hello_agent\\\\\\\".\\\", \\\"tools\\\": [{\\\"function_declarations\\\": [{\\\"name\\\": \\\"say_hello\\\"}]}]}, \\\"contents\\\": [{\\\"parts\\\": [{\\\"text\\\": \\\"hi\\\"}], \\\"role\\\": \\\"user\\\"}]}\",\"gcp.vertex.agent.llm_response\":\"{\\\"content\\\":{\\\"parts\\\":[{\\\"function_call\\\":{\\\"args\\\":{},\\\"name\\\":\\\"say_hello\\\"}}],\\\"role\\\":\\\"model\\\"},\\\"finish_reason\\\":\\\"STOP\\\",\\\"usage_metadata\\\":{\\\"candidates_token_count\\\":3,\\\"candidates_tokens_details\\\":[{\\\"modality\\\":\\\"TEXT\\\",\\\"token_count\\\":3}],\\\"prompt_token_count\\\":28,\\\"prompt_tokens_details\\\":[{\\\"modality\\\":\\\"TEXT\\\",\\\"token_count\\\":28}],\\\"total_token_count\\\":31}}\",\"gen_ai.usage.input_tokens\":\"28\",\"gen_ai.usage.output_tokens\":\"3\",\"gen_ai.response.finish_reasons\":\"[\\\"stop\\\"]\",\"llm.provider\":\"google\",\"input.value\":\"{\\\"model\\\": \\\"gemini-2.0-flash\\\", \\\"config\\\": {\\\"http_options\\\": {\\\"headers\\\": {\\\"x-goog-api-client\\\": \\\"google-adk/1.12.0 gl-python/3.12.11\\\", \\\"user-agent\\\": \\\"google-adk/1.12.0 gl-python/3.12.11\\\"}}, \\\"system_instruction\\\": \\\"Always greet using the say_hello tool.\\\\n\\\\nYou are an agent. Your internal name is \\\\\\\"hello_agent\\\\\\\".\\\", \\\"tools\\\": [{\\\"function_declarations\\\": [{\\\"name\\\": \\\"say_hello\\\"}]}]}, \\\"contents\\\": [{\\\"parts\\\": [{\\\"text\\\": \\\"hi\\\"}], \\\"role\\\": \\\"user\\\"}]}\",\"input.mime_type\":\"application/json\",\"llm.tools.0.tool.json_schema\":\"{\\\"name\\\":\\\"say_hello\\\"}\",\"llm.model_name\":\"gemini-2.0-flash\",\"llm.invocation_parameters\":\"{\\\"http_options\\\":{\\\"headers\\\":{\\\"x-goog-api-client\\\":\\\"google-adk/1.12.0 gl-python/3.12.11\\\",\\\"user-agent\\\":\\\"google-adk/1.12.0 gl-python/3.12.11\\\"}},\\\"system_instruction\\\":\\\"Always greet using the say_hello tool.\\\\n\\\\nYou are an agent. Your internal name is \\\\\\\"hello_agent\\\\\\\".\\\",\\\"tools\\\":[{\\\"function_declarations\\\":[{\\\"name\\\":\\\"say_hello\\\"}]}]}\",\"llm.input_messages.0.message.role\":\"system\",\"llm.input_messages.0.message.content\":\"Always greet using the say_hello tool.\\n\\nYou are an agent. Your internal name is \\\"hello_agent\\\".\",\"llm.input_messages.1.message.role\":\"user\",\"llm.input_messages.1.message.contents.0.message_content.text\":\"hi\",\"llm.input_messages.1.message.contents.0.message_content.type\":\"text\",\"output.value\":\"{\\\"content\\\":{\\\"parts\\\":[{\\\"function_call\\\":{\\\"args\\\":{},\\\"name\\\":\\\"say_hello\\\"}}],\\\"role\\\":\\\"model\\\"},\\\"finish_reason\\\":\\\"STOP\\\",\\\"usage_metadata\\\":{\\\"candidates_token_count\\\":3,\\\"candidates_tokens_details\\\":[{\\\"modality\\\":\\\"TEXT\\\",\\\"token_count\\\":3}],\\\"prompt_token_count\\\":28,\\\"prompt_tokens_details\\\":[{\\\"modality\\\":\\\"TEXT\\\",\\\"token_count\\\":28}],\\\"total_token_count\\\":31}}\",\"output.mime_type\":\"application/json\",\"llm.token_count.total\":\"31\",\"llm.token_count.prompt\":\"28\",\"llm.token_count.completion\":\"3\",\"llm.output_messages.0.message.role\":\"model\",\"llm.output_messages.0.message.tool_calls.0.tool_call.function.name\":\"say_hello\",\"openinference.span.kind\":\"LLM\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.36.0\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.google_adk\",\"version\":\"0.1.3\",\"attributes\":{}}}",
"internalModel": "cm7zsrs1327124dhjtb95w8f74"
},
+ {
+ "id": "86cd4912944ddc41",
+ "traceId": "b82a0bdc1994fc5d1c8576ca032543f7",
+ "startTime": "2025-08-28T07:32:30.303Z",
+ "endTime": "2025-08-28T07:32:32.151Z",
+ "projectId": "cloramnkj0002jz088vzn1ja4",
+ "parentObservationId": null,
+ "type": "CHAIN",
+ "environment": "default",
+ "name": "invocation [hello_app]",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": null,
+ "createdAt": "2025-08-28T07:32:35.209Z",
+ "updatedAt": "2025-08-28T07:32:35.243Z",
+ "input": "{\"user_id\": \"demo-user\", \"session_id\": \"demo-session\", \"new_message\": {\"parts\": [{\"text\": \"hi\"}], \"role\": \"user\"}, \"state_delta\": null, \"run_config\": {\"save_input_blobs_as_artifacts\": false, \"support_cfc\": false, \"streaming_mode\": \"StreamingMode.NONE\", \"max_llm_calls\": 500}}",
+ "output": "{\"content\":{\"parts\":[{\"text\":\"Hello Langfuse 👋!\\n\"}],\"role\":\"model\"},\"finish_reason\":\"STOP\",\"usage_metadata\":{\"candidates_token_count\":6,\"candidates_tokens_details\":[{\"modality\":\"TEXT\",\"token_count\":6}],\"prompt_token_count\":39,\"prompt_tokens_details\":[{\"modality\":\"TEXT\",\"token_count\":39}],\"total_token_count\":45},\"invocation_id\":\"e-5022fa36-69c5-4fe7-bb37-662704dcb713\",\"author\":\"hello_agent\",\"actions\":{\"state_delta\":{},\"artifact_delta\":{},\"requested_auth_configs\":{}},\"id\":\"f2596747-d905-44bc-b85c-1e9692c3249c\",\"timestamp\":1756366351.22196}",
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": {},
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 1.848,
+ "timeToFirstToken": null,
+ "usageDetails": {},
+ "costDetails": {},
+ "providedCostDetails": {},
+ "inputCost": null,
+ "outputCost": null,
+ "totalCost": 0,
+ "inputUsage": 0,
+ "outputUsage": 0,
+ "totalUsage": 0,
+ "usagePricingTierId": null,
+ "usagePricingTierName": null,
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{\"attributes\":{\"input.value\":\"{\\\"user_id\\\": \\\"demo-user\\\", \\\"session_id\\\": \\\"demo-session\\\", \\\"new_message\\\": {\\\"parts\\\": [{\\\"text\\\": \\\"hi\\\"}], \\\"role\\\": \\\"user\\\"}, \\\"state_delta\\\": null, \\\"run_config\\\": {\\\"save_input_blobs_as_artifacts\\\": false, \\\"support_cfc\\\": false, \\\"streaming_mode\\\": \\\"StreamingMode.NONE\\\", \\\"max_llm_calls\\\": 500}}\",\"input.mime_type\":\"application/json\",\"user.id\":\"demo-user\",\"session.id\":\"demo-session\",\"output.value\":\"{\\\"content\\\":{\\\"parts\\\":[{\\\"text\\\":\\\"Hello Langfuse 👋!\\\\n\\\"}],\\\"role\\\":\\\"model\\\"},\\\"finish_reason\\\":\\\"STOP\\\",\\\"usage_metadata\\\":{\\\"candidates_token_count\\\":6,\\\"candidates_tokens_details\\\":[{\\\"modality\\\":\\\"TEXT\\\",\\\"token_count\\\":6}],\\\"prompt_token_count\\\":39,\\\"prompt_tokens_details\\\":[{\\\"modality\\\":\\\"TEXT\\\",\\\"token_count\\\":39}],\\\"total_token_count\\\":45},\\\"invocation_id\\\":\\\"e-5022fa36-69c5-4fe7-bb37-662704dcb713\\\",\\\"author\\\":\\\"hello_agent\\\",\\\"actions\\\":{\\\"state_delta\\\":{},\\\"artifact_delta\\\":{},\\\"requested_auth_configs\\\":{}},\\\"id\\\":\\\"f2596747-d905-44bc-b85c-1e9692c3249c\\\",\\\"timestamp\\\":1756366351.22196}\",\"output.mime_type\":\"application/json\",\"openinference.span.kind\":\"CHAIN\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.36.0\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.google_adk\",\"version\":\"0.1.3\",\"attributes\":{}}}",
+ "internalModel": null
+ },
+ {
+ "id": "6d8beb2e6a36b133",
+ "traceId": "b82a0bdc1994fc5d1c8576ca032543f7",
+ "startTime": "2025-08-28T07:32:30.304Z",
+ "endTime": "2025-08-28T07:32:32.150Z",
+ "projectId": "cloramnkj0002jz088vzn1ja4",
+ "parentObservationId": "86cd4912944ddc41",
+ "type": "AGENT",
+ "environment": "default",
+ "name": "agent_run [hello_agent]",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": null,
+ "createdAt": "2025-08-28T07:32:35.210Z",
+ "updatedAt": "2025-08-28T07:32:35.239Z",
+ "input": null,
+ "output": "{\"content\":{\"parts\":[{\"text\":\"Hello Langfuse 👋!\\n\"}],\"role\":\"model\"},\"finish_reason\":\"STOP\",\"usage_metadata\":{\"candidates_token_count\":6,\"candidates_tokens_details\":[{\"modality\":\"TEXT\",\"token_count\":6}],\"prompt_token_count\":39,\"prompt_tokens_details\":[{\"modality\":\"TEXT\",\"token_count\":39}],\"total_token_count\":45},\"invocation_id\":\"e-5022fa36-69c5-4fe7-bb37-662704dcb713\",\"author\":\"hello_agent\",\"actions\":{\"state_delta\":{},\"artifact_delta\":{},\"requested_auth_configs\":{}},\"id\":\"f2596747-d905-44bc-b85c-1e9692c3249c\",\"timestamp\":1756366351.22196}",
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": {},
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 1.846,
+ "timeToFirstToken": null,
+ "usageDetails": {},
+ "costDetails": {},
+ "providedCostDetails": {},
+ "inputCost": null,
+ "outputCost": null,
+ "totalCost": 0,
+ "inputUsage": 0,
+ "outputUsage": 0,
+ "totalUsage": 0,
+ "usagePricingTierId": null,
+ "usagePricingTierName": null,
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{\"attributes\":{\"session.id\":\"demo-session\",\"user.id\":\"demo-user\",\"output.value\":\"{\\\"content\\\":{\\\"parts\\\":[{\\\"text\\\":\\\"Hello Langfuse 👋!\\\\n\\\"}],\\\"role\\\":\\\"model\\\"},\\\"finish_reason\\\":\\\"STOP\\\",\\\"usage_metadata\\\":{\\\"candidates_token_count\\\":6,\\\"candidates_tokens_details\\\":[{\\\"modality\\\":\\\"TEXT\\\",\\\"token_count\\\":6}],\\\"prompt_token_count\\\":39,\\\"prompt_tokens_details\\\":[{\\\"modality\\\":\\\"TEXT\\\",\\\"token_count\\\":39}],\\\"total_token_count\\\":45},\\\"invocation_id\\\":\\\"e-5022fa36-69c5-4fe7-bb37-662704dcb713\\\",\\\"author\\\":\\\"hello_agent\\\",\\\"actions\\\":{\\\"state_delta\\\":{},\\\"artifact_delta\\\":{},\\\"requested_auth_configs\\\":{}},\\\"id\\\":\\\"f2596747-d905-44bc-b85c-1e9692c3249c\\\",\\\"timestamp\\\":1756366351.22196}\",\"output.mime_type\":\"application/json\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.36.0\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.google_adk\",\"version\":\"0.1.3\",\"attributes\":{}}}",
+ "internalModel": null
+ },
{
"id": "04290e4d82aba1bc",
"traceId": "b82a0bdc1994fc5d1c8576ca032543f7",
diff --git a/worker/src/__tests__/chatml/framework-traces/langgraph-js-2025-10-30.trace.json b/worker/src/__tests__/chatml/framework-traces/langgraph-js-2025-10-30.trace.json
index 320f4f7f0f..9a3d6d9406 100644
--- a/worker/src/__tests__/chatml/framework-traces/langgraph-js-2025-10-30.trace.json
+++ b/worker/src/__tests__/chatml/framework-traces/langgraph-js-2025-10-30.trace.json
@@ -127,54 +127,40 @@
"metadata": "{}"
},
{
- "id": "8f0ee27d91863fde",
+ "id": "0fabddcbcd5cee2d",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:41.372Z",
- "endTime": "2025-10-30T08:45:43.194Z",
+ "startTime": "2025-10-30T08:45:41.168Z",
+ "endTime": "2025-10-30T08:45:46.458Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "1a436b274dae3895",
- "type": "GENERATION",
+ "parentObservationId": null,
+ "type": "SPAN",
"environment": "default",
- "name": "ChatOpenAI",
+ "name": "LangGraph",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-10-30T08:45:46.740Z",
- "updatedAt": "2025-10-30T08:45:46.741Z",
+ "createdAt": "2025-10-30T08:45:52.145Z",
+ "updatedAt": "2025-10-30T08:45:52.145Z",
"input": null,
"output": null,
- "model": "gpt-5-mini-2025-08-07",
- "internalModelId": "03b83894-7172-4e1e-8e8b-37d792484efd",
- "modelParameters": {},
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": null,
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 1.822,
+ "latency": 5.29,
"timeToFirstToken": null,
- "usageDetails": {
- "input": 142,
- "output": 24,
- "total": 166,
- "input_audio": 0,
- "input_cache_read": 0,
- "output_audio": 0,
- "output_reasoning": 0
- },
- "costDetails": {
- "input": 0.0000355,
- "output": 0.000048,
- "input_cache_read": 0,
- "output_reasoning": 0,
- "total": 0.0000835
- },
+ "usageDetails": {},
+ "costDetails": {},
"providedCostDetails": {},
- "inputCost": 0.0000355,
- "outputCost": 0.000048,
- "totalCost": 0.0000835,
- "inputUsage": 142,
- "outputUsage": 24,
- "totalUsage": 166,
+ "inputCost": null,
+ "outputCost": null,
+ "totalCost": 0,
+ "inputUsage": 0,
+ "outputUsage": 0,
+ "totalUsage": 0,
"usagePricingTierId": null,
"usagePricingTierName": null,
"toolDefinitions": {},
@@ -183,20 +169,20 @@
"metadata": "{}"
},
{
- "id": "0fa7a562ce43f546",
+ "id": "2285cbc61d44c3e3",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:43.205Z",
- "endTime": "2025-10-30T08:45:43.205Z",
+ "startTime": "2025-10-30T08:45:43.210Z",
+ "endTime": "2025-10-30T08:45:46.458Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "62fd894173738caf",
+ "parentObservationId": "0fabddcbcd5cee2d",
"type": "SPAN",
"environment": "default",
- "name": "ChannelWrite<branch:to:model_request>",
- "level": "DEBUG",
+ "name": "model_request",
+ "level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-10-30T08:45:46.740Z",
- "updatedAt": "2025-10-30T08:45:46.741Z",
+ "createdAt": "2025-10-30T08:45:52.145Z",
+ "updatedAt": "2025-10-30T08:45:52.145Z",
"input": null,
"output": null,
"model": null,
@@ -206,7 +192,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0,
+ "latency": 3.248,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -225,16 +211,16 @@
"metadata": "{}"
},
{
- "id": "0fabddcbcd5cee2d",
+ "id": "23450fb0c54069a3",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:41.168Z",
- "endTime": "2025-10-30T08:45:46.458Z",
+ "startTime": "2025-10-30T08:45:46.445Z",
+ "endTime": "2025-10-30T08:45:46.451Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": null,
+ "parentObservationId": "2285cbc61d44c3e3",
"type": "SPAN",
"environment": "default",
- "name": "LangGraph",
- "level": "DEFAULT",
+ "name": "ChannelWrite<...>",
+ "level": "DEBUG",
"statusMessage": null,
"version": null,
"createdAt": "2025-10-30T08:45:52.145Z",
@@ -248,7 +234,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 5.29,
+ "latency": 0.006,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -267,20 +253,20 @@
"metadata": "{}"
},
{
- "id": "1a436b274dae3895",
+ "id": "5418736422abc167",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:41.345Z",
- "endTime": "2025-10-30T08:45:43.194Z",
+ "startTime": "2025-10-30T08:45:46.457Z",
+ "endTime": "2025-10-30T08:45:46.458Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "94d8f57d1d47f9d3",
+ "parentObservationId": "2285cbc61d44c3e3",
"type": "SPAN",
"environment": "default",
- "name": "RunnableSequence",
+ "name": "Branch<model_request,tools,__end__>",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-10-30T08:45:46.740Z",
- "updatedAt": "2025-10-30T08:45:46.741Z",
+ "createdAt": "2025-10-30T08:45:52.145Z",
+ "updatedAt": "2025-10-30T08:45:52.145Z",
"input": null,
"output": null,
"model": null,
@@ -290,7 +276,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 1.849,
+ "latency": 0.001,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -309,15 +295,15 @@
"metadata": "{}"
},
{
- "id": "2285cbc61d44c3e3",
+ "id": "b6ebcf125bccb1e0",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
"startTime": "2025-10-30T08:45:43.210Z",
- "endTime": "2025-10-30T08:45:46.458Z",
+ "endTime": "2025-10-30T08:45:46.444Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "0fabddcbcd5cee2d",
+ "parentObservationId": "2285cbc61d44c3e3",
"type": "SPAN",
"environment": "default",
- "name": "model_request",
+ "name": "RunnableSequence",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
@@ -332,7 +318,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 3.248,
+ "latency": 3.234,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -351,40 +337,54 @@
"metadata": "{}"
},
{
- "id": "23450fb0c54069a3",
+ "id": "8f0ee27d91863fde",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:46.445Z",
- "endTime": "2025-10-30T08:45:46.451Z",
+ "startTime": "2025-10-30T08:45:41.372Z",
+ "endTime": "2025-10-30T08:45:43.194Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "2285cbc61d44c3e3",
- "type": "SPAN",
+ "parentObservationId": "1a436b274dae3895",
+ "type": "GENERATION",
"environment": "default",
- "name": "ChannelWrite<...>",
- "level": "DEBUG",
+ "name": "ChatOpenAI",
+ "level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-10-30T08:45:52.145Z",
- "updatedAt": "2025-10-30T08:45:52.145Z",
+ "createdAt": "2025-10-30T08:45:46.740Z",
+ "updatedAt": "2025-10-30T08:45:46.741Z",
"input": null,
"output": null,
- "model": null,
- "internalModelId": null,
- "modelParameters": null,
+ "model": "gpt-5-mini-2025-08-07",
+ "internalModelId": "03b83894-7172-4e1e-8e8b-37d792484efd",
+ "modelParameters": {},
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0.006,
+ "latency": 1.822,
"timeToFirstToken": null,
- "usageDetails": {},
- "costDetails": {},
+ "usageDetails": {
+ "input": 142,
+ "output": 24,
+ "total": 166,
+ "input_audio": 0,
+ "input_cache_read": 0,
+ "output_audio": 0,
+ "output_reasoning": 0
+ },
+ "costDetails": {
+ "input": 0.0000355,
+ "output": 0.000048,
+ "input_cache_read": 0,
+ "output_reasoning": 0,
+ "total": 0.0000835
+ },
"providedCostDetails": {},
- "inputCost": null,
- "outputCost": null,
- "totalCost": 0,
- "inputUsage": 0,
- "outputUsage": 0,
- "totalUsage": 0,
+ "inputCost": 0.0000355,
+ "outputCost": 0.000048,
+ "totalCost": 0.0000835,
+ "inputUsage": 142,
+ "outputUsage": 24,
+ "totalUsage": 166,
"usagePricingTierId": null,
"usagePricingTierName": null,
"toolDefinitions": {},
@@ -393,16 +393,16 @@
"metadata": "{}"
},
{
- "id": "29937389e09f9525",
+ "id": "0fa7a562ce43f546",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:43.210Z",
- "endTime": "2025-10-30T08:45:43.210Z",
+ "startTime": "2025-10-30T08:45:43.205Z",
+ "endTime": "2025-10-30T08:45:43.205Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "b6ebcf125bccb1e0",
+ "parentObservationId": "62fd894173738caf",
"type": "SPAN",
"environment": "default",
- "name": "prompt",
- "level": "DEFAULT",
+ "name": "ChannelWrite<branch:to:model_request>",
+ "level": "DEBUG",
"statusMessage": null,
"version": null,
"createdAt": "2025-10-30T08:45:46.740Z",
@@ -435,16 +435,16 @@
"metadata": "{}"
},
{
- "id": "4059d1450dfaeabd",
+ "id": "1a436b274dae3895",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:43.195Z",
- "endTime": "2025-10-30T08:45:43.197Z",
+ "startTime": "2025-10-30T08:45:41.345Z",
+ "endTime": "2025-10-30T08:45:43.194Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
"parentObservationId": "94d8f57d1d47f9d3",
"type": "SPAN",
"environment": "default",
- "name": "ChannelWrite<...>",
- "level": "DEBUG",
+ "name": "RunnableSequence",
+ "level": "DEFAULT",
"statusMessage": null,
"version": null,
"createdAt": "2025-10-30T08:45:46.740Z",
@@ -458,7 +458,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0.002,
+ "latency": 1.849,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -477,12 +477,12 @@
"metadata": "{}"
},
{
- "id": "405be02ff1aec7f8",
+ "id": "29937389e09f9525",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:41.346Z",
- "endTime": "2025-10-30T08:45:41.346Z",
+ "startTime": "2025-10-30T08:45:43.210Z",
+ "endTime": "2025-10-30T08:45:43.210Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "1a436b274dae3895",
+ "parentObservationId": "b6ebcf125bccb1e0",
"type": "SPAN",
"environment": "default",
"name": "prompt",
@@ -490,7 +490,7 @@
"statusMessage": null,
"version": null,
"createdAt": "2025-10-30T08:45:46.740Z",
- "updatedAt": "2025-10-30T08:45:46.740Z",
+ "updatedAt": "2025-10-30T08:45:46.741Z",
"input": null,
"output": null,
"model": null,
@@ -519,20 +519,20 @@
"metadata": "{}"
},
{
- "id": "4a19536760554d30",
+ "id": "4059d1450dfaeabd",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:41.320Z",
- "endTime": "2025-10-30T08:45:41.320Z",
+ "startTime": "2025-10-30T08:45:43.195Z",
+ "endTime": "2025-10-30T08:45:43.197Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "f610e93ab2a4d66c",
+ "parentObservationId": "94d8f57d1d47f9d3",
"type": "SPAN",
"environment": "default",
- "name": "ChannelWrite<branch:to:model_request>",
+ "name": "ChannelWrite<...>",
"level": "DEBUG",
"statusMessage": null,
"version": null,
"createdAt": "2025-10-30T08:45:46.740Z",
- "updatedAt": "2025-10-30T08:45:46.740Z",
+ "updatedAt": "2025-10-30T08:45:46.741Z",
"input": null,
"output": null,
"model": null,
@@ -542,7 +542,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0,
+ "latency": 0.002,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -561,20 +561,20 @@
"metadata": "{}"
},
{
- "id": "4bd9001eb2207296",
+ "id": "62fd894173738caf",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:41.319Z",
- "endTime": "2025-10-30T08:45:41.319Z",
+ "startTime": "2025-10-30T08:45:43.203Z",
+ "endTime": "2025-10-30T08:45:43.208Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "f610e93ab2a4d66c",
+ "parentObservationId": "0fabddcbcd5cee2d",
"type": "SPAN",
"environment": "default",
- "name": "ChannelWrite<...>",
- "level": "DEBUG",
+ "name": "tools",
+ "level": "DEFAULT",
"statusMessage": null,
"version": null,
"createdAt": "2025-10-30T08:45:46.740Z",
- "updatedAt": "2025-10-30T08:45:46.740Z",
+ "updatedAt": "2025-10-30T08:45:46.741Z",
"input": null,
"output": null,
"model": null,
@@ -584,7 +584,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0,
+ "latency": 0.005,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -603,20 +603,20 @@
"metadata": "{}"
},
{
- "id": "5418736422abc167",
+ "id": "841f49934638899f",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:46.457Z",
- "endTime": "2025-10-30T08:45:46.458Z",
+ "startTime": "2025-10-30T08:45:43.200Z",
+ "endTime": "2025-10-30T08:45:43.200Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "2285cbc61d44c3e3",
+ "parentObservationId": "94d8f57d1d47f9d3",
"type": "SPAN",
"environment": "default",
"name": "Branch<model_request,tools,__end__>",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-10-30T08:45:52.145Z",
- "updatedAt": "2025-10-30T08:45:52.145Z",
+ "createdAt": "2025-10-30T08:45:46.740Z",
+ "updatedAt": "2025-10-30T08:45:46.741Z",
"input": null,
"output": null,
"model": null,
@@ -626,7 +626,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0.001,
+ "latency": 0,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -645,15 +645,15 @@
"metadata": "{}"
},
{
- "id": "62fd894173738caf",
+ "id": "94d8f57d1d47f9d3",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:43.203Z",
- "endTime": "2025-10-30T08:45:43.208Z",
+ "startTime": "2025-10-30T08:45:41.322Z",
+ "endTime": "2025-10-30T08:45:43.201Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
"parentObservationId": "0fabddcbcd5cee2d",
"type": "SPAN",
"environment": "default",
- "name": "tools",
+ "name": "model_request",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
@@ -668,7 +668,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0.005,
+ "latency": 1.879,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -687,15 +687,15 @@
"metadata": "{}"
},
{
- "id": "841f49934638899f",
+ "id": "c3a547a43cb47b18",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:43.200Z",
- "endTime": "2025-10-30T08:45:43.200Z",
+ "startTime": "2025-10-30T08:45:43.204Z",
+ "endTime": "2025-10-30T08:45:43.204Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "94d8f57d1d47f9d3",
+ "parentObservationId": "62fd894173738caf",
"type": "SPAN",
"environment": "default",
- "name": "Branch<model_request,tools,__end__>",
+ "name": "get_weather",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
@@ -729,16 +729,16 @@
"metadata": "{}"
},
{
- "id": "94d8f57d1d47f9d3",
+ "id": "dc6fa04662de9504",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:41.322Z",
- "endTime": "2025-10-30T08:45:43.201Z",
+ "startTime": "2025-10-30T08:45:43.204Z",
+ "endTime": "2025-10-30T08:45:43.204Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "0fabddcbcd5cee2d",
+ "parentObservationId": "62fd894173738caf",
"type": "SPAN",
"environment": "default",
- "name": "model_request",
- "level": "DEFAULT",
+ "name": "ChannelWrite<...>",
+ "level": "DEBUG",
"statusMessage": null,
"version": null,
"createdAt": "2025-10-30T08:45:46.740Z",
@@ -752,7 +752,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 1.879,
+ "latency": 0,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -771,20 +771,20 @@
"metadata": "{}"
},
{
- "id": "b6ebcf125bccb1e0",
+ "id": "405be02ff1aec7f8",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:43.210Z",
- "endTime": "2025-10-30T08:45:46.444Z",
+ "startTime": "2025-10-30T08:45:41.346Z",
+ "endTime": "2025-10-30T08:45:41.346Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "2285cbc61d44c3e3",
+ "parentObservationId": "1a436b274dae3895",
"type": "SPAN",
"environment": "default",
- "name": "RunnableSequence",
+ "name": "prompt",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-10-30T08:45:52.145Z",
- "updatedAt": "2025-10-30T08:45:52.145Z",
+ "createdAt": "2025-10-30T08:45:46.740Z",
+ "updatedAt": "2025-10-30T08:45:46.740Z",
"input": null,
"output": null,
"model": null,
@@ -794,7 +794,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 3.234,
+ "latency": 0,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -813,20 +813,20 @@
"metadata": "{}"
},
{
- "id": "c3a547a43cb47b18",
+ "id": "4a19536760554d30",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:43.204Z",
- "endTime": "2025-10-30T08:45:43.204Z",
+ "startTime": "2025-10-30T08:45:41.320Z",
+ "endTime": "2025-10-30T08:45:41.320Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "62fd894173738caf",
+ "parentObservationId": "f610e93ab2a4d66c",
"type": "SPAN",
"environment": "default",
- "name": "get_weather",
- "level": "DEFAULT",
+ "name": "ChannelWrite<branch:to:model_request>",
+ "level": "DEBUG",
"statusMessage": null,
"version": null,
"createdAt": "2025-10-30T08:45:46.740Z",
- "updatedAt": "2025-10-30T08:45:46.741Z",
+ "updatedAt": "2025-10-30T08:45:46.740Z",
"input": null,
"output": null,
"model": null,
@@ -855,12 +855,12 @@
"metadata": "{}"
},
{
- "id": "dc6fa04662de9504",
+ "id": "4bd9001eb2207296",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:43.204Z",
- "endTime": "2025-10-30T08:45:43.204Z",
+ "startTime": "2025-10-30T08:45:41.319Z",
+ "endTime": "2025-10-30T08:45:41.319Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "62fd894173738caf",
+ "parentObservationId": "f610e93ab2a4d66c",
"type": "SPAN",
"environment": "default",
"name": "ChannelWrite<...>",
@@ -868,7 +868,7 @@
"statusMessage": null,
"version": null,
"createdAt": "2025-10-30T08:45:46.740Z",
- "updatedAt": "2025-10-30T08:45:46.741Z",
+ "updatedAt": "2025-10-30T08:45:46.740Z",
"input": null,
"output": null,
"model": null,
@@ -999,79 +999,65 @@
"internalModel": "03b83894-7172-4e1e-8e8b-37d792484efd"
},
{
- "id": "8f0ee27d91863fde",
+ "id": "0fabddcbcd5cee2d",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:41.372Z",
- "endTime": "2025-10-30T08:45:43.194Z",
+ "startTime": "2025-10-30T08:45:41.168Z",
+ "endTime": "2025-10-30T08:45:46.458Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "1a436b274dae3895",
- "type": "GENERATION",
+ "parentObservationId": null,
+ "type": "SPAN",
"environment": "default",
- "name": "ChatOpenAI",
+ "name": "LangGraph",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-10-30T08:45:46.740Z",
- "updatedAt": "2025-10-30T08:45:46.741Z",
- "input": "[{\"content\":\"What's the weather in San Francisco?\",\"role\":\"user\"}]",
- "output": "{\"content\":\"\",\"role\":\"assistant\",\"tool_calls\":[{\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"San Francisco\\\"}\"}}]}",
- "model": "gpt-5-mini-2025-08-07",
- "internalModelId": "03b83894-7172-4e1e-8e8b-37d792484efd",
- "modelParameters": {},
+ "createdAt": "2025-10-30T08:45:52.145Z",
+ "updatedAt": "2025-10-30T08:45:52.145Z",
+ "input": "{\"messages\":[{\"role\":\"user\",\"content\":\"What's the weather in San Francisco?\"}]}",
+ "output": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"HumanMessage\"],\"kwargs\":{\"content\":\"What's the weather in San Francisco?\",\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"44fe5ba2-2f09-4ec2-9385-33e26c43f469\"}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZpV1k7an0crpr6hsnDXp1j2wdo\",\"name\":\"model\",\"content\":\"\",\"additional_kwargs\":{\"tool_calls\":[{\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"San Francisco\\\"}\"}}]},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":142,\"completionTokens\":24,\"totalTokens\":166},\"finish_reason\":\"tool_calls\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[{\"name\":\"get_weather\",\"args\":{\"city\":\"San Francisco\"},\"type\":\"tool_call\",\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\"}],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":24,\"input_tokens\":142,\"total_tokens\":166,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":0}}}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"ToolMessage\"],\"kwargs\":{\"status\":\"success\",\"content\":\"It's always sunny in San Francisco!\",\"tool_call_id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"name\":\"get_weather\",\"metadata\":{},\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"62384f1e-7993-405d-80d5-e62fc1102f78\"}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZrr2vTw7RzmVplwulRfCMgIOtd\",\"name\":\"model\",\"content\":\"It's always sunny in San Francisco! \\n\\nWould you like more details (current temperature, hourly forecast, or a multi-day outlook)?\",\"additional_kwargs\":{},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":179,\"completionTokens\":99,\"totalTokens\":278},\"finish_reason\":\"stop\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":99,\"input_tokens\":179,\"total_tokens\":278,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":64}}}}]}",
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": null,
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 1.822,
+ "latency": 5.29,
"timeToFirstToken": null,
- "usageDetails": {
- "input": 142,
- "output": 24,
- "total": 166,
- "input_audio": 0,
- "input_cache_read": 0,
- "output_audio": 0,
- "output_reasoning": 0
- },
- "costDetails": {
- "input": 0.0000355,
- "output": 0.000048,
- "input_cache_read": 0,
- "output_reasoning": 0,
- "total": 0.0000835
- },
+ "usageDetails": {},
+ "costDetails": {},
"providedCostDetails": {},
- "inputCost": 0.0000355,
- "outputCost": 0.000048,
- "totalCost": 0.0000835,
- "inputUsage": 142,
- "outputUsage": 24,
- "totalUsage": 166,
+ "inputCost": null,
+ "outputCost": null,
+ "totalCost": 0,
+ "inputUsage": 0,
+ "outputUsage": 0,
+ "totalUsage": 0,
"usagePricingTierId": null,
"usagePricingTierName": null,
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"tags\":[\"seq:step:2\"],\"langgraph_step\":1,\"langgraph_node\":\"model_request\",\"langgraph_triggers\":[\"branch:to:model_request\"],\"langgraph_path\":[\"__pregel_pull\",\"model_request\"],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|model_request:5f3de826-6e97-5ed2-a7eb-d1fe70fbd3cc\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"ls_provider\":\"openai\",\"ls_model_name\":\"gpt-5-mini\",\"ls_model_type\":\"chat\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
- "internalModel": "03b83894-7172-4e1e-8e8b-37d792484efd"
+ "metadata": "{\"langgraph_step\":1,\"langgraph_node\":\"model_request\",\"langgraph_triggers\":[\"branch:to:model_request\"],\"langgraph_path\":[\"__pregel_pull\",\"model_request\"],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
+ "internalModel": null
},
{
- "id": "0fa7a562ce43f546",
+ "id": "2285cbc61d44c3e3",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:43.205Z",
- "endTime": "2025-10-30T08:45:43.205Z",
+ "startTime": "2025-10-30T08:45:43.210Z",
+ "endTime": "2025-10-30T08:45:46.458Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "62fd894173738caf",
+ "parentObservationId": "0fabddcbcd5cee2d",
"type": "SPAN",
"environment": "default",
- "name": "ChannelWrite<branch:to:model_request>",
- "level": "DEBUG",
+ "name": "model_request",
+ "level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-10-30T08:45:46.740Z",
- "updatedAt": "2025-10-30T08:45:46.741Z",
- "input": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"ToolMessage\"],\"kwargs\":{\"status\":\"success\",\"content\":\"It's always sunny in San Francisco!\",\"tool_call_id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"name\":\"get_weather\",\"metadata\":{},\"additional_kwargs\":{},\"response_metadata\":{}}}]}",
- "output": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"ToolMessage\"],\"kwargs\":{\"status\":\"success\",\"content\":\"It's always sunny in San Francisco!\",\"tool_call_id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"name\":\"get_weather\",\"metadata\":{},\"additional_kwargs\":{},\"response_metadata\":{}}}]}",
+ "createdAt": "2025-10-30T08:45:52.145Z",
+ "updatedAt": "2025-10-30T08:45:52.145Z",
+ "input": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"HumanMessage\"],\"kwargs\":{\"content\":\"What's the weather in San Francisco?\",\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"44fe5ba2-2f09-4ec2-9385-33e26c43f469\"}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZpV1k7an0crpr6hsnDXp1j2wdo\",\"name\":\"model\",\"content\":\"\",\"additional_kwargs\":{\"tool_calls\":[{\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"San Francisco\\\"}\"}}]},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":142,\"completionTokens\":24,\"totalTokens\":166},\"finish_reason\":\"tool_calls\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[{\"name\":\"get_weather\",\"args\":{\"city\":\"San Francisco\"},\"type\":\"tool_call\",\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\"}],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":24,\"input_tokens\":142,\"total_tokens\":166,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":0}}}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"ToolMessage\"],\"kwargs\":{\"status\":\"success\",\"content\":\"It's always sunny in San Francisco!\",\"tool_call_id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"name\":\"get_weather\",\"metadata\":{},\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"62384f1e-7993-405d-80d5-e62fc1102f78\"}}],\"_privateState\":{\"threadLevelCallCount\":1,\"runModelCallCount\":0}}",
+ "output": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZrr2vTw7RzmVplwulRfCMgIOtd\",\"name\":\"model\",\"content\":\"It's always sunny in San Francisco! \\n\\nWould you like more details (current temperature, hourly forecast, or a multi-day outlook)?\",\"additional_kwargs\":{},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":179,\"completionTokens\":99,\"totalTokens\":278},\"finish_reason\":\"stop\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":99,\"input_tokens\":179,\"total_tokens\":278,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":64}}}}],\"_privateState\":{\"threadLevelCallCount\":2,\"runModelCallCount\":1}}",
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -1079,7 +1065,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0,
+ "latency": 3.248,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -1095,26 +1081,26 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"tags\":[\"langsmith:hidden\"],\"langgraph_step\":2,\"langgraph_node\":\"tools\",\"langgraph_triggers\":[\"__pregel_push\"],\"langgraph_path\":[\"__pregel_push\",0],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|tools:99081552-33b0-5649-a698-4aa1e0c771f5\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
+ "metadata": "{\"tags\":[\"graph:step:3\"],\"langgraph_step\":3,\"langgraph_node\":\"model_request\",\"langgraph_triggers\":[\"branch:to:model_request\"],\"langgraph_path\":[\"__pregel_pull\",\"model_request\"],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|model_request:c51cebc4-7aca-5acb-951c-245ef0a1809c\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "0fabddcbcd5cee2d",
+ "id": "23450fb0c54069a3",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:41.168Z",
- "endTime": "2025-10-30T08:45:46.458Z",
+ "startTime": "2025-10-30T08:45:46.445Z",
+ "endTime": "2025-10-30T08:45:46.451Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": null,
+ "parentObservationId": "2285cbc61d44c3e3",
"type": "SPAN",
"environment": "default",
- "name": "LangGraph",
- "level": "DEFAULT",
+ "name": "ChannelWrite<...>",
+ "level": "DEBUG",
"statusMessage": null,
"version": null,
"createdAt": "2025-10-30T08:45:52.145Z",
"updatedAt": "2025-10-30T08:45:52.145Z",
- "input": "{\"messages\":[{\"role\":\"user\",\"content\":\"What's the weather in San Francisco?\"}]}",
- "output": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"HumanMessage\"],\"kwargs\":{\"content\":\"What's the weather in San Francisco?\",\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"44fe5ba2-2f09-4ec2-9385-33e26c43f469\"}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZpV1k7an0crpr6hsnDXp1j2wdo\",\"name\":\"model\",\"content\":\"\",\"additional_kwargs\":{\"tool_calls\":[{\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"San Francisco\\\"}\"}}]},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":142,\"completionTokens\":24,\"totalTokens\":166},\"finish_reason\":\"tool_calls\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[{\"name\":\"get_weather\",\"args\":{\"city\":\"San Francisco\"},\"type\":\"tool_call\",\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\"}],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":24,\"input_tokens\":142,\"total_tokens\":166,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":0}}}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"ToolMessage\"],\"kwargs\":{\"status\":\"success\",\"content\":\"It's always sunny in San Francisco!\",\"tool_call_id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"name\":\"get_weather\",\"metadata\":{},\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"62384f1e-7993-405d-80d5-e62fc1102f78\"}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZrr2vTw7RzmVplwulRfCMgIOtd\",\"name\":\"model\",\"content\":\"It's always sunny in San Francisco! \\n\\nWould you like more details (current temperature, hourly forecast, or a multi-day outlook)?\",\"additional_kwargs\":{},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":179,\"completionTokens\":99,\"totalTokens\":278},\"finish_reason\":\"stop\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":99,\"input_tokens\":179,\"total_tokens\":278,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":64}}}}]}",
+ "input": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZrr2vTw7RzmVplwulRfCMgIOtd\",\"name\":\"model\",\"content\":\"It's always sunny in San Francisco! \\n\\nWould you like more details (current temperature, hourly forecast, or a multi-day outlook)?\",\"additional_kwargs\":{},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":179,\"completionTokens\":99,\"totalTokens\":278},\"finish_reason\":\"stop\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":99,\"input_tokens\":179,\"total_tokens\":278,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":64}}}}],\"_privateState\":{\"threadLevelCallCount\":2,\"runModelCallCount\":1}}",
+ "output": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZrr2vTw7RzmVplwulRfCMgIOtd\",\"name\":\"model\",\"content\":\"It's always sunny in San Francisco! \\n\\nWould you like more details (current temperature, hourly forecast, or a multi-day outlook)?\",\"additional_kwargs\":{},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":179,\"completionTokens\":99,\"totalTokens\":278},\"finish_reason\":\"stop\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":99,\"input_tokens\":179,\"total_tokens\":278,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":64}}}}],\"_privateState\":{\"threadLevelCallCount\":2,\"runModelCallCount\":1}}",
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -1122,7 +1108,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 5.29,
+ "latency": 0.006,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -1138,26 +1124,26 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"langgraph_step\":1,\"langgraph_node\":\"model_request\",\"langgraph_triggers\":[\"branch:to:model_request\"],\"langgraph_path\":[\"__pregel_pull\",\"model_request\"],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
+ "metadata": "{\"tags\":[\"langsmith:hidden\"],\"langgraph_step\":3,\"langgraph_node\":\"model_request\",\"langgraph_triggers\":[\"branch:to:model_request\"],\"langgraph_path\":[\"__pregel_pull\",\"model_request\"],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|model_request:c51cebc4-7aca-5acb-951c-245ef0a1809c\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "1a436b274dae3895",
+ "id": "5418736422abc167",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:41.345Z",
- "endTime": "2025-10-30T08:45:43.194Z",
+ "startTime": "2025-10-30T08:45:46.457Z",
+ "endTime": "2025-10-30T08:45:46.458Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "94d8f57d1d47f9d3",
+ "parentObservationId": "2285cbc61d44c3e3",
"type": "SPAN",
"environment": "default",
- "name": "RunnableSequence",
+ "name": "Branch<model_request,tools,__end__>",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-10-30T08:45:46.740Z",
- "updatedAt": "2025-10-30T08:45:46.741Z",
- "input": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"HumanMessage\"],\"kwargs\":{\"content\":\"What's the weather in San Francisco?\",\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"44fe5ba2-2f09-4ec2-9385-33e26c43f469\"}}]}",
- "output": "{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZpV1k7an0crpr6hsnDXp1j2wdo\",\"content\":\"\",\"additional_kwargs\":{\"tool_calls\":[{\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"San Francisco\\\"}\"}}]},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":142,\"completionTokens\":24,\"totalTokens\":166},\"finish_reason\":\"tool_calls\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[{\"name\":\"get_weather\",\"args\":{\"city\":\"San Francisco\"},\"type\":\"tool_call\",\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\"}],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":24,\"input_tokens\":142,\"total_tokens\":166,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":0}}}}",
+ "createdAt": "2025-10-30T08:45:52.145Z",
+ "updatedAt": "2025-10-30T08:45:52.145Z",
+ "input": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"HumanMessage\"],\"kwargs\":{\"content\":\"What's the weather in San Francisco?\",\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"44fe5ba2-2f09-4ec2-9385-33e26c43f469\"}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZpV1k7an0crpr6hsnDXp1j2wdo\",\"name\":\"model\",\"content\":\"\",\"additional_kwargs\":{\"tool_calls\":[{\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"San Francisco\\\"}\"}}]},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":142,\"completionTokens\":24,\"totalTokens\":166},\"finish_reason\":\"tool_calls\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[{\"name\":\"get_weather\",\"args\":{\"city\":\"San Francisco\"},\"type\":\"tool_call\",\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\"}],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":24,\"input_tokens\":142,\"total_tokens\":166,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":0}}}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"ToolMessage\"],\"kwargs\":{\"status\":\"success\",\"content\":\"It's always sunny in San Francisco!\",\"tool_call_id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"name\":\"get_weather\",\"metadata\":{},\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"62384f1e-7993-405d-80d5-e62fc1102f78\"}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZrr2vTw7RzmVplwulRfCMgIOtd\",\"name\":\"model\",\"content\":\"It's always sunny in San Francisco! \\n\\nWould you like more details (current temperature, hourly forecast, or a multi-day outlook)?\",\"additional_kwargs\":{},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":179,\"completionTokens\":99,\"totalTokens\":278},\"finish_reason\":\"stop\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":99,\"input_tokens\":179,\"total_tokens\":278,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":64}}}}],\"_privateState\":{\"threadLevelCallCount\":2,\"runModelCallCount\":1}}",
+ "output": "__end__",
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -1165,7 +1151,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 1.849,
+ "latency": 0.001,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -1181,26 +1167,26 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"langgraph_step\":1,\"langgraph_node\":\"model_request\",\"langgraph_triggers\":[\"branch:to:model_request\"],\"langgraph_path\":[\"__pregel_pull\",\"model_request\"],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|model_request:5f3de826-6e97-5ed2-a7eb-d1fe70fbd3cc\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
+ "metadata": "{\"langgraph_step\":3,\"langgraph_node\":\"model_request\",\"langgraph_triggers\":[\"branch:to:model_request\"],\"langgraph_path\":[\"__pregel_pull\",\"model_request\"],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|model_request:c51cebc4-7aca-5acb-951c-245ef0a1809c\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "2285cbc61d44c3e3",
+ "id": "b6ebcf125bccb1e0",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
"startTime": "2025-10-30T08:45:43.210Z",
- "endTime": "2025-10-30T08:45:46.458Z",
+ "endTime": "2025-10-30T08:45:46.444Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "0fabddcbcd5cee2d",
+ "parentObservationId": "2285cbc61d44c3e3",
"type": "SPAN",
"environment": "default",
- "name": "model_request",
+ "name": "RunnableSequence",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
"createdAt": "2025-10-30T08:45:52.145Z",
"updatedAt": "2025-10-30T08:45:52.145Z",
"input": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"HumanMessage\"],\"kwargs\":{\"content\":\"What's the weather in San Francisco?\",\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"44fe5ba2-2f09-4ec2-9385-33e26c43f469\"}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZpV1k7an0crpr6hsnDXp1j2wdo\",\"name\":\"model\",\"content\":\"\",\"additional_kwargs\":{\"tool_calls\":[{\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"San Francisco\\\"}\"}}]},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":142,\"completionTokens\":24,\"totalTokens\":166},\"finish_reason\":\"tool_calls\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[{\"name\":\"get_weather\",\"args\":{\"city\":\"San Francisco\"},\"type\":\"tool_call\",\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\"}],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":24,\"input_tokens\":142,\"total_tokens\":166,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":0}}}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"ToolMessage\"],\"kwargs\":{\"status\":\"success\",\"content\":\"It's always sunny in San Francisco!\",\"tool_call_id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"name\":\"get_weather\",\"metadata\":{},\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"62384f1e-7993-405d-80d5-e62fc1102f78\"}}],\"_privateState\":{\"threadLevelCallCount\":1,\"runModelCallCount\":0}}",
- "output": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZrr2vTw7RzmVplwulRfCMgIOtd\",\"name\":\"model\",\"content\":\"It's always sunny in San Francisco! \\n\\nWould you like more details (current temperature, hourly forecast, or a multi-day outlook)?\",\"additional_kwargs\":{},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":179,\"completionTokens\":99,\"totalTokens\":278},\"finish_reason\":\"stop\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":99,\"input_tokens\":179,\"total_tokens\":278,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":64}}}}],\"_privateState\":{\"threadLevelCallCount\":2,\"runModelCallCount\":1}}",
+ "output": "{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZrr2vTw7RzmVplwulRfCMgIOtd\",\"content\":\"It's always sunny in San Francisco! \\n\\nWould you like more details (current temperature, hourly forecast, or a multi-day outlook)?\",\"additional_kwargs\":{},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":179,\"completionTokens\":99,\"totalTokens\":278},\"finish_reason\":\"stop\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":99,\"input_tokens\":179,\"total_tokens\":278,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":64}}}}",
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -1208,7 +1194,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 3.248,
+ "latency": 3.234,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -1224,69 +1210,83 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"tags\":[\"graph:step:3\"],\"langgraph_step\":3,\"langgraph_node\":\"model_request\",\"langgraph_triggers\":[\"branch:to:model_request\"],\"langgraph_path\":[\"__pregel_pull\",\"model_request\"],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|model_request:c51cebc4-7aca-5acb-951c-245ef0a1809c\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
+ "metadata": "{\"langgraph_step\":3,\"langgraph_node\":\"model_request\",\"langgraph_triggers\":[\"branch:to:model_request\"],\"langgraph_path\":[\"__pregel_pull\",\"model_request\"],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|model_request:c51cebc4-7aca-5acb-951c-245ef0a1809c\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "23450fb0c54069a3",
+ "id": "8f0ee27d91863fde",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:46.445Z",
- "endTime": "2025-10-30T08:45:46.451Z",
+ "startTime": "2025-10-30T08:45:41.372Z",
+ "endTime": "2025-10-30T08:45:43.194Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "2285cbc61d44c3e3",
- "type": "SPAN",
+ "parentObservationId": "1a436b274dae3895",
+ "type": "GENERATION",
"environment": "default",
- "name": "ChannelWrite<...>",
- "level": "DEBUG",
+ "name": "ChatOpenAI",
+ "level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-10-30T08:45:52.145Z",
- "updatedAt": "2025-10-30T08:45:52.145Z",
- "input": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZrr2vTw7RzmVplwulRfCMgIOtd\",\"name\":\"model\",\"content\":\"It's always sunny in San Francisco! \\n\\nWould you like more details (current temperature, hourly forecast, or a multi-day outlook)?\",\"additional_kwargs\":{},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":179,\"completionTokens\":99,\"totalTokens\":278},\"finish_reason\":\"stop\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":99,\"input_tokens\":179,\"total_tokens\":278,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":64}}}}],\"_privateState\":{\"threadLevelCallCount\":2,\"runModelCallCount\":1}}",
- "output": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZrr2vTw7RzmVplwulRfCMgIOtd\",\"name\":\"model\",\"content\":\"It's always sunny in San Francisco! \\n\\nWould you like more details (current temperature, hourly forecast, or a multi-day outlook)?\",\"additional_kwargs\":{},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":179,\"completionTokens\":99,\"totalTokens\":278},\"finish_reason\":\"stop\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":99,\"input_tokens\":179,\"total_tokens\":278,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":64}}}}],\"_privateState\":{\"threadLevelCallCount\":2,\"runModelCallCount\":1}}",
- "model": null,
- "internalModelId": null,
- "modelParameters": null,
+ "createdAt": "2025-10-30T08:45:46.740Z",
+ "updatedAt": "2025-10-30T08:45:46.741Z",
+ "input": "[{\"content\":\"What's the weather in San Francisco?\",\"role\":\"user\"}]",
+ "output": "{\"content\":\"\",\"role\":\"assistant\",\"tool_calls\":[{\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"San Francisco\\\"}\"}}]}",
+ "model": "gpt-5-mini-2025-08-07",
+ "internalModelId": "03b83894-7172-4e1e-8e8b-37d792484efd",
+ "modelParameters": {},
"completionStartTime": null,
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0.006,
+ "latency": 1.822,
"timeToFirstToken": null,
- "usageDetails": {},
- "costDetails": {},
+ "usageDetails": {
+ "input": 142,
+ "output": 24,
+ "total": 166,
+ "input_audio": 0,
+ "input_cache_read": 0,
+ "output_audio": 0,
+ "output_reasoning": 0
+ },
+ "costDetails": {
+ "input": 0.0000355,
+ "output": 0.000048,
+ "input_cache_read": 0,
+ "output_reasoning": 0,
+ "total": 0.0000835
+ },
"providedCostDetails": {},
- "inputCost": null,
- "outputCost": null,
- "totalCost": 0,
- "inputUsage": 0,
- "outputUsage": 0,
- "totalUsage": 0,
+ "inputCost": 0.0000355,
+ "outputCost": 0.000048,
+ "totalCost": 0.0000835,
+ "inputUsage": 142,
+ "outputUsage": 24,
+ "totalUsage": 166,
"usagePricingTierId": null,
"usagePricingTierName": null,
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"tags\":[\"langsmith:hidden\"],\"langgraph_step\":3,\"langgraph_node\":\"model_request\",\"langgraph_triggers\":[\"branch:to:model_request\"],\"langgraph_path\":[\"__pregel_pull\",\"model_request\"],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|model_request:c51cebc4-7aca-5acb-951c-245ef0a1809c\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
- "internalModel": null
+ "metadata": "{\"tags\":[\"seq:step:2\"],\"langgraph_step\":1,\"langgraph_node\":\"model_request\",\"langgraph_triggers\":[\"branch:to:model_request\"],\"langgraph_path\":[\"__pregel_pull\",\"model_request\"],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|model_request:5f3de826-6e97-5ed2-a7eb-d1fe70fbd3cc\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"ls_provider\":\"openai\",\"ls_model_name\":\"gpt-5-mini\",\"ls_model_type\":\"chat\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
+ "internalModel": "03b83894-7172-4e1e-8e8b-37d792484efd"
},
{
- "id": "29937389e09f9525",
+ "id": "0fa7a562ce43f546",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:43.210Z",
- "endTime": "2025-10-30T08:45:43.210Z",
+ "startTime": "2025-10-30T08:45:43.205Z",
+ "endTime": "2025-10-30T08:45:43.205Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "b6ebcf125bccb1e0",
+ "parentObservationId": "62fd894173738caf",
"type": "SPAN",
"environment": "default",
- "name": "prompt",
- "level": "DEFAULT",
+ "name": "ChannelWrite<branch:to:model_request>",
+ "level": "DEBUG",
"statusMessage": null,
"version": null,
"createdAt": "2025-10-30T08:45:46.740Z",
"updatedAt": "2025-10-30T08:45:46.741Z",
- "input": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"HumanMessage\"],\"kwargs\":{\"content\":\"What's the weather in San Francisco?\",\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"44fe5ba2-2f09-4ec2-9385-33e26c43f469\"}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZpV1k7an0crpr6hsnDXp1j2wdo\",\"name\":\"model\",\"content\":\"\",\"additional_kwargs\":{\"tool_calls\":[{\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"San Francisco\\\"}\"}}]},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":142,\"completionTokens\":24,\"totalTokens\":166},\"finish_reason\":\"tool_calls\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[{\"name\":\"get_weather\",\"args\":{\"city\":\"San Francisco\"},\"type\":\"tool_call\",\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\"}],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":24,\"input_tokens\":142,\"total_tokens\":166,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":0}}}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"ToolMessage\"],\"kwargs\":{\"status\":\"success\",\"content\":\"It's always sunny in San Francisco!\",\"tool_call_id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"name\":\"get_weather\",\"metadata\":{},\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"62384f1e-7993-405d-80d5-e62fc1102f78\"}}],\"_privateState\":{\"threadLevelCallCount\":1,\"runModelCallCount\":0}}",
- "output": "{\"output\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"HumanMessage\"],\"kwargs\":{\"content\":\"What's the weather in San Francisco?\",\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"44fe5ba2-2f09-4ec2-9385-33e26c43f469\"}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZpV1k7an0crpr6hsnDXp1j2wdo\",\"name\":\"model\",\"content\":\"\",\"additional_kwargs\":{\"tool_calls\":[{\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"San Francisco\\\"}\"}}]},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":142,\"completionTokens\":24,\"totalTokens\":166},\"finish_reason\":\"tool_calls\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[{\"name\":\"get_weather\",\"args\":{\"city\":\"San Francisco\"},\"type\":\"tool_call\",\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\"}],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":24,\"input_tokens\":142,\"total_tokens\":166,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":0}}}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"ToolMessage\"],\"kwargs\":{\"status\":\"success\",\"content\":\"It's always sunny in San Francisco!\",\"tool_call_id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"name\":\"get_weather\",\"metadata\":{},\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"62384f1e-7993-405d-80d5-e62fc1102f78\"}}]}",
+ "input": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"ToolMessage\"],\"kwargs\":{\"status\":\"success\",\"content\":\"It's always sunny in San Francisco!\",\"tool_call_id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"name\":\"get_weather\",\"metadata\":{},\"additional_kwargs\":{},\"response_metadata\":{}}}]}",
+ "output": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"ToolMessage\"],\"kwargs\":{\"status\":\"success\",\"content\":\"It's always sunny in San Francisco!\",\"tool_call_id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"name\":\"get_weather\",\"metadata\":{},\"additional_kwargs\":{},\"response_metadata\":{}}}]}",
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -1310,26 +1310,26 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"tags\":[\"seq:step:1\"],\"langgraph_step\":3,\"langgraph_node\":\"model_request\",\"langgraph_triggers\":[\"branch:to:model_request\"],\"langgraph_path\":[\"__pregel_pull\",\"model_request\"],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|model_request:c51cebc4-7aca-5acb-951c-245ef0a1809c\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
+ "metadata": "{\"tags\":[\"langsmith:hidden\"],\"langgraph_step\":2,\"langgraph_node\":\"tools\",\"langgraph_triggers\":[\"__pregel_push\"],\"langgraph_path\":[\"__pregel_push\",0],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|tools:99081552-33b0-5649-a698-4aa1e0c771f5\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "4059d1450dfaeabd",
+ "id": "1a436b274dae3895",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:43.195Z",
- "endTime": "2025-10-30T08:45:43.197Z",
+ "startTime": "2025-10-30T08:45:41.345Z",
+ "endTime": "2025-10-30T08:45:43.194Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
"parentObservationId": "94d8f57d1d47f9d3",
"type": "SPAN",
"environment": "default",
- "name": "ChannelWrite<...>",
- "level": "DEBUG",
+ "name": "RunnableSequence",
+ "level": "DEFAULT",
"statusMessage": null,
"version": null,
"createdAt": "2025-10-30T08:45:46.740Z",
"updatedAt": "2025-10-30T08:45:46.741Z",
- "input": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZpV1k7an0crpr6hsnDXp1j2wdo\",\"name\":\"model\",\"content\":\"\",\"additional_kwargs\":{\"tool_calls\":[{\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"San Francisco\\\"}\"}}]},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":142,\"completionTokens\":24,\"totalTokens\":166},\"finish_reason\":\"tool_calls\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[{\"name\":\"get_weather\",\"args\":{\"city\":\"San Francisco\"},\"type\":\"tool_call\",\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\"}],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":24,\"input_tokens\":142,\"total_tokens\":166,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":0}}}}],\"_privateState\":{\"threadLevelCallCount\":1,\"runModelCallCount\":0}}",
- "output": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZpV1k7an0crpr6hsnDXp1j2wdo\",\"name\":\"model\",\"content\":\"\",\"additional_kwargs\":{\"tool_calls\":[{\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"San Francisco\\\"}\"}}]},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":142,\"completionTokens\":24,\"totalTokens\":166},\"finish_reason\":\"tool_calls\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[{\"name\":\"get_weather\",\"args\":{\"city\":\"San Francisco\"},\"type\":\"tool_call\",\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\"}],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":24,\"input_tokens\":142,\"total_tokens\":166,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":0}}}}],\"_privateState\":{\"threadLevelCallCount\":1,\"runModelCallCount\":0}}",
+ "input": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"HumanMessage\"],\"kwargs\":{\"content\":\"What's the weather in San Francisco?\",\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"44fe5ba2-2f09-4ec2-9385-33e26c43f469\"}}]}",
+ "output": "{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZpV1k7an0crpr6hsnDXp1j2wdo\",\"content\":\"\",\"additional_kwargs\":{\"tool_calls\":[{\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"San Francisco\\\"}\"}}]},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":142,\"completionTokens\":24,\"totalTokens\":166},\"finish_reason\":\"tool_calls\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[{\"name\":\"get_weather\",\"args\":{\"city\":\"San Francisco\"},\"type\":\"tool_call\",\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\"}],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":24,\"input_tokens\":142,\"total_tokens\":166,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":0}}}}",
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -1337,7 +1337,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0.002,
+ "latency": 1.849,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -1353,16 +1353,16 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"tags\":[\"langsmith:hidden\"],\"langgraph_step\":1,\"langgraph_node\":\"model_request\",\"langgraph_triggers\":[\"branch:to:model_request\"],\"langgraph_path\":[\"__pregel_pull\",\"model_request\"],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|model_request:5f3de826-6e97-5ed2-a7eb-d1fe70fbd3cc\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
+ "metadata": "{\"langgraph_step\":1,\"langgraph_node\":\"model_request\",\"langgraph_triggers\":[\"branch:to:model_request\"],\"langgraph_path\":[\"__pregel_pull\",\"model_request\"],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|model_request:5f3de826-6e97-5ed2-a7eb-d1fe70fbd3cc\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "405be02ff1aec7f8",
+ "id": "29937389e09f9525",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:41.346Z",
- "endTime": "2025-10-30T08:45:41.346Z",
+ "startTime": "2025-10-30T08:45:43.210Z",
+ "endTime": "2025-10-30T08:45:43.210Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "1a436b274dae3895",
+ "parentObservationId": "b6ebcf125bccb1e0",
"type": "SPAN",
"environment": "default",
"name": "prompt",
@@ -1370,9 +1370,9 @@
"statusMessage": null,
"version": null,
"createdAt": "2025-10-30T08:45:46.740Z",
- "updatedAt": "2025-10-30T08:45:46.740Z",
- "input": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"HumanMessage\"],\"kwargs\":{\"content\":\"What's the weather in San Francisco?\",\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"44fe5ba2-2f09-4ec2-9385-33e26c43f469\"}}]}",
- "output": "{\"output\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"HumanMessage\"],\"kwargs\":{\"content\":\"What's the weather in San Francisco?\",\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"44fe5ba2-2f09-4ec2-9385-33e26c43f469\"}}]}",
+ "updatedAt": "2025-10-30T08:45:46.741Z",
+ "input": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"HumanMessage\"],\"kwargs\":{\"content\":\"What's the weather in San Francisco?\",\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"44fe5ba2-2f09-4ec2-9385-33e26c43f469\"}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZpV1k7an0crpr6hsnDXp1j2wdo\",\"name\":\"model\",\"content\":\"\",\"additional_kwargs\":{\"tool_calls\":[{\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"San Francisco\\\"}\"}}]},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":142,\"completionTokens\":24,\"totalTokens\":166},\"finish_reason\":\"tool_calls\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[{\"name\":\"get_weather\",\"args\":{\"city\":\"San Francisco\"},\"type\":\"tool_call\",\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\"}],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":24,\"input_tokens\":142,\"total_tokens\":166,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":0}}}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"ToolMessage\"],\"kwargs\":{\"status\":\"success\",\"content\":\"It's always sunny in San Francisco!\",\"tool_call_id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"name\":\"get_weather\",\"metadata\":{},\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"62384f1e-7993-405d-80d5-e62fc1102f78\"}}],\"_privateState\":{\"threadLevelCallCount\":1,\"runModelCallCount\":0}}",
+ "output": "{\"output\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"HumanMessage\"],\"kwargs\":{\"content\":\"What's the weather in San Francisco?\",\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"44fe5ba2-2f09-4ec2-9385-33e26c43f469\"}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZpV1k7an0crpr6hsnDXp1j2wdo\",\"name\":\"model\",\"content\":\"\",\"additional_kwargs\":{\"tool_calls\":[{\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"San Francisco\\\"}\"}}]},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":142,\"completionTokens\":24,\"totalTokens\":166},\"finish_reason\":\"tool_calls\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[{\"name\":\"get_weather\",\"args\":{\"city\":\"San Francisco\"},\"type\":\"tool_call\",\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\"}],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":24,\"input_tokens\":142,\"total_tokens\":166,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":0}}}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"ToolMessage\"],\"kwargs\":{\"status\":\"success\",\"content\":\"It's always sunny in San Francisco!\",\"tool_call_id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"name\":\"get_weather\",\"metadata\":{},\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"62384f1e-7993-405d-80d5-e62fc1102f78\"}}]}",
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -1396,26 +1396,26 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"tags\":[\"seq:step:1\"],\"langgraph_step\":1,\"langgraph_node\":\"model_request\",\"langgraph_triggers\":[\"branch:to:model_request\"],\"langgraph_path\":[\"__pregel_pull\",\"model_request\"],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|model_request:5f3de826-6e97-5ed2-a7eb-d1fe70fbd3cc\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
+ "metadata": "{\"tags\":[\"seq:step:1\"],\"langgraph_step\":3,\"langgraph_node\":\"model_request\",\"langgraph_triggers\":[\"branch:to:model_request\"],\"langgraph_path\":[\"__pregel_pull\",\"model_request\"],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|model_request:c51cebc4-7aca-5acb-951c-245ef0a1809c\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "4a19536760554d30",
+ "id": "4059d1450dfaeabd",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:41.320Z",
- "endTime": "2025-10-30T08:45:41.320Z",
+ "startTime": "2025-10-30T08:45:43.195Z",
+ "endTime": "2025-10-30T08:45:43.197Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "f610e93ab2a4d66c",
+ "parentObservationId": "94d8f57d1d47f9d3",
"type": "SPAN",
"environment": "default",
- "name": "ChannelWrite<branch:to:model_request>",
+ "name": "ChannelWrite<...>",
"level": "DEBUG",
"statusMessage": null,
"version": null,
"createdAt": "2025-10-30T08:45:46.740Z",
- "updatedAt": "2025-10-30T08:45:46.740Z",
- "input": "{\"messages\":[{\"role\":\"user\",\"content\":\"What's the weather in San Francisco?\"}]}",
- "output": "{\"messages\":[{\"role\":\"user\",\"content\":\"What's the weather in San Francisco?\"}]}",
+ "updatedAt": "2025-10-30T08:45:46.741Z",
+ "input": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZpV1k7an0crpr6hsnDXp1j2wdo\",\"name\":\"model\",\"content\":\"\",\"additional_kwargs\":{\"tool_calls\":[{\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"San Francisco\\\"}\"}}]},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":142,\"completionTokens\":24,\"totalTokens\":166},\"finish_reason\":\"tool_calls\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[{\"name\":\"get_weather\",\"args\":{\"city\":\"San Francisco\"},\"type\":\"tool_call\",\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\"}],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":24,\"input_tokens\":142,\"total_tokens\":166,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":0}}}}],\"_privateState\":{\"threadLevelCallCount\":1,\"runModelCallCount\":0}}",
+ "output": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZpV1k7an0crpr6hsnDXp1j2wdo\",\"name\":\"model\",\"content\":\"\",\"additional_kwargs\":{\"tool_calls\":[{\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"San Francisco\\\"}\"}}]},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":142,\"completionTokens\":24,\"totalTokens\":166},\"finish_reason\":\"tool_calls\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[{\"name\":\"get_weather\",\"args\":{\"city\":\"San Francisco\"},\"type\":\"tool_call\",\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\"}],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":24,\"input_tokens\":142,\"total_tokens\":166,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":0}}}}],\"_privateState\":{\"threadLevelCallCount\":1,\"runModelCallCount\":0}}",
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -1423,7 +1423,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0,
+ "latency": 0.002,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -1439,26 +1439,26 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"tags\":[\"langsmith:hidden\"],\"langgraph_step\":0,\"langgraph_node\":\"__start__\",\"langgraph_triggers\":[\"__start__\"],\"langgraph_path\":[\"__pregel_pull\",\"__start__\"],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|__start__:b63c9a92-0827-53d0-ad62-34801c1b3ea7\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
+ "metadata": "{\"tags\":[\"langsmith:hidden\"],\"langgraph_step\":1,\"langgraph_node\":\"model_request\",\"langgraph_triggers\":[\"branch:to:model_request\"],\"langgraph_path\":[\"__pregel_pull\",\"model_request\"],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|model_request:5f3de826-6e97-5ed2-a7eb-d1fe70fbd3cc\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "4bd9001eb2207296",
+ "id": "62fd894173738caf",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:41.319Z",
- "endTime": "2025-10-30T08:45:41.319Z",
+ "startTime": "2025-10-30T08:45:43.203Z",
+ "endTime": "2025-10-30T08:45:43.208Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "f610e93ab2a4d66c",
+ "parentObservationId": "0fabddcbcd5cee2d",
"type": "SPAN",
"environment": "default",
- "name": "ChannelWrite<...>",
- "level": "DEBUG",
+ "name": "tools",
+ "level": "DEFAULT",
"statusMessage": null,
"version": null,
"createdAt": "2025-10-30T08:45:46.740Z",
- "updatedAt": "2025-10-30T08:45:46.740Z",
- "input": "{\"messages\":[{\"role\":\"user\",\"content\":\"What's the weather in San Francisco?\"}]}",
- "output": "{\"messages\":[{\"role\":\"user\",\"content\":\"What's the weather in San Francisco?\"}]}",
+ "updatedAt": "2025-10-30T08:45:46.741Z",
+ "input": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"HumanMessage\"],\"kwargs\":{\"content\":\"What's the weather in San Francisco?\",\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"44fe5ba2-2f09-4ec2-9385-33e26c43f469\"}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZpV1k7an0crpr6hsnDXp1j2wdo\",\"name\":\"model\",\"content\":\"\",\"additional_kwargs\":{\"tool_calls\":[{\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"San Francisco\\\"}\"}}]},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":142,\"completionTokens\":24,\"totalTokens\":166},\"finish_reason\":\"tool_calls\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[{\"name\":\"get_weather\",\"args\":{\"city\":\"San Francisco\"},\"type\":\"tool_call\",\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\"}],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":24,\"input_tokens\":142,\"total_tokens\":166,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":0}}}}],\"_privateState\":{\"threadLevelCallCount\":1,\"runModelCallCount\":0},\"lg_tool_call\":{\"name\":\"get_weather\",\"args\":{\"city\":\"San Francisco\"},\"type\":\"tool_call\",\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\"}}",
+ "output": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"ToolMessage\"],\"kwargs\":{\"status\":\"success\",\"content\":\"It's always sunny in San Francisco!\",\"tool_call_id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"name\":\"get_weather\",\"metadata\":{},\"additional_kwargs\":{},\"response_metadata\":{}}}]}",
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -1466,7 +1466,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0,
+ "latency": 0.005,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -1482,26 +1482,26 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"tags\":[\"langsmith:hidden\"],\"langgraph_step\":0,\"langgraph_node\":\"__start__\",\"langgraph_triggers\":[\"__start__\"],\"langgraph_path\":[\"__pregel_pull\",\"__start__\"],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|__start__:b63c9a92-0827-53d0-ad62-34801c1b3ea7\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
+ "metadata": "{\"tags\":[\"graph:step:2\"],\"langgraph_step\":2,\"langgraph_node\":\"tools\",\"langgraph_triggers\":[\"__pregel_push\"],\"langgraph_path\":[\"__pregel_push\",0],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|tools:99081552-33b0-5649-a698-4aa1e0c771f5\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "5418736422abc167",
+ "id": "841f49934638899f",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:46.457Z",
- "endTime": "2025-10-30T08:45:46.458Z",
+ "startTime": "2025-10-30T08:45:43.200Z",
+ "endTime": "2025-10-30T08:45:43.200Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "2285cbc61d44c3e3",
+ "parentObservationId": "94d8f57d1d47f9d3",
"type": "SPAN",
"environment": "default",
"name": "Branch<model_request,tools,__end__>",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-10-30T08:45:52.145Z",
- "updatedAt": "2025-10-30T08:45:52.145Z",
- "input": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"HumanMessage\"],\"kwargs\":{\"content\":\"What's the weather in San Francisco?\",\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"44fe5ba2-2f09-4ec2-9385-33e26c43f469\"}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZpV1k7an0crpr6hsnDXp1j2wdo\",\"name\":\"model\",\"content\":\"\",\"additional_kwargs\":{\"tool_calls\":[{\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"San Francisco\\\"}\"}}]},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":142,\"completionTokens\":24,\"totalTokens\":166},\"finish_reason\":\"tool_calls\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[{\"name\":\"get_weather\",\"args\":{\"city\":\"San Francisco\"},\"type\":\"tool_call\",\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\"}],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":24,\"input_tokens\":142,\"total_tokens\":166,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":0}}}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"ToolMessage\"],\"kwargs\":{\"status\":\"success\",\"content\":\"It's always sunny in San Francisco!\",\"tool_call_id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"name\":\"get_weather\",\"metadata\":{},\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"62384f1e-7993-405d-80d5-e62fc1102f78\"}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZrr2vTw7RzmVplwulRfCMgIOtd\",\"name\":\"model\",\"content\":\"It's always sunny in San Francisco! \\n\\nWould you like more details (current temperature, hourly forecast, or a multi-day outlook)?\",\"additional_kwargs\":{},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":179,\"completionTokens\":99,\"totalTokens\":278},\"finish_reason\":\"stop\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":99,\"input_tokens\":179,\"total_tokens\":278,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":64}}}}],\"_privateState\":{\"threadLevelCallCount\":2,\"runModelCallCount\":1}}",
- "output": "__end__",
+ "createdAt": "2025-10-30T08:45:46.740Z",
+ "updatedAt": "2025-10-30T08:45:46.741Z",
+ "input": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"HumanMessage\"],\"kwargs\":{\"content\":\"What's the weather in San Francisco?\",\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"44fe5ba2-2f09-4ec2-9385-33e26c43f469\"}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZpV1k7an0crpr6hsnDXp1j2wdo\",\"name\":\"model\",\"content\":\"\",\"additional_kwargs\":{\"tool_calls\":[{\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"San Francisco\\\"}\"}}]},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":142,\"completionTokens\":24,\"totalTokens\":166},\"finish_reason\":\"tool_calls\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[{\"name\":\"get_weather\",\"args\":{\"city\":\"San Francisco\"},\"type\":\"tool_call\",\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\"}],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":24,\"input_tokens\":142,\"total_tokens\":166,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":0}}}}],\"_privateState\":{\"threadLevelCallCount\":1,\"runModelCallCount\":0}}",
+ "output": "{\"output\":[{\"lg_name\":\"Send\",\"node\":\"tools\",\"args\":{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"HumanMessage\"],\"kwargs\":{\"content\":\"What's the weather in San Francisco?\",\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"44fe5ba2-2f09-4ec2-9385-33e26c43f469\"}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZpV1k7an0crpr6hsnDXp1j2wdo\",\"name\":\"model\",\"content\":\"\",\"additional_kwargs\":{\"tool_calls\":[{\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"San Francisco\\\"}\"}}]},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":142,\"completionTokens\":24,\"totalTokens\":166},\"finish_reason\":\"tool_calls\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[{\"name\":\"get_weather\",\"args\":{\"city\":\"San Francisco\"},\"type\":\"tool_call\",\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\"}],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":24,\"input_tokens\":142,\"total_tokens\":166,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":0}}}}],\"_privateState\":{\"threadLevelCallCount\":1,\"runModelCallCount\":0},\"lg_tool_call\":{\"name\":\"get_weather\",\"args\":{\"city\":\"San Francisco\"},\"type\":\"tool_call\",\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\"}}}]}",
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -1509,7 +1509,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0.001,
+ "latency": 0,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -1525,26 +1525,26 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"langgraph_step\":3,\"langgraph_node\":\"model_request\",\"langgraph_triggers\":[\"branch:to:model_request\"],\"langgraph_path\":[\"__pregel_pull\",\"model_request\"],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|model_request:c51cebc4-7aca-5acb-951c-245ef0a1809c\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
+ "metadata": "{\"langgraph_step\":1,\"langgraph_node\":\"model_request\",\"langgraph_triggers\":[\"branch:to:model_request\"],\"langgraph_path\":[\"__pregel_pull\",\"model_request\"],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|model_request:5f3de826-6e97-5ed2-a7eb-d1fe70fbd3cc\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "62fd894173738caf",
+ "id": "94d8f57d1d47f9d3",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:43.203Z",
- "endTime": "2025-10-30T08:45:43.208Z",
+ "startTime": "2025-10-30T08:45:41.322Z",
+ "endTime": "2025-10-30T08:45:43.201Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
"parentObservationId": "0fabddcbcd5cee2d",
"type": "SPAN",
"environment": "default",
- "name": "tools",
+ "name": "model_request",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
"createdAt": "2025-10-30T08:45:46.740Z",
"updatedAt": "2025-10-30T08:45:46.741Z",
- "input": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"HumanMessage\"],\"kwargs\":{\"content\":\"What's the weather in San Francisco?\",\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"44fe5ba2-2f09-4ec2-9385-33e26c43f469\"}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZpV1k7an0crpr6hsnDXp1j2wdo\",\"name\":\"model\",\"content\":\"\",\"additional_kwargs\":{\"tool_calls\":[{\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"San Francisco\\\"}\"}}]},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":142,\"completionTokens\":24,\"totalTokens\":166},\"finish_reason\":\"tool_calls\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[{\"name\":\"get_weather\",\"args\":{\"city\":\"San Francisco\"},\"type\":\"tool_call\",\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\"}],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":24,\"input_tokens\":142,\"total_tokens\":166,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":0}}}}],\"_privateState\":{\"threadLevelCallCount\":1,\"runModelCallCount\":0},\"lg_tool_call\":{\"name\":\"get_weather\",\"args\":{\"city\":\"San Francisco\"},\"type\":\"tool_call\",\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\"}}",
- "output": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"ToolMessage\"],\"kwargs\":{\"status\":\"success\",\"content\":\"It's always sunny in San Francisco!\",\"tool_call_id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"name\":\"get_weather\",\"metadata\":{},\"additional_kwargs\":{},\"response_metadata\":{}}}]}",
+ "input": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"HumanMessage\"],\"kwargs\":{\"content\":\"What's the weather in San Francisco?\",\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"44fe5ba2-2f09-4ec2-9385-33e26c43f469\"}}]}",
+ "output": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZpV1k7an0crpr6hsnDXp1j2wdo\",\"name\":\"model\",\"content\":\"\",\"additional_kwargs\":{\"tool_calls\":[{\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"San Francisco\\\"}\"}}]},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":142,\"completionTokens\":24,\"totalTokens\":166},\"finish_reason\":\"tool_calls\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[{\"name\":\"get_weather\",\"args\":{\"city\":\"San Francisco\"},\"type\":\"tool_call\",\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\"}],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":24,\"input_tokens\":142,\"total_tokens\":166,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":0}}}}],\"_privateState\":{\"threadLevelCallCount\":1,\"runModelCallCount\":0}}",
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -1552,7 +1552,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0.005,
+ "latency": 1.879,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -1568,26 +1568,26 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"tags\":[\"graph:step:2\"],\"langgraph_step\":2,\"langgraph_node\":\"tools\",\"langgraph_triggers\":[\"__pregel_push\"],\"langgraph_path\":[\"__pregel_push\",0],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|tools:99081552-33b0-5649-a698-4aa1e0c771f5\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
+ "metadata": "{\"tags\":[\"graph:step:1\"],\"langgraph_step\":1,\"langgraph_node\":\"model_request\",\"langgraph_triggers\":[\"branch:to:model_request\"],\"langgraph_path\":[\"__pregel_pull\",\"model_request\"],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|model_request:5f3de826-6e97-5ed2-a7eb-d1fe70fbd3cc\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "841f49934638899f",
+ "id": "c3a547a43cb47b18",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:43.200Z",
- "endTime": "2025-10-30T08:45:43.200Z",
+ "startTime": "2025-10-30T08:45:43.204Z",
+ "endTime": "2025-10-30T08:45:43.204Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "94d8f57d1d47f9d3",
+ "parentObservationId": "62fd894173738caf",
"type": "SPAN",
"environment": "default",
- "name": "Branch<model_request,tools,__end__>",
+ "name": "get_weather",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
"createdAt": "2025-10-30T08:45:46.740Z",
"updatedAt": "2025-10-30T08:45:46.741Z",
- "input": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"HumanMessage\"],\"kwargs\":{\"content\":\"What's the weather in San Francisco?\",\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"44fe5ba2-2f09-4ec2-9385-33e26c43f469\"}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZpV1k7an0crpr6hsnDXp1j2wdo\",\"name\":\"model\",\"content\":\"\",\"additional_kwargs\":{\"tool_calls\":[{\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"San Francisco\\\"}\"}}]},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":142,\"completionTokens\":24,\"totalTokens\":166},\"finish_reason\":\"tool_calls\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[{\"name\":\"get_weather\",\"args\":{\"city\":\"San Francisco\"},\"type\":\"tool_call\",\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\"}],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":24,\"input_tokens\":142,\"total_tokens\":166,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":0}}}}],\"_privateState\":{\"threadLevelCallCount\":1,\"runModelCallCount\":0}}",
- "output": "{\"output\":[{\"lg_name\":\"Send\",\"node\":\"tools\",\"args\":{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"HumanMessage\"],\"kwargs\":{\"content\":\"What's the weather in San Francisco?\",\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"44fe5ba2-2f09-4ec2-9385-33e26c43f469\"}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZpV1k7an0crpr6hsnDXp1j2wdo\",\"name\":\"model\",\"content\":\"\",\"additional_kwargs\":{\"tool_calls\":[{\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"San Francisco\\\"}\"}}]},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":142,\"completionTokens\":24,\"totalTokens\":166},\"finish_reason\":\"tool_calls\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[{\"name\":\"get_weather\",\"args\":{\"city\":\"San Francisco\"},\"type\":\"tool_call\",\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\"}],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":24,\"input_tokens\":142,\"total_tokens\":166,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":0}}}}],\"_privateState\":{\"threadLevelCallCount\":1,\"runModelCallCount\":0},\"lg_tool_call\":{\"name\":\"get_weather\",\"args\":{\"city\":\"San Francisco\"},\"type\":\"tool_call\",\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\"}}}]}",
+ "input": "{\"city\":\"San Francisco\"}",
+ "output": "{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"ToolMessage\"],\"kwargs\":{\"status\":\"success\",\"content\":\"It's always sunny in San Francisco!\",\"tool_call_id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"name\":\"get_weather\",\"metadata\":{},\"additional_kwargs\":{},\"response_metadata\":{}}}",
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -1611,26 +1611,26 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"langgraph_step\":1,\"langgraph_node\":\"model_request\",\"langgraph_triggers\":[\"branch:to:model_request\"],\"langgraph_path\":[\"__pregel_pull\",\"model_request\"],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|model_request:5f3de826-6e97-5ed2-a7eb-d1fe70fbd3cc\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
+ "metadata": "{\"langgraph_step\":2,\"langgraph_node\":\"tools\",\"langgraph_triggers\":[\"__pregel_push\"],\"langgraph_path\":[\"__pregel_push\",0],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|tools:99081552-33b0-5649-a698-4aa1e0c771f5\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "94d8f57d1d47f9d3",
+ "id": "dc6fa04662de9504",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:41.322Z",
- "endTime": "2025-10-30T08:45:43.201Z",
+ "startTime": "2025-10-30T08:45:43.204Z",
+ "endTime": "2025-10-30T08:45:43.204Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "0fabddcbcd5cee2d",
+ "parentObservationId": "62fd894173738caf",
"type": "SPAN",
"environment": "default",
- "name": "model_request",
- "level": "DEFAULT",
+ "name": "ChannelWrite<...>",
+ "level": "DEBUG",
"statusMessage": null,
"version": null,
"createdAt": "2025-10-30T08:45:46.740Z",
"updatedAt": "2025-10-30T08:45:46.741Z",
- "input": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"HumanMessage\"],\"kwargs\":{\"content\":\"What's the weather in San Francisco?\",\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"44fe5ba2-2f09-4ec2-9385-33e26c43f469\"}}]}",
- "output": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZpV1k7an0crpr6hsnDXp1j2wdo\",\"name\":\"model\",\"content\":\"\",\"additional_kwargs\":{\"tool_calls\":[{\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"San Francisco\\\"}\"}}]},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":142,\"completionTokens\":24,\"totalTokens\":166},\"finish_reason\":\"tool_calls\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[{\"name\":\"get_weather\",\"args\":{\"city\":\"San Francisco\"},\"type\":\"tool_call\",\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\"}],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":24,\"input_tokens\":142,\"total_tokens\":166,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":0}}}}],\"_privateState\":{\"threadLevelCallCount\":1,\"runModelCallCount\":0}}",
+ "input": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"ToolMessage\"],\"kwargs\":{\"status\":\"success\",\"content\":\"It's always sunny in San Francisco!\",\"tool_call_id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"name\":\"get_weather\",\"metadata\":{},\"additional_kwargs\":{},\"response_metadata\":{}}}]}",
+ "output": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"ToolMessage\"],\"kwargs\":{\"status\":\"success\",\"content\":\"It's always sunny in San Francisco!\",\"tool_call_id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"name\":\"get_weather\",\"metadata\":{},\"additional_kwargs\":{},\"response_metadata\":{}}}]}",
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -1638,7 +1638,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 1.879,
+ "latency": 0,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -1654,26 +1654,26 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"tags\":[\"graph:step:1\"],\"langgraph_step\":1,\"langgraph_node\":\"model_request\",\"langgraph_triggers\":[\"branch:to:model_request\"],\"langgraph_path\":[\"__pregel_pull\",\"model_request\"],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|model_request:5f3de826-6e97-5ed2-a7eb-d1fe70fbd3cc\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
+ "metadata": "{\"tags\":[\"langsmith:hidden\"],\"langgraph_step\":2,\"langgraph_node\":\"tools\",\"langgraph_triggers\":[\"__pregel_push\"],\"langgraph_path\":[\"__pregel_push\",0],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|tools:99081552-33b0-5649-a698-4aa1e0c771f5\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "b6ebcf125bccb1e0",
+ "id": "405be02ff1aec7f8",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:43.210Z",
- "endTime": "2025-10-30T08:45:46.444Z",
+ "startTime": "2025-10-30T08:45:41.346Z",
+ "endTime": "2025-10-30T08:45:41.346Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "2285cbc61d44c3e3",
+ "parentObservationId": "1a436b274dae3895",
"type": "SPAN",
"environment": "default",
- "name": "RunnableSequence",
+ "name": "prompt",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-10-30T08:45:52.145Z",
- "updatedAt": "2025-10-30T08:45:52.145Z",
- "input": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"HumanMessage\"],\"kwargs\":{\"content\":\"What's the weather in San Francisco?\",\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"44fe5ba2-2f09-4ec2-9385-33e26c43f469\"}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZpV1k7an0crpr6hsnDXp1j2wdo\",\"name\":\"model\",\"content\":\"\",\"additional_kwargs\":{\"tool_calls\":[{\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"type\":\"function\",\"function\":{\"name\":\"get_weather\",\"arguments\":\"{\\\"city\\\":\\\"San Francisco\\\"}\"}}]},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":142,\"completionTokens\":24,\"totalTokens\":166},\"finish_reason\":\"tool_calls\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[{\"name\":\"get_weather\",\"args\":{\"city\":\"San Francisco\"},\"type\":\"tool_call\",\"id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\"}],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":24,\"input_tokens\":142,\"total_tokens\":166,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":0}}}},{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"ToolMessage\"],\"kwargs\":{\"status\":\"success\",\"content\":\"It's always sunny in San Francisco!\",\"tool_call_id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"name\":\"get_weather\",\"metadata\":{},\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"62384f1e-7993-405d-80d5-e62fc1102f78\"}}],\"_privateState\":{\"threadLevelCallCount\":1,\"runModelCallCount\":0}}",
- "output": "{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"AIMessage\"],\"kwargs\":{\"id\":\"chatcmpl-CWIZrr2vTw7RzmVplwulRfCMgIOtd\",\"content\":\"It's always sunny in San Francisco! \\n\\nWould you like more details (current temperature, hourly forecast, or a multi-day outlook)?\",\"additional_kwargs\":{},\"response_metadata\":{\"tokenUsage\":{\"promptTokens\":179,\"completionTokens\":99,\"totalTokens\":278},\"finish_reason\":\"stop\",\"model_provider\":\"openai\",\"model_name\":\"gpt-5-mini-2025-08-07\"},\"type\":\"ai\",\"tool_calls\":[],\"invalid_tool_calls\":[],\"usage_metadata\":{\"output_tokens\":99,\"input_tokens\":179,\"total_tokens\":278,\"input_token_details\":{\"audio\":0,\"cache_read\":0},\"output_token_details\":{\"audio\":0,\"reasoning\":64}}}}",
+ "createdAt": "2025-10-30T08:45:46.740Z",
+ "updatedAt": "2025-10-30T08:45:46.740Z",
+ "input": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"HumanMessage\"],\"kwargs\":{\"content\":\"What's the weather in San Francisco?\",\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"44fe5ba2-2f09-4ec2-9385-33e26c43f469\"}}]}",
+ "output": "{\"output\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"HumanMessage\"],\"kwargs\":{\"content\":\"What's the weather in San Francisco?\",\"additional_kwargs\":{},\"response_metadata\":{},\"id\":\"44fe5ba2-2f09-4ec2-9385-33e26c43f469\"}}]}",
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -1681,7 +1681,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 3.234,
+ "latency": 0,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -1697,26 +1697,26 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"langgraph_step\":3,\"langgraph_node\":\"model_request\",\"langgraph_triggers\":[\"branch:to:model_request\"],\"langgraph_path\":[\"__pregel_pull\",\"model_request\"],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|model_request:c51cebc4-7aca-5acb-951c-245ef0a1809c\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
+ "metadata": "{\"tags\":[\"seq:step:1\"],\"langgraph_step\":1,\"langgraph_node\":\"model_request\",\"langgraph_triggers\":[\"branch:to:model_request\"],\"langgraph_path\":[\"__pregel_pull\",\"model_request\"],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|model_request:5f3de826-6e97-5ed2-a7eb-d1fe70fbd3cc\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "c3a547a43cb47b18",
+ "id": "4a19536760554d30",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:43.204Z",
- "endTime": "2025-10-30T08:45:43.204Z",
+ "startTime": "2025-10-30T08:45:41.320Z",
+ "endTime": "2025-10-30T08:45:41.320Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "62fd894173738caf",
+ "parentObservationId": "f610e93ab2a4d66c",
"type": "SPAN",
"environment": "default",
- "name": "get_weather",
- "level": "DEFAULT",
+ "name": "ChannelWrite<branch:to:model_request>",
+ "level": "DEBUG",
"statusMessage": null,
"version": null,
"createdAt": "2025-10-30T08:45:46.740Z",
- "updatedAt": "2025-10-30T08:45:46.741Z",
- "input": "{\"city\":\"San Francisco\"}",
- "output": "{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"ToolMessage\"],\"kwargs\":{\"status\":\"success\",\"content\":\"It's always sunny in San Francisco!\",\"tool_call_id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"name\":\"get_weather\",\"metadata\":{},\"additional_kwargs\":{},\"response_metadata\":{}}}",
+ "updatedAt": "2025-10-30T08:45:46.740Z",
+ "input": "{\"messages\":[{\"role\":\"user\",\"content\":\"What's the weather in San Francisco?\"}]}",
+ "output": "{\"messages\":[{\"role\":\"user\",\"content\":\"What's the weather in San Francisco?\"}]}",
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -1740,16 +1740,16 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"langgraph_step\":2,\"langgraph_node\":\"tools\",\"langgraph_triggers\":[\"__pregel_push\"],\"langgraph_path\":[\"__pregel_push\",0],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|tools:99081552-33b0-5649-a698-4aa1e0c771f5\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
+ "metadata": "{\"tags\":[\"langsmith:hidden\"],\"langgraph_step\":0,\"langgraph_node\":\"__start__\",\"langgraph_triggers\":[\"__start__\"],\"langgraph_path\":[\"__pregel_pull\",\"__start__\"],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|__start__:b63c9a92-0827-53d0-ad62-34801c1b3ea7\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "dc6fa04662de9504",
+ "id": "4bd9001eb2207296",
"traceId": "2c1581dd9cecdafb6ca091b83d7ea99a",
- "startTime": "2025-10-30T08:45:43.204Z",
- "endTime": "2025-10-30T08:45:43.204Z",
+ "startTime": "2025-10-30T08:45:41.319Z",
+ "endTime": "2025-10-30T08:45:41.319Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "62fd894173738caf",
+ "parentObservationId": "f610e93ab2a4d66c",
"type": "SPAN",
"environment": "default",
"name": "ChannelWrite<...>",
@@ -1757,9 +1757,9 @@
"statusMessage": null,
"version": null,
"createdAt": "2025-10-30T08:45:46.740Z",
- "updatedAt": "2025-10-30T08:45:46.741Z",
- "input": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"ToolMessage\"],\"kwargs\":{\"status\":\"success\",\"content\":\"It's always sunny in San Francisco!\",\"tool_call_id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"name\":\"get_weather\",\"metadata\":{},\"additional_kwargs\":{},\"response_metadata\":{}}}]}",
- "output": "{\"messages\":[{\"lc\":1,\"type\":\"constructor\",\"id\":[\"langchain_core\",\"messages\",\"ToolMessage\"],\"kwargs\":{\"status\":\"success\",\"content\":\"It's always sunny in San Francisco!\",\"tool_call_id\":\"call_VEZJgIQLgzcb80IIyQJm7JCi\",\"name\":\"get_weather\",\"metadata\":{},\"additional_kwargs\":{},\"response_metadata\":{}}}]}",
+ "updatedAt": "2025-10-30T08:45:46.740Z",
+ "input": "{\"messages\":[{\"role\":\"user\",\"content\":\"What's the weather in San Francisco?\"}]}",
+ "output": "{\"messages\":[{\"role\":\"user\",\"content\":\"What's the weather in San Francisco?\"}]}",
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -1783,7 +1783,7 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"tags\":[\"langsmith:hidden\"],\"langgraph_step\":2,\"langgraph_node\":\"tools\",\"langgraph_triggers\":[\"__pregel_push\"],\"langgraph_path\":[\"__pregel_push\",0],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|tools:99081552-33b0-5649-a698-4aa1e0c771f5\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
+ "metadata": "{\"tags\":[\"langsmith:hidden\"],\"langgraph_step\":0,\"langgraph_node\":\"__start__\",\"langgraph_triggers\":[\"__start__\"],\"langgraph_path\":[\"__pregel_pull\",\"__start__\"],\"langgraph_checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb|__start__:b63c9a92-0827-53d0-ad62-34801c1b3ea7\",\"__pregel_task_id\":\"3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"checkpoint_ns\":\"model_request:3d72c0f6-1849-5286-bc3f-b198da3bc9cb\",\"resourceAttributes\":{\"host.name\":\"Janniks-MacBook-Pro.local\",\"host.arch\":\"arm64\",\"host.id\":\"04B49C49-15E0-55D5-9040-4D6FF6E415E6\",\"process.pid\":97650,\"process.executable.name\":\"deno\",\"process.executable.path\":\"/opt/homebrew/bin/deno\",\"process.command_args\":[\"/opt/homebrew/bin/deno\",\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\"],\"process.runtime.version\":\"20.11.1\",\"process.runtime.name\":\"nodejs\",\"process.runtime.description\":\"Node.js\",\"process.command\":\"/Users/jannik/Documents/GitHub/playground/js/$deno$jupyter.mts\",\"process.owner\":\"jannik\",\"service.name\":\"unknown_service:/opt/homebrew/bin/deno\",\"telemetry.sdk.language\":\"nodejs\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"2.1.0\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"4.3.0\",\"attributes\":{}}}",
"internalModel": null
},
{
diff --git a/worker/src/__tests__/chatml/framework-traces/langgraph-python-2025-08-22.trace.json b/worker/src/__tests__/chatml/framework-traces/langgraph-python-2025-08-22.trace.json
index 71a82bca94..e7821001ac 100644
--- a/worker/src/__tests__/chatml/framework-traces/langgraph-python-2025-08-22.trace.json
+++ b/worker/src/__tests__/chatml/framework-traces/langgraph-python-2025-08-22.trace.json
@@ -70,6 +70,48 @@
"corrections": [],
"latency": 2.61,
"observations": [
+ {
+ "id": "3b239b11cbb2ac0b",
+ "traceId": "e1fde3efec57ce8a69bafd3fb928a7eb",
+ "startTime": "2025-08-22T09:38:57.088Z",
+ "endTime": "2025-08-22T09:38:58.835Z",
+ "projectId": "cloramnkj0002jz088vzn1ja4",
+ "parentObservationId": "b024c7ee7680b708",
+ "type": "SPAN",
+ "environment": "default",
+ "name": "agent",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": null,
+ "createdAt": "2025-08-22T09:39:11.673Z",
+ "updatedAt": "2025-08-22T09:39:11.950Z",
+ "input": null,
+ "output": null,
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": null,
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 1.747,
+ "timeToFirstToken": null,
+ "usageDetails": {},
+ "costDetails": {},
+ "providedCostDetails": {},
+ "inputCost": null,
+ "outputCost": null,
+ "totalCost": 0,
+ "inputUsage": 0,
+ "outputUsage": 0,
+ "totalUsage": 0,
+ "usagePricingTierId": null,
+ "usagePricingTierName": null,
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{}"
+ },
{
"id": "4f6535aaebcda355",
"traceId": "e1fde3efec57ce8a69bafd3fb928a7eb",
@@ -225,62 +267,20 @@
"metadata": "{}"
},
{
- "id": "3b239b11cbb2ac0b",
- "traceId": "e1fde3efec57ce8a69bafd3fb928a7eb",
- "startTime": "2025-08-22T09:38:57.088Z",
- "endTime": "2025-08-22T09:38:58.835Z",
- "projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "b024c7ee7680b708",
- "type": "SPAN",
- "environment": "default",
- "name": "agent",
- "level": "DEFAULT",
- "statusMessage": null,
- "version": null,
- "createdAt": "2025-08-22T09:39:11.673Z",
- "updatedAt": "2025-08-22T09:39:11.950Z",
- "input": null,
- "output": null,
- "model": null,
- "internalModelId": null,
- "modelParameters": null,
- "completionStartTime": null,
- "promptId": null,
- "promptName": null,
- "promptVersion": null,
- "latency": 1.747,
- "timeToFirstToken": null,
- "usageDetails": {},
- "costDetails": {},
- "providedCostDetails": {},
- "inputCost": null,
- "outputCost": null,
- "totalCost": 0,
- "inputUsage": 0,
- "outputUsage": 0,
- "totalUsage": 0,
- "usagePricingTierId": null,
- "usagePricingTierName": null,
- "toolDefinitions": {},
- "toolCalls": [],
- "toolCallNames": [],
- "metadata": "{}"
- },
- {
- "id": "98d3e02591797c04",
+ "id": "c8a18a38a3a115cb",
"traceId": "e1fde3efec57ce8a69bafd3fb928a7eb",
- "startTime": "2025-08-22T09:38:56.231Z",
- "endTime": "2025-08-22T09:38:57.082Z",
+ "startTime": "2025-08-22T09:38:57.083Z",
+ "endTime": "2025-08-22T09:38:57.086Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
"parentObservationId": "b024c7ee7680b708",
"type": "SPAN",
"environment": "default",
- "name": "agent",
+ "name": "tools",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-22T09:39:09.952Z",
- "updatedAt": "2025-08-22T09:39:10.192Z",
+ "createdAt": "2025-08-22T09:39:10.453Z",
+ "updatedAt": "2025-08-22T09:39:10.625Z",
"input": null,
"output": null,
"model": null,
@@ -290,7 +290,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0.851,
+ "latency": 0.003,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -309,20 +309,20 @@
"metadata": "{}"
},
{
- "id": "b024c7ee7680b708",
+ "id": "e638064431445dce",
"traceId": "e1fde3efec57ce8a69bafd3fb928a7eb",
- "startTime": "2025-08-22T09:38:56.228Z",
- "endTime": "2025-08-22T09:38:58.838Z",
+ "startTime": "2025-08-22T09:38:58.834Z",
+ "endTime": "2025-08-22T09:38:58.834Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": null,
+ "parentObservationId": "3b239b11cbb2ac0b",
"type": "SPAN",
"environment": "default",
- "name": "LangGraph",
+ "name": "should_continue",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-22T09:39:09.403Z",
- "updatedAt": "2025-08-22T09:39:09.818Z",
+ "createdAt": "2025-08-22T09:39:09.989Z",
+ "updatedAt": "2025-08-22T09:39:10.308Z",
"input": null,
"output": null,
"model": null,
@@ -332,7 +332,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 2.61,
+ "latency": 0,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -351,20 +351,20 @@
"metadata": "{}"
},
{
- "id": "c7fbfdc6ab70ca4d",
+ "id": "98d3e02591797c04",
"traceId": "e1fde3efec57ce8a69bafd3fb928a7eb",
- "startTime": "2025-08-22T09:38:57.081Z",
- "endTime": "2025-08-22T09:38:57.081Z",
+ "startTime": "2025-08-22T09:38:56.231Z",
+ "endTime": "2025-08-22T09:38:57.082Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "98d3e02591797c04",
+ "parentObservationId": "b024c7ee7680b708",
"type": "SPAN",
"environment": "default",
- "name": "should_continue",
+ "name": "agent",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-22T09:39:09.393Z",
- "updatedAt": "2025-08-22T09:39:09.617Z",
+ "createdAt": "2025-08-22T09:39:09.952Z",
+ "updatedAt": "2025-08-22T09:39:10.192Z",
"input": null,
"output": null,
"model": null,
@@ -374,7 +374,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0,
+ "latency": 0.851,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -393,20 +393,20 @@
"metadata": "{}"
},
{
- "id": "c8a18a38a3a115cb",
+ "id": "b024c7ee7680b708",
"traceId": "e1fde3efec57ce8a69bafd3fb928a7eb",
- "startTime": "2025-08-22T09:38:57.083Z",
- "endTime": "2025-08-22T09:38:57.086Z",
+ "startTime": "2025-08-22T09:38:56.228Z",
+ "endTime": "2025-08-22T09:38:58.838Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "b024c7ee7680b708",
+ "parentObservationId": null,
"type": "SPAN",
"environment": "default",
- "name": "tools",
+ "name": "LangGraph",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-22T09:39:10.453Z",
- "updatedAt": "2025-08-22T09:39:10.625Z",
+ "createdAt": "2025-08-22T09:39:09.403Z",
+ "updatedAt": "2025-08-22T09:39:09.818Z",
"input": null,
"output": null,
"model": null,
@@ -416,7 +416,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0.003,
+ "latency": 2.61,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -435,20 +435,20 @@
"metadata": "{}"
},
{
- "id": "e638064431445dce",
+ "id": "c7fbfdc6ab70ca4d",
"traceId": "e1fde3efec57ce8a69bafd3fb928a7eb",
- "startTime": "2025-08-22T09:38:58.834Z",
- "endTime": "2025-08-22T09:38:58.834Z",
+ "startTime": "2025-08-22T09:38:57.081Z",
+ "endTime": "2025-08-22T09:38:57.081Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "3b239b11cbb2ac0b",
+ "parentObservationId": "98d3e02591797c04",
"type": "SPAN",
"environment": "default",
"name": "should_continue",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-22T09:39:09.989Z",
- "updatedAt": "2025-08-22T09:39:10.308Z",
+ "createdAt": "2025-08-22T09:39:09.393Z",
+ "updatedAt": "2025-08-22T09:39:09.617Z",
"input": null,
"output": null,
"model": null,
@@ -479,6 +479,49 @@
]
},
"observations": [
+ {
+ "id": "3b239b11cbb2ac0b",
+ "traceId": "e1fde3efec57ce8a69bafd3fb928a7eb",
+ "startTime": "2025-08-22T09:38:57.088Z",
+ "endTime": "2025-08-22T09:38:58.835Z",
+ "projectId": "cloramnkj0002jz088vzn1ja4",
+ "parentObservationId": "b024c7ee7680b708",
+ "type": "SPAN",
+ "environment": "default",
+ "name": "agent",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": null,
+ "createdAt": "2025-08-22T09:39:11.673Z",
+ "updatedAt": "2025-08-22T09:39:11.950Z",
+ "input": "{\"messages\": [{\"content\": \"Search the web for 'example' and summarize.\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"human\", \"name\": null, \"id\": \"4f5904a4-473c-443c-af46-68765777a2f0\", \"example\": false}, {\"content\": \"\", \"additional_kwargs\": {\"tool_calls\": [{\"id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"function\": {\"arguments\": \"{\\\"query\\\":\\\"example\\\"}\", \"name\": \"Web-Search\"}, \"type\": \"function\"}], \"refusal\": null}, \"response_metadata\": {\"token_usage\": {\"completion_tokens\": 15, \"prompt_tokens\": 60, \"total_tokens\": 75, \"completion_tokens_details\": {\"accepted_prediction_tokens\": 0, \"audio_tokens\": 0, \"reasoning_tokens\": 0, \"rejected_prediction_tokens\": 0}, \"prompt_tokens_details\": {\"audio_tokens\": 0, \"cached_tokens\": 0}}, \"model_name\": \"gpt-4o-2024-08-06\", \"system_fingerprint\": \"fp_46bff0e0c8\", \"id\": \"chatcmpl-C7IWW4ZyFcMMUH5I00yulLd1Cuz2f\", \"service_tier\": \"default\", \"finish_reason\": \"tool_calls\", \"logprobs\": null}, \"type\": \"ai\", \"name\": null, \"id\": \"run--06f4147e-6dc2-4078-a368-096c05261f12-0\", \"example\": false, \"tool_calls\": [{\"name\": \"Web-Search\", \"args\": {\"query\": \"example\"}, \"id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"type\": \"tool_call\"}], \"invalid_tool_calls\": [], \"usage_metadata\": {\"input_tokens\": 60, \"output_tokens\": 15, \"total_tokens\": 75, \"input_token_details\": {\"audio\": 0, \"cache_read\": 0}, \"output_token_details\": {\"audio\": 0, \"reasoning\": 0}}}, {\"content\": \"[{\\\"url\\\": \\\"https://example.com\\\", \\\"title\\\": \\\"Example Result\\\", \\\"q\\\": \\\"example\\\"}]\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"tool\", \"name\": \"Web-Search\", \"id\": \"85ffdeba-3d69-4851-bd78-993403a10fd6\", \"tool_call_id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"artifact\": null, \"status\": \"success\"}]}",
+ "output": "{\"messages\": [{\"content\": \"The search for \\\"example\\\" primarily leads to the website [example.com](https://example.com), which is often used as a placeholder or demonstration site in various contexts. It serves as a generic example for illustrating how a website might look or function.\", \"additional_kwargs\": {\"refusal\": null}, \"response_metadata\": {\"token_usage\": {\"completion_tokens\": 51, \"prompt_tokens\": 108, \"total_tokens\": 159, \"completion_tokens_details\": {\"accepted_prediction_tokens\": 0, \"audio_tokens\": 0, \"reasoning_tokens\": 0, \"rejected_prediction_tokens\": 0}, \"prompt_tokens_details\": {\"audio_tokens\": 0, \"cached_tokens\": 0}}, \"model_name\": \"gpt-4o-2024-08-06\", \"system_fingerprint\": \"fp_46bff0e0c8\", \"id\": \"chatcmpl-C7IWXZL0b6BLNuyEMr369PF4PEpSs\", \"service_tier\": \"default\", \"finish_reason\": \"stop\", \"logprobs\": null}, \"type\": \"ai\", \"name\": null, \"id\": \"run--a6270d77-8cd6-4c1b-a80b-c1da054d9f9a-0\", \"example\": false, \"tool_calls\": [], \"invalid_tool_calls\": [], \"usage_metadata\": {\"input_tokens\": 108, \"output_tokens\": 51, \"total_tokens\": 159, \"input_token_details\": {\"audio\": 0, \"cache_read\": 0}, \"output_token_details\": {\"audio\": 0, \"reasoning\": 0}}}]}",
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": null,
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 1.747,
+ "timeToFirstToken": null,
+ "usageDetails": {},
+ "costDetails": {},
+ "providedCostDetails": {},
+ "inputCost": null,
+ "outputCost": null,
+ "totalCost": 0,
+ "inputUsage": 0,
+ "outputUsage": 0,
+ "totalUsage": 0,
+ "usagePricingTierId": null,
+ "usagePricingTierName": null,
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{\"tags\":[\"graph:step:3\",\"langgraph\",\"demo\",\"langfuse\"],\"thread_id\":\"demo-thread-1\",\"langgraph_step\":3,\"langgraph_node\":\"agent\",\"langgraph_triggers\":[\"branch:to:agent\"],\"langgraph_path\":[\"__pregel_pull\",\"agent\"],\"langgraph_checkpoint_ns\":\"agent:695fb20e-d55e-ccb4-5384-070711a6cdf8\",\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.36.0\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"3.3.0\",\"attributes\":{\"public_key\":\"KJGLKJGLJG\"}}}",
+ "internalModel": null
+ },
{
"id": "4f6535aaebcda355",
"traceId": "e1fde3efec57ce8a69bafd3fb928a7eb",
@@ -637,65 +680,22 @@
"internalModel": null
},
{
- "id": "3b239b11cbb2ac0b",
- "traceId": "e1fde3efec57ce8a69bafd3fb928a7eb",
- "startTime": "2025-08-22T09:38:57.088Z",
- "endTime": "2025-08-22T09:38:58.835Z",
- "projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "b024c7ee7680b708",
- "type": "SPAN",
- "environment": "default",
- "name": "agent",
- "level": "DEFAULT",
- "statusMessage": null,
- "version": null,
- "createdAt": "2025-08-22T09:39:11.673Z",
- "updatedAt": "2025-08-22T09:39:11.950Z",
- "input": "{\"messages\": [{\"content\": \"Search the web for 'example' and summarize.\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"human\", \"name\": null, \"id\": \"4f5904a4-473c-443c-af46-68765777a2f0\", \"example\": false}, {\"content\": \"\", \"additional_kwargs\": {\"tool_calls\": [{\"id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"function\": {\"arguments\": \"{\\\"query\\\":\\\"example\\\"}\", \"name\": \"Web-Search\"}, \"type\": \"function\"}], \"refusal\": null}, \"response_metadata\": {\"token_usage\": {\"completion_tokens\": 15, \"prompt_tokens\": 60, \"total_tokens\": 75, \"completion_tokens_details\": {\"accepted_prediction_tokens\": 0, \"audio_tokens\": 0, \"reasoning_tokens\": 0, \"rejected_prediction_tokens\": 0}, \"prompt_tokens_details\": {\"audio_tokens\": 0, \"cached_tokens\": 0}}, \"model_name\": \"gpt-4o-2024-08-06\", \"system_fingerprint\": \"fp_46bff0e0c8\", \"id\": \"chatcmpl-C7IWW4ZyFcMMUH5I00yulLd1Cuz2f\", \"service_tier\": \"default\", \"finish_reason\": \"tool_calls\", \"logprobs\": null}, \"type\": \"ai\", \"name\": null, \"id\": \"run--06f4147e-6dc2-4078-a368-096c05261f12-0\", \"example\": false, \"tool_calls\": [{\"name\": \"Web-Search\", \"args\": {\"query\": \"example\"}, \"id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"type\": \"tool_call\"}], \"invalid_tool_calls\": [], \"usage_metadata\": {\"input_tokens\": 60, \"output_tokens\": 15, \"total_tokens\": 75, \"input_token_details\": {\"audio\": 0, \"cache_read\": 0}, \"output_token_details\": {\"audio\": 0, \"reasoning\": 0}}}, {\"content\": \"[{\\\"url\\\": \\\"https://example.com\\\", \\\"title\\\": \\\"Example Result\\\", \\\"q\\\": \\\"example\\\"}]\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"tool\", \"name\": \"Web-Search\", \"id\": \"85ffdeba-3d69-4851-bd78-993403a10fd6\", \"tool_call_id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"artifact\": null, \"status\": \"success\"}]}",
- "output": "{\"messages\": [{\"content\": \"The search for \\\"example\\\" primarily leads to the website [example.com](https://example.com), which is often used as a placeholder or demonstration site in various contexts. It serves as a generic example for illustrating how a website might look or function.\", \"additional_kwargs\": {\"refusal\": null}, \"response_metadata\": {\"token_usage\": {\"completion_tokens\": 51, \"prompt_tokens\": 108, \"total_tokens\": 159, \"completion_tokens_details\": {\"accepted_prediction_tokens\": 0, \"audio_tokens\": 0, \"reasoning_tokens\": 0, \"rejected_prediction_tokens\": 0}, \"prompt_tokens_details\": {\"audio_tokens\": 0, \"cached_tokens\": 0}}, \"model_name\": \"gpt-4o-2024-08-06\", \"system_fingerprint\": \"fp_46bff0e0c8\", \"id\": \"chatcmpl-C7IWXZL0b6BLNuyEMr369PF4PEpSs\", \"service_tier\": \"default\", \"finish_reason\": \"stop\", \"logprobs\": null}, \"type\": \"ai\", \"name\": null, \"id\": \"run--a6270d77-8cd6-4c1b-a80b-c1da054d9f9a-0\", \"example\": false, \"tool_calls\": [], \"invalid_tool_calls\": [], \"usage_metadata\": {\"input_tokens\": 108, \"output_tokens\": 51, \"total_tokens\": 159, \"input_token_details\": {\"audio\": 0, \"cache_read\": 0}, \"output_token_details\": {\"audio\": 0, \"reasoning\": 0}}}]}",
- "model": null,
- "internalModelId": null,
- "modelParameters": null,
- "completionStartTime": null,
- "promptId": null,
- "promptName": null,
- "promptVersion": null,
- "latency": 1.747,
- "timeToFirstToken": null,
- "usageDetails": {},
- "costDetails": {},
- "providedCostDetails": {},
- "inputCost": null,
- "outputCost": null,
- "totalCost": 0,
- "inputUsage": 0,
- "outputUsage": 0,
- "totalUsage": 0,
- "usagePricingTierId": null,
- "usagePricingTierName": null,
- "toolDefinitions": {},
- "toolCalls": [],
- "toolCallNames": [],
- "metadata": "{\"tags\":[\"graph:step:3\",\"langgraph\",\"demo\",\"langfuse\"],\"thread_id\":\"demo-thread-1\",\"langgraph_step\":3,\"langgraph_node\":\"agent\",\"langgraph_triggers\":[\"branch:to:agent\"],\"langgraph_path\":[\"__pregel_pull\",\"agent\"],\"langgraph_checkpoint_ns\":\"agent:695fb20e-d55e-ccb4-5384-070711a6cdf8\",\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.36.0\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"3.3.0\",\"attributes\":{\"public_key\":\"KJGLKJGLJG\"}}}",
- "internalModel": null
- },
- {
- "id": "98d3e02591797c04",
+ "id": "c8a18a38a3a115cb",
"traceId": "e1fde3efec57ce8a69bafd3fb928a7eb",
- "startTime": "2025-08-22T09:38:56.231Z",
- "endTime": "2025-08-22T09:38:57.082Z",
+ "startTime": "2025-08-22T09:38:57.083Z",
+ "endTime": "2025-08-22T09:38:57.086Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
"parentObservationId": "b024c7ee7680b708",
"type": "SPAN",
"environment": "default",
- "name": "agent",
+ "name": "tools",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-22T09:39:09.952Z",
- "updatedAt": "2025-08-22T09:39:10.192Z",
- "input": "{\"messages\": [{\"content\": \"Search the web for 'example' and summarize.\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"human\", \"name\": null, \"id\": \"4f5904a4-473c-443c-af46-68765777a2f0\", \"example\": false}]}",
- "output": "{\"messages\": [{\"content\": \"\", \"additional_kwargs\": {\"tool_calls\": [{\"id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"function\": {\"arguments\": \"{\\\"query\\\":\\\"example\\\"}\", \"name\": \"Web-Search\"}, \"type\": \"function\"}], \"refusal\": null}, \"response_metadata\": {\"token_usage\": {\"completion_tokens\": 15, \"prompt_tokens\": 60, \"total_tokens\": 75, \"completion_tokens_details\": {\"accepted_prediction_tokens\": 0, \"audio_tokens\": 0, \"reasoning_tokens\": 0, \"rejected_prediction_tokens\": 0}, \"prompt_tokens_details\": {\"audio_tokens\": 0, \"cached_tokens\": 0}}, \"model_name\": \"gpt-4o-2024-08-06\", \"system_fingerprint\": \"fp_46bff0e0c8\", \"id\": \"chatcmpl-C7IWW4ZyFcMMUH5I00yulLd1Cuz2f\", \"service_tier\": \"default\", \"finish_reason\": \"tool_calls\", \"logprobs\": null}, \"type\": \"ai\", \"name\": null, \"id\": \"run--06f4147e-6dc2-4078-a368-096c05261f12-0\", \"example\": false, \"tool_calls\": [{\"name\": \"Web-Search\", \"args\": {\"query\": \"example\"}, \"id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"type\": \"tool_call\"}], \"invalid_tool_calls\": [], \"usage_metadata\": {\"input_tokens\": 60, \"output_tokens\": 15, \"total_tokens\": 75, \"input_token_details\": {\"audio\": 0, \"cache_read\": 0}, \"output_token_details\": {\"audio\": 0, \"reasoning\": 0}}}]}",
+ "createdAt": "2025-08-22T09:39:10.453Z",
+ "updatedAt": "2025-08-22T09:39:10.625Z",
+ "input": "{\"messages\": [{\"content\": \"Search the web for 'example' and summarize.\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"human\", \"name\": null, \"id\": \"4f5904a4-473c-443c-af46-68765777a2f0\", \"example\": false}, {\"content\": \"\", \"additional_kwargs\": {\"tool_calls\": [{\"id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"function\": {\"arguments\": \"{\\\"query\\\":\\\"example\\\"}\", \"name\": \"Web-Search\"}, \"type\": \"function\"}], \"refusal\": null}, \"response_metadata\": {\"token_usage\": {\"completion_tokens\": 15, \"prompt_tokens\": 60, \"total_tokens\": 75, \"completion_tokens_details\": {\"accepted_prediction_tokens\": 0, \"audio_tokens\": 0, \"reasoning_tokens\": 0, \"rejected_prediction_tokens\": 0}, \"prompt_tokens_details\": {\"audio_tokens\": 0, \"cached_tokens\": 0}}, \"model_name\": \"gpt-4o-2024-08-06\", \"system_fingerprint\": \"fp_46bff0e0c8\", \"id\": \"chatcmpl-C7IWW4ZyFcMMUH5I00yulLd1Cuz2f\", \"service_tier\": \"default\", \"finish_reason\": \"tool_calls\", \"logprobs\": null}, \"type\": \"ai\", \"name\": null, \"id\": \"run--06f4147e-6dc2-4078-a368-096c05261f12-0\", \"example\": false, \"tool_calls\": [{\"name\": \"Web-Search\", \"args\": {\"query\": \"example\"}, \"id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"type\": \"tool_call\"}], \"invalid_tool_calls\": [], \"usage_metadata\": {\"input_tokens\": 60, \"output_tokens\": 15, \"total_tokens\": 75, \"input_token_details\": {\"audio\": 0, \"cache_read\": 0}, \"output_token_details\": {\"audio\": 0, \"reasoning\": 0}}}]}",
+ "output": "{\"messages\": [{\"content\": \"[{\\\"url\\\": \\\"https://example.com\\\", \\\"title\\\": \\\"Example Result\\\", \\\"q\\\": \\\"example\\\"}]\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"tool\", \"name\": \"Web-Search\", \"id\": null, \"tool_call_id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"artifact\": null, \"status\": \"success\"}]}",
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -703,7 +703,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0.851,
+ "latency": 0.003,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -719,26 +719,26 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"tags\":[\"graph:step:1\",\"langgraph\",\"demo\",\"langfuse\"],\"thread_id\":\"demo-thread-1\",\"langgraph_step\":1,\"langgraph_node\":\"agent\",\"langgraph_triggers\":[\"branch:to:agent\"],\"langgraph_path\":[\"__pregel_pull\",\"agent\"],\"langgraph_checkpoint_ns\":\"agent:d507d231-6dad-b926-076f-0644c0a0134e\",\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.36.0\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"3.3.0\",\"attributes\":{\"public_key\":\"KJGLKJGLJG\"}}}",
+ "metadata": "{\"tags\":[\"graph:step:2\",\"langgraph\",\"demo\",\"langfuse\"],\"thread_id\":\"demo-thread-1\",\"langgraph_step\":2,\"langgraph_node\":\"tools\",\"langgraph_triggers\":[\"branch:to:tools\"],\"langgraph_path\":[\"__pregel_pull\",\"tools\"],\"langgraph_checkpoint_ns\":\"tools:a8b0eaec-b747-6d2a-2f81-4b6ac7e07fc1\",\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.36.0\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"3.3.0\",\"attributes\":{\"public_key\":\"KJGLKJGLJG\"}}}",
"internalModel": null
},
{
- "id": "b024c7ee7680b708",
+ "id": "e638064431445dce",
"traceId": "e1fde3efec57ce8a69bafd3fb928a7eb",
- "startTime": "2025-08-22T09:38:56.228Z",
- "endTime": "2025-08-22T09:38:58.838Z",
+ "startTime": "2025-08-22T09:38:58.834Z",
+ "endTime": "2025-08-22T09:38:58.834Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": null,
+ "parentObservationId": "3b239b11cbb2ac0b",
"type": "SPAN",
"environment": "default",
- "name": "LangGraph",
+ "name": "should_continue",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-22T09:39:09.403Z",
- "updatedAt": "2025-08-22T09:39:09.818Z",
- "input": "{\"messages\": [{\"content\": \"Search the web for 'example' and summarize.\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"human\", \"name\": null, \"id\": null, \"example\": false}]}",
- "output": "{\"messages\": [{\"content\": \"Search the web for 'example' and summarize.\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"human\", \"name\": null, \"id\": \"4f5904a4-473c-443c-af46-68765777a2f0\", \"example\": false}, {\"content\": \"\", \"additional_kwargs\": {\"tool_calls\": [{\"id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"function\": {\"arguments\": \"{\\\"query\\\":\\\"example\\\"}\", \"name\": \"Web-Search\"}, \"type\": \"function\"}], \"refusal\": null}, \"response_metadata\": {\"token_usage\": {\"completion_tokens\": 15, \"prompt_tokens\": 60, \"total_tokens\": 75, \"completion_tokens_details\": {\"accepted_prediction_tokens\": 0, \"audio_tokens\": 0, \"reasoning_tokens\": 0, \"rejected_prediction_tokens\": 0}, \"prompt_tokens_details\": {\"audio_tokens\": 0, \"cached_tokens\": 0}}, \"model_name\": \"gpt-4o-2024-08-06\", \"system_fingerprint\": \"fp_46bff0e0c8\", \"id\": \"chatcmpl-C7IWW4ZyFcMMUH5I00yulLd1Cuz2f\", \"service_tier\": \"default\", \"finish_reason\": \"tool_calls\", \"logprobs\": null}, \"type\": \"ai\", \"name\": null, \"id\": \"run--06f4147e-6dc2-4078-a368-096c05261f12-0\", \"example\": false, \"tool_calls\": [{\"name\": \"Web-Search\", \"args\": {\"query\": \"example\"}, \"id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"type\": \"tool_call\"}], \"invalid_tool_calls\": [], \"usage_metadata\": {\"input_tokens\": 60, \"output_tokens\": 15, \"total_tokens\": 75, \"input_token_details\": {\"audio\": 0, \"cache_read\": 0}, \"output_token_details\": {\"audio\": 0, \"reasoning\": 0}}}, {\"content\": \"[{\\\"url\\\": \\\"https://example.com\\\", \\\"title\\\": \\\"Example Result\\\", \\\"q\\\": \\\"example\\\"}]\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"tool\", \"name\": \"Web-Search\", \"id\": \"85ffdeba-3d69-4851-bd78-993403a10fd6\", \"tool_call_id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"artifact\": null, \"status\": \"success\"}, {\"content\": \"The search for \\\"example\\\" primarily leads to the website [example.com](https://example.com), which is often used as a placeholder or demonstration site in various contexts. It serves as a generic example for illustrating how a website might look or function.\", \"additional_kwargs\": {\"refusal\": null}, \"response_metadata\": {\"token_usage\": {\"completion_tokens\": 51, \"prompt_tokens\": 108, \"total_tokens\": 159, \"completion_tokens_details\": {\"accepted_prediction_tokens\": 0, \"audio_tokens\": 0, \"reasoning_tokens\": 0, \"rejected_prediction_tokens\": 0}, \"prompt_tokens_details\": {\"audio_tokens\": 0, \"cached_tokens\": 0}}, \"model_name\": \"gpt-4o-2024-08-06\", \"system_fingerprint\": \"fp_46bff0e0c8\", \"id\": \"chatcmpl-C7IWXZL0b6BLNuyEMr369PF4PEpSs\", \"service_tier\": \"default\", \"finish_reason\": \"stop\", \"logprobs\": null}, \"type\": \"ai\", \"name\": null, \"id\": \"run--a6270d77-8cd6-4c1b-a80b-c1da054d9f9a-0\", \"example\": false, \"tool_calls\": [], \"invalid_tool_calls\": [], \"usage_metadata\": {\"input_tokens\": 108, \"output_tokens\": 51, \"total_tokens\": 159, \"input_token_details\": {\"audio\": 0, \"cache_read\": 0}, \"output_token_details\": {\"audio\": 0, \"reasoning\": 0}}}]}",
+ "createdAt": "2025-08-22T09:39:09.989Z",
+ "updatedAt": "2025-08-22T09:39:10.308Z",
+ "input": "{\"messages\": [{\"content\": \"Search the web for 'example' and summarize.\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"human\", \"name\": null, \"id\": \"4f5904a4-473c-443c-af46-68765777a2f0\", \"example\": false}, {\"content\": \"\", \"additional_kwargs\": {\"tool_calls\": [{\"id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"function\": {\"arguments\": \"{\\\"query\\\":\\\"example\\\"}\", \"name\": \"Web-Search\"}, \"type\": \"function\"}], \"refusal\": null}, \"response_metadata\": {\"token_usage\": {\"completion_tokens\": 15, \"prompt_tokens\": 60, \"total_tokens\": 75, \"completion_tokens_details\": {\"accepted_prediction_tokens\": 0, \"audio_tokens\": 0, \"reasoning_tokens\": 0, \"rejected_prediction_tokens\": 0}, \"prompt_tokens_details\": {\"audio_tokens\": 0, \"cached_tokens\": 0}}, \"model_name\": \"gpt-4o-2024-08-06\", \"system_fingerprint\": \"fp_46bff0e0c8\", \"id\": \"chatcmpl-C7IWW4ZyFcMMUH5I00yulLd1Cuz2f\", \"service_tier\": \"default\", \"finish_reason\": \"tool_calls\", \"logprobs\": null}, \"type\": \"ai\", \"name\": null, \"id\": \"run--06f4147e-6dc2-4078-a368-096c05261f12-0\", \"example\": false, \"tool_calls\": [{\"name\": \"Web-Search\", \"args\": {\"query\": \"example\"}, \"id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"type\": \"tool_call\"}], \"invalid_tool_calls\": [], \"usage_metadata\": {\"input_tokens\": 60, \"output_tokens\": 15, \"total_tokens\": 75, \"input_token_details\": {\"audio\": 0, \"cache_read\": 0}, \"output_token_details\": {\"audio\": 0, \"reasoning\": 0}}}, {\"content\": \"[{\\\"url\\\": \\\"https://example.com\\\", \\\"title\\\": \\\"Example Result\\\", \\\"q\\\": \\\"example\\\"}]\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"tool\", \"name\": \"Web-Search\", \"id\": \"85ffdeba-3d69-4851-bd78-993403a10fd6\", \"tool_call_id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"artifact\": null, \"status\": \"success\"}, {\"content\": \"The search for \\\"example\\\" primarily leads to the website [example.com](https://example.com), which is often used as a placeholder or demonstration site in various contexts. It serves as a generic example for illustrating how a website might look or function.\", \"additional_kwargs\": {\"refusal\": null}, \"response_metadata\": {\"token_usage\": {\"completion_tokens\": 51, \"prompt_tokens\": 108, \"total_tokens\": 159, \"completion_tokens_details\": {\"accepted_prediction_tokens\": 0, \"audio_tokens\": 0, \"reasoning_tokens\": 0, \"rejected_prediction_tokens\": 0}, \"prompt_tokens_details\": {\"audio_tokens\": 0, \"cached_tokens\": 0}}, \"model_name\": \"gpt-4o-2024-08-06\", \"system_fingerprint\": \"fp_46bff0e0c8\", \"id\": \"chatcmpl-C7IWXZL0b6BLNuyEMr369PF4PEpSs\", \"service_tier\": \"default\", \"finish_reason\": \"stop\", \"logprobs\": null}, \"type\": \"ai\", \"name\": null, \"id\": \"run--a6270d77-8cd6-4c1b-a80b-c1da054d9f9a-0\", \"example\": false, \"tool_calls\": [], \"invalid_tool_calls\": [], \"usage_metadata\": {\"input_tokens\": 108, \"output_tokens\": 51, \"total_tokens\": 159, \"input_token_details\": {\"audio\": 0, \"cache_read\": 0}, \"output_token_details\": {\"audio\": 0, \"reasoning\": 0}}}]}",
+ "output": "end",
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -746,7 +746,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 2.61,
+ "latency": 0,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -762,26 +762,26 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"tags\":[\"langgraph\",\"demo\",\"langfuse\"],\"thread_id\":\"demo-thread-1\",\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.36.0\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"3.3.0\",\"attributes\":{\"public_key\":\"KJGLKJGLJG\"}}}",
+ "metadata": "{\"tags\":[\"seq:step:3\",\"langgraph\",\"demo\",\"langfuse\"],\"thread_id\":\"demo-thread-1\",\"langgraph_step\":3,\"langgraph_node\":\"agent\",\"langgraph_triggers\":[\"branch:to:agent\"],\"langgraph_path\":[\"__pregel_pull\",\"agent\"],\"langgraph_checkpoint_ns\":\"agent:695fb20e-d55e-ccb4-5384-070711a6cdf8\",\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.36.0\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"3.3.0\",\"attributes\":{\"public_key\":\"KJGLKJGLJG\"}}}",
"internalModel": null
},
{
- "id": "c7fbfdc6ab70ca4d",
+ "id": "98d3e02591797c04",
"traceId": "e1fde3efec57ce8a69bafd3fb928a7eb",
- "startTime": "2025-08-22T09:38:57.081Z",
- "endTime": "2025-08-22T09:38:57.081Z",
+ "startTime": "2025-08-22T09:38:56.231Z",
+ "endTime": "2025-08-22T09:38:57.082Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "98d3e02591797c04",
+ "parentObservationId": "b024c7ee7680b708",
"type": "SPAN",
"environment": "default",
- "name": "should_continue",
+ "name": "agent",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-22T09:39:09.393Z",
- "updatedAt": "2025-08-22T09:39:09.617Z",
- "input": "{\"messages\": [{\"content\": \"Search the web for 'example' and summarize.\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"human\", \"name\": null, \"id\": \"4f5904a4-473c-443c-af46-68765777a2f0\", \"example\": false}, {\"content\": \"\", \"additional_kwargs\": {\"tool_calls\": [{\"id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"function\": {\"arguments\": \"{\\\"query\\\":\\\"example\\\"}\", \"name\": \"Web-Search\"}, \"type\": \"function\"}], \"refusal\": null}, \"response_metadata\": {\"token_usage\": {\"completion_tokens\": 15, \"prompt_tokens\": 60, \"total_tokens\": 75, \"completion_tokens_details\": {\"accepted_prediction_tokens\": 0, \"audio_tokens\": 0, \"reasoning_tokens\": 0, \"rejected_prediction_tokens\": 0}, \"prompt_tokens_details\": {\"audio_tokens\": 0, \"cached_tokens\": 0}}, \"model_name\": \"gpt-4o-2024-08-06\", \"system_fingerprint\": \"fp_46bff0e0c8\", \"id\": \"chatcmpl-C7IWW4ZyFcMMUH5I00yulLd1Cuz2f\", \"service_tier\": \"default\", \"finish_reason\": \"tool_calls\", \"logprobs\": null}, \"type\": \"ai\", \"name\": null, \"id\": \"run--06f4147e-6dc2-4078-a368-096c05261f12-0\", \"example\": false, \"tool_calls\": [{\"name\": \"Web-Search\", \"args\": {\"query\": \"example\"}, \"id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"type\": \"tool_call\"}], \"invalid_tool_calls\": [], \"usage_metadata\": {\"input_tokens\": 60, \"output_tokens\": 15, \"total_tokens\": 75, \"input_token_details\": {\"audio\": 0, \"cache_read\": 0}, \"output_token_details\": {\"audio\": 0, \"reasoning\": 0}}}]}",
- "output": "continue",
+ "createdAt": "2025-08-22T09:39:09.952Z",
+ "updatedAt": "2025-08-22T09:39:10.192Z",
+ "input": "{\"messages\": [{\"content\": \"Search the web for 'example' and summarize.\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"human\", \"name\": null, \"id\": \"4f5904a4-473c-443c-af46-68765777a2f0\", \"example\": false}]}",
+ "output": "{\"messages\": [{\"content\": \"\", \"additional_kwargs\": {\"tool_calls\": [{\"id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"function\": {\"arguments\": \"{\\\"query\\\":\\\"example\\\"}\", \"name\": \"Web-Search\"}, \"type\": \"function\"}], \"refusal\": null}, \"response_metadata\": {\"token_usage\": {\"completion_tokens\": 15, \"prompt_tokens\": 60, \"total_tokens\": 75, \"completion_tokens_details\": {\"accepted_prediction_tokens\": 0, \"audio_tokens\": 0, \"reasoning_tokens\": 0, \"rejected_prediction_tokens\": 0}, \"prompt_tokens_details\": {\"audio_tokens\": 0, \"cached_tokens\": 0}}, \"model_name\": \"gpt-4o-2024-08-06\", \"system_fingerprint\": \"fp_46bff0e0c8\", \"id\": \"chatcmpl-C7IWW4ZyFcMMUH5I00yulLd1Cuz2f\", \"service_tier\": \"default\", \"finish_reason\": \"tool_calls\", \"logprobs\": null}, \"type\": \"ai\", \"name\": null, \"id\": \"run--06f4147e-6dc2-4078-a368-096c05261f12-0\", \"example\": false, \"tool_calls\": [{\"name\": \"Web-Search\", \"args\": {\"query\": \"example\"}, \"id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"type\": \"tool_call\"}], \"invalid_tool_calls\": [], \"usage_metadata\": {\"input_tokens\": 60, \"output_tokens\": 15, \"total_tokens\": 75, \"input_token_details\": {\"audio\": 0, \"cache_read\": 0}, \"output_token_details\": {\"audio\": 0, \"reasoning\": 0}}}]}",
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -789,7 +789,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0,
+ "latency": 0.851,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -805,26 +805,26 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"tags\":[\"seq:step:3\",\"langgraph\",\"demo\",\"langfuse\"],\"thread_id\":\"demo-thread-1\",\"langgraph_step\":1,\"langgraph_node\":\"agent\",\"langgraph_triggers\":[\"branch:to:agent\"],\"langgraph_path\":[\"__pregel_pull\",\"agent\"],\"langgraph_checkpoint_ns\":\"agent:d507d231-6dad-b926-076f-0644c0a0134e\",\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.36.0\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"3.3.0\",\"attributes\":{\"public_key\":\"KJGLKJGLJG\"}}}",
+ "metadata": "{\"tags\":[\"graph:step:1\",\"langgraph\",\"demo\",\"langfuse\"],\"thread_id\":\"demo-thread-1\",\"langgraph_step\":1,\"langgraph_node\":\"agent\",\"langgraph_triggers\":[\"branch:to:agent\"],\"langgraph_path\":[\"__pregel_pull\",\"agent\"],\"langgraph_checkpoint_ns\":\"agent:d507d231-6dad-b926-076f-0644c0a0134e\",\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.36.0\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"3.3.0\",\"attributes\":{\"public_key\":\"KJGLKJGLJG\"}}}",
"internalModel": null
},
{
- "id": "c8a18a38a3a115cb",
+ "id": "b024c7ee7680b708",
"traceId": "e1fde3efec57ce8a69bafd3fb928a7eb",
- "startTime": "2025-08-22T09:38:57.083Z",
- "endTime": "2025-08-22T09:38:57.086Z",
+ "startTime": "2025-08-22T09:38:56.228Z",
+ "endTime": "2025-08-22T09:38:58.838Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "b024c7ee7680b708",
+ "parentObservationId": null,
"type": "SPAN",
"environment": "default",
- "name": "tools",
+ "name": "LangGraph",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-22T09:39:10.453Z",
- "updatedAt": "2025-08-22T09:39:10.625Z",
- "input": "{\"messages\": [{\"content\": \"Search the web for 'example' and summarize.\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"human\", \"name\": null, \"id\": \"4f5904a4-473c-443c-af46-68765777a2f0\", \"example\": false}, {\"content\": \"\", \"additional_kwargs\": {\"tool_calls\": [{\"id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"function\": {\"arguments\": \"{\\\"query\\\":\\\"example\\\"}\", \"name\": \"Web-Search\"}, \"type\": \"function\"}], \"refusal\": null}, \"response_metadata\": {\"token_usage\": {\"completion_tokens\": 15, \"prompt_tokens\": 60, \"total_tokens\": 75, \"completion_tokens_details\": {\"accepted_prediction_tokens\": 0, \"audio_tokens\": 0, \"reasoning_tokens\": 0, \"rejected_prediction_tokens\": 0}, \"prompt_tokens_details\": {\"audio_tokens\": 0, \"cached_tokens\": 0}}, \"model_name\": \"gpt-4o-2024-08-06\", \"system_fingerprint\": \"fp_46bff0e0c8\", \"id\": \"chatcmpl-C7IWW4ZyFcMMUH5I00yulLd1Cuz2f\", \"service_tier\": \"default\", \"finish_reason\": \"tool_calls\", \"logprobs\": null}, \"type\": \"ai\", \"name\": null, \"id\": \"run--06f4147e-6dc2-4078-a368-096c05261f12-0\", \"example\": false, \"tool_calls\": [{\"name\": \"Web-Search\", \"args\": {\"query\": \"example\"}, \"id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"type\": \"tool_call\"}], \"invalid_tool_calls\": [], \"usage_metadata\": {\"input_tokens\": 60, \"output_tokens\": 15, \"total_tokens\": 75, \"input_token_details\": {\"audio\": 0, \"cache_read\": 0}, \"output_token_details\": {\"audio\": 0, \"reasoning\": 0}}}]}",
- "output": "{\"messages\": [{\"content\": \"[{\\\"url\\\": \\\"https://example.com\\\", \\\"title\\\": \\\"Example Result\\\", \\\"q\\\": \\\"example\\\"}]\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"tool\", \"name\": \"Web-Search\", \"id\": null, \"tool_call_id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"artifact\": null, \"status\": \"success\"}]}",
+ "createdAt": "2025-08-22T09:39:09.403Z",
+ "updatedAt": "2025-08-22T09:39:09.818Z",
+ "input": "{\"messages\": [{\"content\": \"Search the web for 'example' and summarize.\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"human\", \"name\": null, \"id\": null, \"example\": false}]}",
+ "output": "{\"messages\": [{\"content\": \"Search the web for 'example' and summarize.\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"human\", \"name\": null, \"id\": \"4f5904a4-473c-443c-af46-68765777a2f0\", \"example\": false}, {\"content\": \"\", \"additional_kwargs\": {\"tool_calls\": [{\"id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"function\": {\"arguments\": \"{\\\"query\\\":\\\"example\\\"}\", \"name\": \"Web-Search\"}, \"type\": \"function\"}], \"refusal\": null}, \"response_metadata\": {\"token_usage\": {\"completion_tokens\": 15, \"prompt_tokens\": 60, \"total_tokens\": 75, \"completion_tokens_details\": {\"accepted_prediction_tokens\": 0, \"audio_tokens\": 0, \"reasoning_tokens\": 0, \"rejected_prediction_tokens\": 0}, \"prompt_tokens_details\": {\"audio_tokens\": 0, \"cached_tokens\": 0}}, \"model_name\": \"gpt-4o-2024-08-06\", \"system_fingerprint\": \"fp_46bff0e0c8\", \"id\": \"chatcmpl-C7IWW4ZyFcMMUH5I00yulLd1Cuz2f\", \"service_tier\": \"default\", \"finish_reason\": \"tool_calls\", \"logprobs\": null}, \"type\": \"ai\", \"name\": null, \"id\": \"run--06f4147e-6dc2-4078-a368-096c05261f12-0\", \"example\": false, \"tool_calls\": [{\"name\": \"Web-Search\", \"args\": {\"query\": \"example\"}, \"id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"type\": \"tool_call\"}], \"invalid_tool_calls\": [], \"usage_metadata\": {\"input_tokens\": 60, \"output_tokens\": 15, \"total_tokens\": 75, \"input_token_details\": {\"audio\": 0, \"cache_read\": 0}, \"output_token_details\": {\"audio\": 0, \"reasoning\": 0}}}, {\"content\": \"[{\\\"url\\\": \\\"https://example.com\\\", \\\"title\\\": \\\"Example Result\\\", \\\"q\\\": \\\"example\\\"}]\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"tool\", \"name\": \"Web-Search\", \"id\": \"85ffdeba-3d69-4851-bd78-993403a10fd6\", \"tool_call_id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"artifact\": null, \"status\": \"success\"}, {\"content\": \"The search for \\\"example\\\" primarily leads to the website [example.com](https://example.com), which is often used as a placeholder or demonstration site in various contexts. It serves as a generic example for illustrating how a website might look or function.\", \"additional_kwargs\": {\"refusal\": null}, \"response_metadata\": {\"token_usage\": {\"completion_tokens\": 51, \"prompt_tokens\": 108, \"total_tokens\": 159, \"completion_tokens_details\": {\"accepted_prediction_tokens\": 0, \"audio_tokens\": 0, \"reasoning_tokens\": 0, \"rejected_prediction_tokens\": 0}, \"prompt_tokens_details\": {\"audio_tokens\": 0, \"cached_tokens\": 0}}, \"model_name\": \"gpt-4o-2024-08-06\", \"system_fingerprint\": \"fp_46bff0e0c8\", \"id\": \"chatcmpl-C7IWXZL0b6BLNuyEMr369PF4PEpSs\", \"service_tier\": \"default\", \"finish_reason\": \"stop\", \"logprobs\": null}, \"type\": \"ai\", \"name\": null, \"id\": \"run--a6270d77-8cd6-4c1b-a80b-c1da054d9f9a-0\", \"example\": false, \"tool_calls\": [], \"invalid_tool_calls\": [], \"usage_metadata\": {\"input_tokens\": 108, \"output_tokens\": 51, \"total_tokens\": 159, \"input_token_details\": {\"audio\": 0, \"cache_read\": 0}, \"output_token_details\": {\"audio\": 0, \"reasoning\": 0}}}]}",
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -832,7 +832,7 @@
"promptId": null,
"promptName": null,
"promptVersion": null,
- "latency": 0.003,
+ "latency": 2.61,
"timeToFirstToken": null,
"usageDetails": {},
"costDetails": {},
@@ -848,26 +848,26 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"tags\":[\"graph:step:2\",\"langgraph\",\"demo\",\"langfuse\"],\"thread_id\":\"demo-thread-1\",\"langgraph_step\":2,\"langgraph_node\":\"tools\",\"langgraph_triggers\":[\"branch:to:tools\"],\"langgraph_path\":[\"__pregel_pull\",\"tools\"],\"langgraph_checkpoint_ns\":\"tools:a8b0eaec-b747-6d2a-2f81-4b6ac7e07fc1\",\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.36.0\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"3.3.0\",\"attributes\":{\"public_key\":\"KJGLKJGLJG\"}}}",
+ "metadata": "{\"tags\":[\"langgraph\",\"demo\",\"langfuse\"],\"thread_id\":\"demo-thread-1\",\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.36.0\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"3.3.0\",\"attributes\":{\"public_key\":\"KJGLKJGLJG\"}}}",
"internalModel": null
},
{
- "id": "e638064431445dce",
+ "id": "c7fbfdc6ab70ca4d",
"traceId": "e1fde3efec57ce8a69bafd3fb928a7eb",
- "startTime": "2025-08-22T09:38:58.834Z",
- "endTime": "2025-08-22T09:38:58.834Z",
+ "startTime": "2025-08-22T09:38:57.081Z",
+ "endTime": "2025-08-22T09:38:57.081Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "3b239b11cbb2ac0b",
+ "parentObservationId": "98d3e02591797c04",
"type": "SPAN",
"environment": "default",
"name": "should_continue",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
- "createdAt": "2025-08-22T09:39:09.989Z",
- "updatedAt": "2025-08-22T09:39:10.308Z",
- "input": "{\"messages\": [{\"content\": \"Search the web for 'example' and summarize.\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"human\", \"name\": null, \"id\": \"4f5904a4-473c-443c-af46-68765777a2f0\", \"example\": false}, {\"content\": \"\", \"additional_kwargs\": {\"tool_calls\": [{\"id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"function\": {\"arguments\": \"{\\\"query\\\":\\\"example\\\"}\", \"name\": \"Web-Search\"}, \"type\": \"function\"}], \"refusal\": null}, \"response_metadata\": {\"token_usage\": {\"completion_tokens\": 15, \"prompt_tokens\": 60, \"total_tokens\": 75, \"completion_tokens_details\": {\"accepted_prediction_tokens\": 0, \"audio_tokens\": 0, \"reasoning_tokens\": 0, \"rejected_prediction_tokens\": 0}, \"prompt_tokens_details\": {\"audio_tokens\": 0, \"cached_tokens\": 0}}, \"model_name\": \"gpt-4o-2024-08-06\", \"system_fingerprint\": \"fp_46bff0e0c8\", \"id\": \"chatcmpl-C7IWW4ZyFcMMUH5I00yulLd1Cuz2f\", \"service_tier\": \"default\", \"finish_reason\": \"tool_calls\", \"logprobs\": null}, \"type\": \"ai\", \"name\": null, \"id\": \"run--06f4147e-6dc2-4078-a368-096c05261f12-0\", \"example\": false, \"tool_calls\": [{\"name\": \"Web-Search\", \"args\": {\"query\": \"example\"}, \"id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"type\": \"tool_call\"}], \"invalid_tool_calls\": [], \"usage_metadata\": {\"input_tokens\": 60, \"output_tokens\": 15, \"total_tokens\": 75, \"input_token_details\": {\"audio\": 0, \"cache_read\": 0}, \"output_token_details\": {\"audio\": 0, \"reasoning\": 0}}}, {\"content\": \"[{\\\"url\\\": \\\"https://example.com\\\", \\\"title\\\": \\\"Example Result\\\", \\\"q\\\": \\\"example\\\"}]\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"tool\", \"name\": \"Web-Search\", \"id\": \"85ffdeba-3d69-4851-bd78-993403a10fd6\", \"tool_call_id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"artifact\": null, \"status\": \"success\"}, {\"content\": \"The search for \\\"example\\\" primarily leads to the website [example.com](https://example.com), which is often used as a placeholder or demonstration site in various contexts. It serves as a generic example for illustrating how a website might look or function.\", \"additional_kwargs\": {\"refusal\": null}, \"response_metadata\": {\"token_usage\": {\"completion_tokens\": 51, \"prompt_tokens\": 108, \"total_tokens\": 159, \"completion_tokens_details\": {\"accepted_prediction_tokens\": 0, \"audio_tokens\": 0, \"reasoning_tokens\": 0, \"rejected_prediction_tokens\": 0}, \"prompt_tokens_details\": {\"audio_tokens\": 0, \"cached_tokens\": 0}}, \"model_name\": \"gpt-4o-2024-08-06\", \"system_fingerprint\": \"fp_46bff0e0c8\", \"id\": \"chatcmpl-C7IWXZL0b6BLNuyEMr369PF4PEpSs\", \"service_tier\": \"default\", \"finish_reason\": \"stop\", \"logprobs\": null}, \"type\": \"ai\", \"name\": null, \"id\": \"run--a6270d77-8cd6-4c1b-a80b-c1da054d9f9a-0\", \"example\": false, \"tool_calls\": [], \"invalid_tool_calls\": [], \"usage_metadata\": {\"input_tokens\": 108, \"output_tokens\": 51, \"total_tokens\": 159, \"input_token_details\": {\"audio\": 0, \"cache_read\": 0}, \"output_token_details\": {\"audio\": 0, \"reasoning\": 0}}}]}",
- "output": "end",
+ "createdAt": "2025-08-22T09:39:09.393Z",
+ "updatedAt": "2025-08-22T09:39:09.617Z",
+ "input": "{\"messages\": [{\"content\": \"Search the web for 'example' and summarize.\", \"additional_kwargs\": {}, \"response_metadata\": {}, \"type\": \"human\", \"name\": null, \"id\": \"4f5904a4-473c-443c-af46-68765777a2f0\", \"example\": false}, {\"content\": \"\", \"additional_kwargs\": {\"tool_calls\": [{\"id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"function\": {\"arguments\": \"{\\\"query\\\":\\\"example\\\"}\", \"name\": \"Web-Search\"}, \"type\": \"function\"}], \"refusal\": null}, \"response_metadata\": {\"token_usage\": {\"completion_tokens\": 15, \"prompt_tokens\": 60, \"total_tokens\": 75, \"completion_tokens_details\": {\"accepted_prediction_tokens\": 0, \"audio_tokens\": 0, \"reasoning_tokens\": 0, \"rejected_prediction_tokens\": 0}, \"prompt_tokens_details\": {\"audio_tokens\": 0, \"cached_tokens\": 0}}, \"model_name\": \"gpt-4o-2024-08-06\", \"system_fingerprint\": \"fp_46bff0e0c8\", \"id\": \"chatcmpl-C7IWW4ZyFcMMUH5I00yulLd1Cuz2f\", \"service_tier\": \"default\", \"finish_reason\": \"tool_calls\", \"logprobs\": null}, \"type\": \"ai\", \"name\": null, \"id\": \"run--06f4147e-6dc2-4078-a368-096c05261f12-0\", \"example\": false, \"tool_calls\": [{\"name\": \"Web-Search\", \"args\": {\"query\": \"example\"}, \"id\": \"call_1oGK863sxQHlPreFhDdEs3yl\", \"type\": \"tool_call\"}], \"invalid_tool_calls\": [], \"usage_metadata\": {\"input_tokens\": 60, \"output_tokens\": 15, \"total_tokens\": 75, \"input_token_details\": {\"audio\": 0, \"cache_read\": 0}, \"output_token_details\": {\"audio\": 0, \"reasoning\": 0}}}]}",
+ "output": "continue",
"model": null,
"internalModelId": null,
"modelParameters": null,
@@ -891,7 +891,7 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"tags\":[\"seq:step:3\",\"langgraph\",\"demo\",\"langfuse\"],\"thread_id\":\"demo-thread-1\",\"langgraph_step\":3,\"langgraph_node\":\"agent\",\"langgraph_triggers\":[\"branch:to:agent\"],\"langgraph_path\":[\"__pregel_pull\",\"agent\"],\"langgraph_checkpoint_ns\":\"agent:695fb20e-d55e-ccb4-5384-070711a6cdf8\",\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.36.0\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"3.3.0\",\"attributes\":{\"public_key\":\"KJGLKJGLJG\"}}}",
+ "metadata": "{\"tags\":[\"seq:step:3\",\"langgraph\",\"demo\",\"langfuse\"],\"thread_id\":\"demo-thread-1\",\"langgraph_step\":1,\"langgraph_node\":\"agent\",\"langgraph_triggers\":[\"branch:to:agent\"],\"langgraph_path\":[\"__pregel_pull\",\"agent\"],\"langgraph_checkpoint_ns\":\"agent:d507d231-6dad-b926-076f-0644c0a0134e\",\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.36.0\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"3.3.0\",\"attributes\":{\"public_key\":\"KJGLKJGLJG\"}}}",
"internalModel": null
}
]
diff --git a/worker/src/__tests__/chatml/framework-traces/llamaindex-2025-06-05.trace.json b/worker/src/__tests__/chatml/framework-traces/llamaindex-2025-06-05.trace.json
index 056289286b..26cbed7a86 100644
--- a/worker/src/__tests__/chatml/framework-traces/llamaindex-2025-06-05.trace.json
+++ b/worker/src/__tests__/chatml/framework-traces/llamaindex-2025-06-05.trace.json
@@ -24,6 +24,48 @@
"corrections": [],
"latency": 2.779,
"observations": [
+ {
+ "id": "3344aabdd4e66110",
+ "traceId": "12ea412956f99347b0503c1144acd0ec",
+ "startTime": "2025-06-05T15:45:52.971Z",
+ "endTime": "2025-06-05T15:45:55.750Z",
+ "projectId": "cloramnkj0002jz088vzn1ja4",
+ "parentObservationId": null,
+ "type": "SPAN",
+ "environment": "default",
+ "name": "llama-index-trace",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": "1.0.0",
+ "createdAt": "2025-06-05T15:45:55.996Z",
+ "updatedAt": "2025-06-05T15:45:56.027Z",
+ "input": null,
+ "output": null,
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": null,
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 2.779,
+ "timeToFirstToken": null,
+ "usageDetails": {},
+ "costDetails": {},
+ "providedCostDetails": {},
+ "inputCost": null,
+ "outputCost": null,
+ "totalCost": 0,
+ "inputUsage": 0,
+ "outputUsage": 0,
+ "totalUsage": 0,
+ "usagePricingTierId": null,
+ "usagePricingTierName": null,
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{}"
+ },
{
"id": "7ca8b22f6628d0c7",
"traceId": "12ea412956f99347b0503c1144acd0ec",
@@ -84,52 +126,53 @@
"toolCalls": [],
"toolCallNames": [],
"metadata": "{}"
- },
- {
- "id": "3344aabdd4e66110",
- "traceId": "12ea412956f99347b0503c1144acd0ec",
- "startTime": "2025-06-05T15:45:52.971Z",
- "endTime": "2025-06-05T15:45:55.750Z",
- "projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": null,
- "type": "SPAN",
- "environment": "default",
- "name": "llama-index-trace",
- "level": "DEFAULT",
- "statusMessage": null,
- "version": "1.0.0",
- "createdAt": "2025-06-05T15:45:55.996Z",
- "updatedAt": "2025-06-05T15:45:56.027Z",
- "input": null,
- "output": null,
- "model": null,
- "internalModelId": null,
- "modelParameters": null,
- "completionStartTime": null,
- "promptId": null,
- "promptName": null,
- "promptVersion": null,
- "latency": 2.779,
- "timeToFirstToken": null,
- "usageDetails": {},
- "costDetails": {},
- "providedCostDetails": {},
- "inputCost": null,
- "outputCost": null,
- "totalCost": 0,
- "inputUsage": 0,
- "outputUsage": 0,
- "totalUsage": 0,
- "usagePricingTierId": null,
- "usagePricingTierName": null,
- "toolDefinitions": {},
- "toolCalls": [],
- "toolCallNames": [],
- "metadata": "{}"
}
]
},
"observations": [
+ {
+ "id": "3344aabdd4e66110",
+ "traceId": "12ea412956f99347b0503c1144acd0ec",
+ "startTime": "2025-06-05T15:45:52.971Z",
+ "endTime": "2025-06-05T15:45:55.750Z",
+ "projectId": "cloramnkj0002jz088vzn1ja4",
+ "parentObservationId": null,
+ "type": "SPAN",
+ "environment": "default",
+ "name": "llama-index-trace",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": "1.0.0",
+ "createdAt": "2025-06-05T15:45:55.996Z",
+ "updatedAt": "2025-06-05T15:45:56.027Z",
+ "input": null,
+ "output": null,
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": null,
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 2.779,
+ "timeToFirstToken": null,
+ "usageDetails": {},
+ "costDetails": {},
+ "providedCostDetails": {},
+ "inputCost": null,
+ "outputCost": null,
+ "totalCost": 0,
+ "inputUsage": 0,
+ "outputUsage": 0,
+ "totalUsage": 0,
+ "usagePricingTierId": null,
+ "usagePricingTierName": null,
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.33.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"3.0.0\",\"attributes\":{\"public_key\":\"pk-lf-5855d85e-3943-497e-bd10-f50ad414bcba\"}}}",
+ "internalModel": null
+ },
{
"id": "7ca8b22f6628d0c7",
"traceId": "12ea412956f99347b0503c1144acd0ec",
@@ -191,49 +234,6 @@
"toolCallNames": [],
"metadata": "{\"attributes\":{\"llm.model_name\":\"gpt-4o\",\"llm.invocation_parameters\":\"{\\\"context_window\\\":128000,\\\"num_output\\\":-1,\\\"is_chat_model\\\":true,\\\"is_function_calling_model\\\":true,\\\"model_name\\\":\\\"gpt-4o\\\",\\\"system_role\\\":\\\"system\\\"}\",\"llm.provider\":\"openai\",\"llm.system\":\"openai\",\"input.value\":\"{\\\"args\\\": [\\\"What is Langfuse?\\\"]}\",\"input.mime_type\":\"application/json\",\"llm.prompts\":\"[\\\"What is Langfuse?\\\"]\",\"output.value\":\"Langfuse is a tool designed to help developers monitor and debug applications that utilize large language models (LLMs). It provides features for tracking and analyzing the performance of LLMs, enabling developers to gain insights into how these models are functioning within their applications. Langfuse can be particularly useful for identifying issues, optimizing performance, and ensuring that the integration of language models into applications is smooth and effective.\",\"llm.token_count.prompt\":\"13\",\"llm.token_count.prompt_details.cache_read\":\"0\",\"llm.token_count.prompt_details.audio\":\"0\",\"llm.token_count.completion\":\"81\",\"llm.token_count.completion_details.reasoning\":\"0\",\"llm.token_count.completion_details.audio\":\"0\",\"llm.token_count.total\":\"94\",\"openinference.span.kind\":\"LLM\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.33.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.llama_index\",\"version\":\"4.3.0\",\"attributes\":{}}}",
"internalModel": "b9854a5c92dc496b997d99d20"
- },
- {
- "id": "3344aabdd4e66110",
- "traceId": "12ea412956f99347b0503c1144acd0ec",
- "startTime": "2025-06-05T15:45:52.971Z",
- "endTime": "2025-06-05T15:45:55.750Z",
- "projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": null,
- "type": "SPAN",
- "environment": "default",
- "name": "llama-index-trace",
- "level": "DEFAULT",
- "statusMessage": null,
- "version": "1.0.0",
- "createdAt": "2025-06-05T15:45:55.996Z",
- "updatedAt": "2025-06-05T15:45:56.027Z",
- "input": null,
- "output": null,
- "model": null,
- "internalModelId": null,
- "modelParameters": null,
- "completionStartTime": null,
- "promptId": null,
- "promptName": null,
- "promptVersion": null,
- "latency": 2.779,
- "timeToFirstToken": null,
- "usageDetails": {},
- "costDetails": {},
- "providedCostDetails": {},
- "inputCost": null,
- "outputCost": null,
- "totalCost": 0,
- "inputUsage": 0,
- "outputUsage": 0,
- "totalUsage": 0,
- "usagePricingTierId": null,
- "usagePricingTierName": null,
- "toolDefinitions": {},
- "toolCalls": [],
- "toolCallNames": [],
- "metadata": "{\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.33.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"3.0.0\",\"attributes\":{\"public_key\":\"pk-lf-5855d85e-3943-497e-bd10-f50ad414bcba\"}}}",
- "internalModel": null
}
]
}
diff --git a/worker/src/__tests__/chatml/framework-traces/openai-agents-2025-09-30.trace.json b/worker/src/__tests__/chatml/framework-traces/openai-agents-2025-09-30.trace.json
index 998a66eb0a..b951f3ea86 100644
--- a/worker/src/__tests__/chatml/framework-traces/openai-agents-2025-09-30.trace.json
+++ b/worker/src/__tests__/chatml/framework-traces/openai-agents-2025-09-30.trace.json
@@ -71,15 +71,15 @@
"latency": 2.19,
"observations": [
{
- "id": "d950b668796240b5",
+ "id": "e5a76f27f51ad40e",
"traceId": "fee618f96dc31e0ca38b2f7b26eb8b29",
"startTime": "2025-09-30T09:03:59.962Z",
"endTime": "2025-09-30T09:04:02.152Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "e5a76f27f51ad40e",
+ "parentObservationId": null,
"type": "AGENT",
"environment": "default",
- "name": "Hello world",
+ "name": "Agent workflow",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
@@ -113,15 +113,15 @@
"metadata": "{}"
},
{
- "id": "e5a76f27f51ad40e",
+ "id": "d950b668796240b5",
"traceId": "fee618f96dc31e0ca38b2f7b26eb8b29",
"startTime": "2025-09-30T09:03:59.962Z",
"endTime": "2025-09-30T09:04:02.152Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": null,
+ "parentObservationId": "e5a76f27f51ad40e",
"type": "AGENT",
"environment": "default",
- "name": "Agent workflow",
+ "name": "Hello world",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
@@ -340,15 +340,15 @@
},
"observations": [
{
- "id": "d950b668796240b5",
+ "id": "e5a76f27f51ad40e",
"traceId": "fee618f96dc31e0ca38b2f7b26eb8b29",
"startTime": "2025-09-30T09:03:59.962Z",
"endTime": "2025-09-30T09:04:02.152Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": "e5a76f27f51ad40e",
+ "parentObservationId": null,
"type": "AGENT",
"environment": "default",
- "name": "Hello world",
+ "name": "Agent workflow",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
@@ -379,19 +379,19 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"llm.system\":\"openai\",\"graph.node.id\":\"Hello world\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.37.0\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.openai_agents\",\"version\":\"1.3.0\",\"attributes\":{}}}",
+ "metadata": "{\"attributes\":{\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.37.0\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.openai_agents\",\"version\":\"1.3.0\",\"attributes\":{}}}",
"internalModel": null
},
{
- "id": "e5a76f27f51ad40e",
+ "id": "d950b668796240b5",
"traceId": "fee618f96dc31e0ca38b2f7b26eb8b29",
"startTime": "2025-09-30T09:03:59.962Z",
"endTime": "2025-09-30T09:04:02.152Z",
"projectId": "cloramnkj0002jz088vzn1ja4",
- "parentObservationId": null,
+ "parentObservationId": "e5a76f27f51ad40e",
"type": "AGENT",
"environment": "default",
- "name": "Agent workflow",
+ "name": "Hello world",
"level": "DEFAULT",
"statusMessage": null,
"version": null,
@@ -422,7 +422,7 @@
"toolDefinitions": {},
"toolCalls": [],
"toolCallNames": [],
- "metadata": "{\"attributes\":{\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.37.0\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.openai_agents\",\"version\":\"1.3.0\",\"attributes\":{}}}",
+ "metadata": "{\"attributes\":{\"llm.system\":\"openai\",\"graph.node.id\":\"Hello world\",\"openinference.span.kind\":\"AGENT\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.37.0\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"openinference.instrumentation.openai_agents\",\"version\":\"1.3.0\",\"attributes\":{}}}",
"internalModel": null
},
{
diff --git a/worker/src/__tests__/chatml/framework-traces/pydantic-ai-tools-2025-06-06.chatml.json b/worker/src/__tests__/chatml/framework-traces/pydantic-ai-tools-2025-06-06.chatml.json
new file mode 100644
index 0000000000..945d2df1fb
--- /dev/null
+++ b/worker/src/__tests__/chatml/framework-traces/pydantic-ai-tools-2025-06-06.chatml.json
@@ -0,0 +1,74 @@
+{
+ "0a4fac2553f22f2e": {
+ "output": {
+ "success": true,
+ "data": [
+ {
+ "role": "system",
+ "content": "You are a helpful assistant that answers questions clearly and concisely.",
+ "json": {
+ "gen_ai.message.index": 0,
+ "event.name": "gen_ai.system.message"
+ }
+ },
+ {
+ "role": "user",
+ "content": "What is Langfuse?",
+ "json": {
+ "gen_ai.message.index": 0,
+ "event.name": "gen_ai.user.message"
+ }
+ },
+ {
+ "role": "assistant",
+ "content": "Langfuse is a tool designed for observability and monitoring of applications that utilize large language models (LLMs). It provides features to trace, log, and visualize requests, helping developers understand the behavior of their LLM-powered applications more effectively. This can be particularly useful for debugging, performance optimization, and ensuring reliable operation of systems that depend on LLMs. Langfuse is designed to integrate easily with existing infrastructure, supporting both self-hosted implementations and cloud-based solutions.",
+ "json": {
+ "gen_ai.message.index": 1,
+ "event.name": "gen_ai.assistant.message"
+ }
+ }
+ ]
+ }
+ },
+ "5cb389a3bdd21a6e": {
+ "input": {
+ "success": true,
+ "data": [
+ {
+ "role": "system",
+ "content": "You are a helpful assistant that answers questions clearly and concisely.",
+ "json": {
+ "gen_ai.system": "openai",
+ "gen_ai.message.index": 0,
+ "event.name": "gen_ai.system.message"
+ }
+ },
+ {
+ "role": "user",
+ "content": "What is Langfuse?",
+ "json": {
+ "gen_ai.system": "openai",
+ "gen_ai.message.index": 0,
+ "event.name": "gen_ai.user.message"
+ }
+ }
+ ]
+ },
+ "output": {
+ "success": true,
+ "data": [
+ {
+ "json": {
+ "index": 0,
+ "message": {
+ "role": "assistant",
+ "content": "Langfuse is a tool designed for observability and monitoring of applications that utilize large language models (LLMs). It provides features to trace, log, and visualize requests, helping developers understand the behavior of their LLM-powered applications more effectively. This can be particularly useful for debugging, performance optimization, and ensuring reliable operation of systems that depend on LLMs. Langfuse is designed to integrate easily with existing infrastructure, supporting both self-hosted implementations and cloud-based solutions."
+ },
+ "gen_ai.system": "openai",
+ "event.name": "gen_ai.choice"
+ }
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/worker/src/__tests__/chatml/framework-traces/pydantic-ai-tools-2025-06-06.trace.json b/worker/src/__tests__/chatml/framework-traces/pydantic-ai-tools-2025-06-06.trace.json
new file mode 100644
index 0000000000..bc44846d9a
--- /dev/null
+++ b/worker/src/__tests__/chatml/framework-traces/pydantic-ai-tools-2025-06-06.trace.json
@@ -0,0 +1,327 @@
+{
+ "trace": {
+ "id": "25f4bdeebaab60e6e1bee7e8469554bc",
+ "projectId": "cloramnkj0002jz088vzn1ja4",
+ "name": "pydantic-ai-qa-trace",
+ "timestamp": "2025-06-06T14:40:28.562Z",
+ "environment": "default",
+ "tags": [
+ "dev",
+ "pydantic-ai"
+ ],
+ "bookmarked": false,
+ "release": null,
+ "version": "1.0.0",
+ "userId": "user_123",
+ "sessionId": "session_abc",
+ "public": true,
+ "input": "\"What is Langfuse?\"",
+ "output": "\"Langfuse is a tool designed for observability and monitoring of applications that utilize large language models (LLMs). It provides features to trace, log, and visualize requests, helping developers understand the behavior of their LLM-powered applications more effectively. This can be particularly useful for debugging, performance optimization, and ensuring reliable operation of systems that depend on LLMs. Langfuse is designed to integrate easily with existing infrastructure, supporting both self-hosted implementations and cloud-based solutions.\"",
+ "createdAt": "2025-06-06T14:40:34.000Z",
+ "updatedAt": "2025-06-06T14:40:33.635Z",
+ "metadata": "{\"email\":\"[email protected]\",\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.33.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"3.0.0\",\"attributes\":{\"public_key\":\"pk-lf-5855d85e-3943-497e-bd10-f50ad414bcba\"}}}",
+ "scores": [],
+ "corrections": [
+ {
+ "id": "9c7e9644-912b-46c5-9a1a-859c1724695c",
+ "projectId": "cloramnkj0002jz088vzn1ja4",
+ "environment": "default",
+ "name": "output",
+ "value": 0,
+ "source": "ANNOTATION",
+ "authorUserId": "cm167x5rh00018bk3mcnituff",
+ "comment": null,
+ "metadata": {},
+ "configId": null,
+ "queueId": null,
+ "executionTraceId": null,
+ "createdAt": "2026-03-05T09:13:54.484Z",
+ "updatedAt": "2026-03-05T09:13:54.484Z",
+ "timestamp": "2026-03-05T09:13:54.218Z",
+ "traceId": "25f4bdeebaab60e6e1bee7e8469554bc",
+ "sessionId": null,
+ "datasetRunId": null,
+ "observationId": null,
+ "longStringValue": "Langfuse is a tool designed for observability and monitoring of applications that utilize large language models (LLMs). It provides features to trace, log, and visualize requests, helping developers understand the behavior of their LLM-powered applications more effectively. This can be particularly useful for debugging, performance optimization, and ensuring reliable operation of systems that depend on LLMs. Langfuse is designed to integrate easily with existing infrastructure, supporting both self-hosted implementations and cloud-based solutions.",
+ "stringValue": null,
+ "dataType": "CORRECTION"
+ }
+ ],
+ "latency": 4.795,
+ "observations": [
+ {
+ "id": "0a4fac2553f22f2e",
+ "traceId": "25f4bdeebaab60e6e1bee7e8469554bc",
+ "startTime": "2025-06-06T14:40:28.562Z",
+ "endTime": "2025-06-06T14:40:33.357Z",
+ "projectId": "cloramnkj0002jz088vzn1ja4",
+ "parentObservationId": "538fed87d11686d3",
+ "type": "SPAN",
+ "environment": "default",
+ "name": "qa_agent run",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": null,
+ "createdAt": "2025-06-06T14:40:33.596Z",
+ "updatedAt": "2025-06-06T14:40:33.641Z",
+ "input": null,
+ "output": null,
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": null,
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 4.795,
+ "timeToFirstToken": null,
+ "usageDetails": {},
+ "costDetails": {},
+ "providedCostDetails": {},
+ "inputCost": null,
+ "outputCost": null,
+ "totalCost": 0,
+ "inputUsage": 0,
+ "outputUsage": 0,
+ "totalUsage": 0,
+ "usagePricingTierId": null,
+ "usagePricingTierName": null,
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{}"
+ },
+ {
+ "id": "538fed87d11686d3",
+ "traceId": "25f4bdeebaab60e6e1bee7e8469554bc",
+ "startTime": "2025-06-06T14:40:28.562Z",
+ "endTime": "2025-06-06T14:40:33.357Z",
+ "projectId": "cloramnkj0002jz088vzn1ja4",
+ "parentObservationId": null,
+ "type": "SPAN",
+ "environment": "default",
+ "name": "pydantic-ai-qa-trace",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": "1.0.0",
+ "createdAt": "2025-06-06T14:40:33.595Z",
+ "updatedAt": "2025-06-06T14:40:33.630Z",
+ "input": null,
+ "output": null,
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": null,
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 4.795,
+ "timeToFirstToken": null,
+ "usageDetails": {},
+ "costDetails": {},
+ "providedCostDetails": {},
+ "inputCost": null,
+ "outputCost": null,
+ "totalCost": 0,
+ "inputUsage": 0,
+ "outputUsage": 0,
+ "totalUsage": 0,
+ "usagePricingTierId": null,
+ "usagePricingTierName": null,
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{}"
+ },
+ {
+ "id": "5cb389a3bdd21a6e",
+ "traceId": "25f4bdeebaab60e6e1bee7e8469554bc",
+ "startTime": "2025-06-06T14:40:28.562Z",
+ "endTime": "2025-06-06T14:40:33.356Z",
+ "projectId": "cloramnkj0002jz088vzn1ja4",
+ "parentObservationId": "0a4fac2553f22f2e",
+ "type": "GENERATION",
+ "environment": "default",
+ "name": "chat gpt-4o",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": null,
+ "createdAt": "2025-06-06T14:40:33.440Z",
+ "updatedAt": "2025-06-06T14:40:33.478Z",
+ "input": null,
+ "output": null,
+ "model": "gpt-4o",
+ "internalModelId": "b9854a5c92dc496b997d99d20",
+ "modelParameters": {},
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 4.794,
+ "timeToFirstToken": null,
+ "usageDetails": {
+ "input": 31,
+ "output": 96,
+ "total": 127
+ },
+ "costDetails": {
+ "input": 0.0000775,
+ "output": 0.00096,
+ "total": 0.0010375
+ },
+ "providedCostDetails": {},
+ "inputCost": 0.0000775,
+ "outputCost": 0.00096,
+ "totalCost": 0.0010375,
+ "inputUsage": 31,
+ "outputUsage": 96,
+ "totalUsage": 127,
+ "usagePricingTierId": null,
+ "usagePricingTierName": null,
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{}"
+ }
+ ]
+ },
+ "observations": [
+ {
+ "id": "0a4fac2553f22f2e",
+ "traceId": "25f4bdeebaab60e6e1bee7e8469554bc",
+ "startTime": "2025-06-06T14:40:28.562Z",
+ "endTime": "2025-06-06T14:40:33.357Z",
+ "projectId": "cloramnkj0002jz088vzn1ja4",
+ "parentObservationId": "538fed87d11686d3",
+ "type": "SPAN",
+ "environment": "default",
+ "name": "qa_agent run",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": null,
+ "createdAt": "2025-06-06T14:40:33.596Z",
+ "updatedAt": "2025-06-06T14:40:33.641Z",
+ "input": null,
+ "output": "[{\"content\": \"You are a helpful assistant that answers questions clearly and concisely.\", \"role\": \"system\", \"gen_ai.message.index\": 0, \"event.name\": \"gen_ai.system.message\"}, {\"content\": \"What is Langfuse?\", \"role\": \"user\", \"gen_ai.message.index\": 0, \"event.name\": \"gen_ai.user.message\"}, {\"role\": \"assistant\", \"content\": \"Langfuse is a tool designed for observability and monitoring of applications that utilize large language models (LLMs). It provides features to trace, log, and visualize requests, helping developers understand the behavior of their LLM-powered applications more effectively. This can be particularly useful for debugging, performance optimization, and ensuring reliable operation of systems that depend on LLMs. Langfuse is designed to integrate easily with existing infrastructure, supporting both self-hosted implementations and cloud-based solutions.\", \"gen_ai.message.index\": 1, \"event.name\": \"gen_ai.assistant.message\"}]",
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": null,
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 4.795,
+ "timeToFirstToken": null,
+ "usageDetails": {},
+ "costDetails": {},
+ "providedCostDetails": {},
+ "inputCost": null,
+ "outputCost": null,
+ "totalCost": 0,
+ "inputUsage": 0,
+ "outputUsage": 0,
+ "totalUsage": 0,
+ "usagePricingTierId": null,
+ "usagePricingTierName": null,
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{\"attributes\":{\"model_name\":\"gpt-4o\",\"agent_name\":\"qa_agent\",\"logfire.msg\":\"qa_agent run\",\"final_result\":\"Langfuse is a tool designed for observability and monitoring of applications that utilize large language models (LLMs). It provides features to trace, log, and visualize requests, helping developers understand the behavior of their LLM-powered applications more effectively. This can be particularly useful for debugging, performance optimization, and ensuring reliable operation of systems that depend on LLMs. Langfuse is designed to integrate easily with existing infrastructure, supporting both self-hosted implementations and cloud-based solutions.\",\"gen_ai.usage.input_tokens\":\"31\",\"gen_ai.usage.output_tokens\":\"96\",\"all_messages_events\":\"[{\\\"content\\\": \\\"You are a helpful assistant that answers questions clearly and concisely.\\\", \\\"role\\\": \\\"system\\\", \\\"gen_ai.message.index\\\": 0, \\\"event.name\\\": \\\"gen_ai.system.message\\\"}, {\\\"content\\\": \\\"What is Langfuse?\\\", \\\"role\\\": \\\"user\\\", \\\"gen_ai.message.index\\\": 0, \\\"event.name\\\": \\\"gen_ai.user.message\\\"}, {\\\"role\\\": \\\"assistant\\\", \\\"content\\\": \\\"Langfuse is a tool designed for observability and monitoring of applications that utilize large language models (LLMs). It provides features to trace, log, and visualize requests, helping developers understand the behavior of their LLM-powered applications more effectively. This can be particularly useful for debugging, performance optimization, and ensuring reliable operation of systems that depend on LLMs. Langfuse is designed to integrate easily with existing infrastructure, supporting both self-hosted implementations and cloud-based solutions.\\\", \\\"gen_ai.message.index\\\": 1, \\\"event.name\\\": \\\"gen_ai.assistant.message\\\"}]\",\"logfire.json_schema\":\"{\\\"type\\\": \\\"object\\\", \\\"properties\\\": {\\\"all_messages_events\\\": {\\\"type\\\": \\\"array\\\"}, \\\"final_result\\\": {\\\"type\\\": \\\"object\\\"}}}\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.33.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"pydantic-ai\",\"version\":\"0.2.15\",\"attributes\":{}}}",
+ "internalModel": null
+ },
+ {
+ "id": "538fed87d11686d3",
+ "traceId": "25f4bdeebaab60e6e1bee7e8469554bc",
+ "startTime": "2025-06-06T14:40:28.562Z",
+ "endTime": "2025-06-06T14:40:33.357Z",
+ "projectId": "cloramnkj0002jz088vzn1ja4",
+ "parentObservationId": null,
+ "type": "SPAN",
+ "environment": "default",
+ "name": "pydantic-ai-qa-trace",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": "1.0.0",
+ "createdAt": "2025-06-06T14:40:33.595Z",
+ "updatedAt": "2025-06-06T14:40:33.630Z",
+ "input": null,
+ "output": null,
+ "model": null,
+ "internalModelId": null,
+ "modelParameters": null,
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 4.795,
+ "timeToFirstToken": null,
+ "usageDetails": {},
+ "costDetails": {},
+ "providedCostDetails": {},
+ "inputCost": null,
+ "outputCost": null,
+ "totalCost": 0,
+ "inputUsage": 0,
+ "outputUsage": 0,
+ "totalUsage": 0,
+ "usagePricingTierId": null,
+ "usagePricingTierName": null,
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.33.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"langfuse-sdk\",\"version\":\"3.0.0\",\"attributes\":{\"public_key\":\"pk-lf-5855d85e-3943-497e-bd10-f50ad414bcba\"}}}",
+ "internalModel": null
+ },
+ {
+ "id": "5cb389a3bdd21a6e",
+ "traceId": "25f4bdeebaab60e6e1bee7e8469554bc",
+ "startTime": "2025-06-06T14:40:28.562Z",
+ "endTime": "2025-06-06T14:40:33.356Z",
+ "projectId": "cloramnkj0002jz088vzn1ja4",
+ "parentObservationId": "0a4fac2553f22f2e",
+ "type": "GENERATION",
+ "environment": "default",
+ "name": "chat gpt-4o",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": null,
+ "createdAt": "2025-06-06T14:40:33.440Z",
+ "updatedAt": "2025-06-06T14:40:33.478Z",
+ "input": "[{\"content\":\"You are a helpful assistant that answers questions clearly and concisely.\",\"role\":\"system\",\"gen_ai.system\":\"openai\",\"gen_ai.message.index\":0,\"event.name\":\"gen_ai.system.message\"},{\"content\":\"What is Langfuse?\",\"role\":\"user\",\"gen_ai.system\":\"openai\",\"gen_ai.message.index\":0,\"event.name\":\"gen_ai.user.message\"}]",
+ "output": "{\"index\":0,\"message\":{\"role\":\"assistant\",\"content\":\"Langfuse is a tool designed for observability and monitoring of applications that utilize large language models (LLMs). It provides features to trace, log, and visualize requests, helping developers understand the behavior of their LLM-powered applications more effectively. This can be particularly useful for debugging, performance optimization, and ensuring reliable operation of systems that depend on LLMs. Langfuse is designed to integrate easily with existing infrastructure, supporting both self-hosted implementations and cloud-based solutions.\"},\"gen_ai.system\":\"openai\",\"event.name\":\"gen_ai.choice\"}",
+ "model": "gpt-4o",
+ "internalModelId": "b9854a5c92dc496b997d99d20",
+ "modelParameters": {},
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 4.794,
+ "timeToFirstToken": null,
+ "usageDetails": {
+ "input": 31,
+ "output": 96,
+ "total": 127
+ },
+ "costDetails": {
+ "input": 0.0000775,
+ "output": 0.00096,
+ "total": 0.0010375
+ },
+ "providedCostDetails": {},
+ "inputCost": 0.0000775,
+ "outputCost": 0.00096,
+ "totalCost": 0.0010375,
+ "inputUsage": 31,
+ "outputUsage": 96,
+ "totalUsage": 127,
+ "usagePricingTierId": null,
+ "usagePricingTierName": null,
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{\"attributes\":{\"gen_ai.operation.name\":\"chat\",\"gen_ai.system\":\"openai\",\"gen_ai.request.model\":\"gpt-4o\",\"server.address\":\"api.openai.com\",\"model_request_parameters\":\"{\\\"function_tools\\\": [], \\\"allow_text_output\\\": true, \\\"output_tools\\\": []}\",\"gen_ai.usage.input_tokens\":\"31\",\"gen_ai.usage.output_tokens\":\"96\",\"gen_ai.response.model\":\"gpt-4o-2024-08-06\",\"events\":\"[{\\\"content\\\": \\\"You are a helpful assistant that answers questions clearly and concisely.\\\", \\\"role\\\": \\\"system\\\", \\\"gen_ai.system\\\": \\\"openai\\\", \\\"gen_ai.message.index\\\": 0, \\\"event.name\\\": \\\"gen_ai.system.message\\\"}, {\\\"content\\\": \\\"What is Langfuse?\\\", \\\"role\\\": \\\"user\\\", \\\"gen_ai.system\\\": \\\"openai\\\", \\\"gen_ai.message.index\\\": 0, \\\"event.name\\\": \\\"gen_ai.user.message\\\"}, {\\\"index\\\": 0, \\\"message\\\": {\\\"role\\\": \\\"assistant\\\", \\\"content\\\": \\\"Langfuse is a tool designed for observability and monitoring of applications that utilize large language models (LLMs). It provides features to trace, log, and visualize requests, helping developers understand the behavior of their LLM-powered applications more effectively. This can be particularly useful for debugging, performance optimization, and ensuring reliable operation of systems that depend on LLMs. Langfuse is designed to integrate easily with existing infrastructure, supporting both self-hosted implementations and cloud-based solutions.\\\"}, \\\"gen_ai.system\\\": \\\"openai\\\", \\\"event.name\\\": \\\"gen_ai.choice\\\"}]\",\"logfire.json_schema\":\"{\\\"type\\\": \\\"object\\\", \\\"properties\\\": {\\\"events\\\": {\\\"type\\\": \\\"array\\\"}, \\\"model_request_parameters\\\": {\\\"type\\\": \\\"object\\\"}}}\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.33.1\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"pydantic-ai\",\"version\":\"0.2.15\",\"attributes\":{}}}",
+ "internalModel": "b9854a5c92dc496b997d99d20"
+ }
+ ]
+}
diff --git a/worker/src/__tests__/chatml/framework-traces/pydantic-ai-with-gemini-2025-12-24.chatml.json b/worker/src/__tests__/chatml/framework-traces/pydantic-ai-with-gemini-2025-12-24.chatml.json
new file mode 100644
index 0000000000..88546d9c44
--- /dev/null
+++ b/worker/src/__tests__/chatml/framework-traces/pydantic-ai-with-gemini-2025-12-24.chatml.json
@@ -0,0 +1,25 @@
+{
+ "8ffb64580a84a3f0": {
+ "input": {
+ "success": true,
+ "data": [
+ {
+ "role": "user",
+ "content": "what is 1+1?\nOutput format:\n```json\n{\n \"answer\": your answer,\n \"rationale\": \"explanation for answer\"\n}\n```"
+ }
+ ]
+ },
+ "output": {
+ "success": true,
+ "data": [
+ {
+ "role": "assistant",
+ "content": "{\"answer\": \"2\", \"rationale\": \"The operation 1+1 is a basic arithmetic addition. Adding the integer 1 to itself results in the integer 2.\"}",
+ "json": {
+ "finish_reason": "stop"
+ }
+ }
+ ]
+ }
+ }
+}
\ No newline at end of file
diff --git a/worker/src/__tests__/chatml/framework-traces/pydantic-ai-with-gemini-2025-12-24.trace.json b/worker/src/__tests__/chatml/framework-traces/pydantic-ai-with-gemini-2025-12-24.trace.json
new file mode 100644
index 0000000000..4695ae39d2
--- /dev/null
+++ b/worker/src/__tests__/chatml/framework-traces/pydantic-ai-with-gemini-2025-12-24.trace.json
@@ -0,0 +1,129 @@
+{
+ "trace": {
+ "id": "f68601af42c4a35e1d5e4699de569c1f",
+ "projectId": "cmjjlsmpf01q5ad083m5ud2p5",
+ "name": "chat gemini-2.5-flash",
+ "timestamp": "2025-12-24T06:01:17.850Z",
+ "environment": "251216-langfuse-v3-test",
+ "tags": [],
+ "bookmarked": false,
+ "release": null,
+ "version": null,
+ "userId": null,
+ "sessionId": null,
+ "public": true,
+ "input": "\"[{\\\"role\\\":\\\"user\\\",\\\"parts\\\":[{\\\"type\\\":\\\"text\\\",\\\"content\\\":\\\"what is 1+1?\\\\nOutput format:\\\\n```json\\\\n{\\\\n \\\\\\\"answer\\\\\\\": your answer,\\\\n \\\\\\\"rationale\\\\\\\": \\\\\\\"explanation for answer\\\\\\\"\\\\n}\\\\n```\\\"}]}]\"",
+ "output": "\"[{\\\"role\\\":\\\"assistant\\\",\\\"parts\\\":[{\\\"type\\\":\\\"text\\\",\\\"content\\\":\\\"{\\\\\\\"answer\\\\\\\": \\\\\\\"2\\\\\\\", \\\\\\\"rationale\\\\\\\": \\\\\\\"The operation 1+1 is a basic arithmetic addition. Adding the integer 1 to itself results in the integer 2.\\\\\\\"}\\\"}],\\\"finish_reason\\\":\\\"stop\\\"}]\"",
+ "createdAt": "2025-12-24T06:01:20.000Z",
+ "updatedAt": "2025-12-24T06:01:20.032Z",
+ "metadata": "{\"attributes\":{\"gen_ai.operation.name\":\"chat\",\"gen_ai.system\":\"google-gla\",\"gen_ai.request.model\":\"gemini-2.5-flash\",\"server.address\":\"generativelanguage.googleapis.com\",\"model_request_parameters\":\"{\\\"function_tools\\\": [], \\\"builtin_tools\\\": [], \\\"output_mode\\\": \\\"native\\\", \\\"output_object\\\": {\\\"json_schema\\\": {\\\"properties\\\": {\\\"answer\\\": {\\\"type\\\": \\\"string\\\"}, \\\"rationale\\\": {\\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"answer\\\", \\\"rationale\\\"], \\\"type\\\": \\\"object\\\"}, \\\"name\\\": null, \\\"description\\\": null, \\\"strict\\\": true}, \\\"output_tools\\\": [], \\\"allow_text_output\\\": true, \\\"allow_image_output\\\": false}\",\"logfire.json_schema\":\"{\\\"type\\\": \\\"object\\\", \\\"properties\\\": {\\\"gen_ai.input.messages\\\": {\\\"type\\\": \\\"array\\\"}, \\\"gen_ai.output.messages\\\": {\\\"type\\\": \\\"array\\\"}, \\\"model_request_parameters\\\": {\\\"type\\\": \\\"object\\\"}}}\",\"gen_ai.usage.input_tokens\":\"40\",\"gen_ai.usage.output_tokens\":\"159\",\"gen_ai.usage.details.thoughts_tokens\":\"121\",\"gen_ai.usage.details.text_prompt_tokens\":\"40\",\"gen_ai.response.model\":\"gemini-2.5-flash\",\"operation.cost\":\"0.0004095\",\"gen_ai.response.id\":\"r4FLad_IHojq1e8Pt6i7GA\",\"gen_ai.response.finish_reasons\":\"[\\\"stop\\\"]\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.37.0\",\"langfuse.environment\":\"251216-langfuse-v3-test\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"pydantic-ai\",\"version\":\"1.11.0\",\"attributes\":{}}}",
+ "scores": [],
+ "corrections": [],
+ "latency": 1.82,
+ "observations": [
+ {
+ "id": "8ffb64580a84a3f0",
+ "traceId": "f68601af42c4a35e1d5e4699de569c1f",
+ "startTime": "2025-12-24T06:01:17.850Z",
+ "endTime": "2025-12-24T06:01:19.670Z",
+ "projectId": "cmjjlsmpf01q5ad083m5ud2p5",
+ "parentObservationId": null,
+ "type": "GENERATION",
+ "environment": "251216-langfuse-v3-test",
+ "name": "chat gemini-2.5-flash",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": null,
+ "createdAt": "2025-12-24T06:01:19.945Z",
+ "updatedAt": "2025-12-24T06:01:19.949Z",
+ "input": null,
+ "output": null,
+ "model": "gemini-2.5-flash",
+ "internalModelId": "cmcnjkfwn000107l43bf5e8ax",
+ "modelParameters": {},
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 1.82,
+ "timeToFirstToken": null,
+ "usageDetails": {
+ "input": 40,
+ "output": 159,
+ "total": 199
+ },
+ "costDetails": {
+ "input": 0.000012,
+ "output": 0.0003975,
+ "total": 0.0004095
+ },
+ "providedCostDetails": {},
+ "inputCost": 0.000012,
+ "outputCost": 0.0003975,
+ "totalCost": 0.0004095,
+ "inputUsage": 40,
+ "outputUsage": 159,
+ "totalUsage": 199,
+ "usagePricingTierId": "cmcnjkfwn000107l43bf5e8ax_tier_default",
+ "usagePricingTierName": "Standard",
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{}"
+ }
+ ]
+ },
+ "observations": [
+ {
+ "id": "8ffb64580a84a3f0",
+ "traceId": "f68601af42c4a35e1d5e4699de569c1f",
+ "startTime": "2025-12-24T06:01:17.850Z",
+ "endTime": "2025-12-24T06:01:19.670Z",
+ "projectId": "cmjjlsmpf01q5ad083m5ud2p5",
+ "parentObservationId": null,
+ "type": "GENERATION",
+ "environment": "251216-langfuse-v3-test",
+ "name": "chat gemini-2.5-flash",
+ "level": "DEFAULT",
+ "statusMessage": null,
+ "version": null,
+ "createdAt": "2025-12-24T06:01:19.945Z",
+ "updatedAt": "2025-12-24T06:01:19.949Z",
+ "input": "[{\"role\": \"user\", \"parts\": [{\"type\": \"text\", \"content\": \"what is 1+1?\\nOutput format:\\n```json\\n{\\n \\\"answer\\\": your answer,\\n \\\"rationale\\\": \\\"explanation for answer\\\"\\n}\\n```\"}]}]",
+ "output": "[{\"role\": \"assistant\", \"parts\": [{\"type\": \"text\", \"content\": \"{\\\"answer\\\": \\\"2\\\", \\\"rationale\\\": \\\"The operation 1+1 is a basic arithmetic addition. Adding the integer 1 to itself results in the integer 2.\\\"}\"}], \"finish_reason\": \"stop\"}]",
+ "model": "gemini-2.5-flash",
+ "internalModelId": "cmcnjkfwn000107l43bf5e8ax",
+ "modelParameters": {},
+ "completionStartTime": null,
+ "promptId": null,
+ "promptName": null,
+ "promptVersion": null,
+ "latency": 1.82,
+ "timeToFirstToken": null,
+ "usageDetails": {
+ "input": 40,
+ "output": 159,
+ "total": 199
+ },
+ "costDetails": {
+ "input": 0.000012,
+ "output": 0.0003975,
+ "total": 0.0004095
+ },
+ "providedCostDetails": {},
+ "inputCost": 0.000012,
+ "outputCost": 0.0003975,
+ "totalCost": 0.0004095,
+ "inputUsage": 40,
+ "outputUsage": 159,
+ "totalUsage": 199,
+ "usagePricingTierId": "cmcnjkfwn000107l43bf5e8ax_tier_default",
+ "usagePricingTierName": "Standard",
+ "toolDefinitions": {},
+ "toolCalls": [],
+ "toolCallNames": [],
+ "metadata": "{\"attributes\":{\"gen_ai.operation.name\":\"chat\",\"gen_ai.system\":\"google-gla\",\"gen_ai.request.model\":\"gemini-2.5-flash\",\"server.address\":\"generativelanguage.googleapis.com\",\"model_request_parameters\":\"{\\\"function_tools\\\": [], \\\"builtin_tools\\\": [], \\\"output_mode\\\": \\\"native\\\", \\\"output_object\\\": {\\\"json_schema\\\": {\\\"properties\\\": {\\\"answer\\\": {\\\"type\\\": \\\"string\\\"}, \\\"rationale\\\": {\\\"type\\\": \\\"string\\\"}}, \\\"required\\\": [\\\"answer\\\", \\\"rationale\\\"], \\\"type\\\": \\\"object\\\"}, \\\"name\\\": null, \\\"description\\\": null, \\\"strict\\\": true}, \\\"output_tools\\\": [], \\\"allow_text_output\\\": true, \\\"allow_image_output\\\": false}\",\"logfire.json_schema\":\"{\\\"type\\\": \\\"object\\\", \\\"properties\\\": {\\\"gen_ai.input.messages\\\": {\\\"type\\\": \\\"array\\\"}, \\\"gen_ai.output.messages\\\": {\\\"type\\\": \\\"array\\\"}, \\\"model_request_parameters\\\": {\\\"type\\\": \\\"object\\\"}}}\",\"gen_ai.usage.input_tokens\":\"40\",\"gen_ai.usage.output_tokens\":\"159\",\"gen_ai.usage.details.thoughts_tokens\":\"121\",\"gen_ai.usage.details.text_prompt_tokens\":\"40\",\"gen_ai.response.model\":\"gemini-2.5-flash\",\"operation.cost\":\"0.0004095\",\"gen_ai.response.id\":\"r4FLad_IHojq1e8Pt6i7GA\",\"gen_ai.response.finish_reasons\":\"[\\\"stop\\\"]\"},\"resourceAttributes\":{\"telemetry.sdk.language\":\"python\",\"telemetry.sdk.name\":\"opentelemetry\",\"telemetry.sdk.version\":\"1.37.0\",\"langfuse.environment\":\"251216-langfuse-v3-test\",\"service.name\":\"unknown_service\"},\"scope\":{\"name\":\"pydantic-ai\",\"version\":\"1.11.0\",\"attributes\":{}}}",
+ "internalModel": "cmcnjkfwn000107l43bf5e8ax"
+ }
+ ]
+}
diff --git a/worker/src/__tests__/chatml/integration.test.ts b/worker/src/__tests__/chatml/integration.test.ts
index 7e16e82ae4..495ccf067a 100644
--- a/worker/src/__tests__/chatml/integration.test.ts
+++ b/worker/src/__tests__/chatml/integration.test.ts
@@ -520,8 +520,13 @@ describe("ChatML adaption tests against real observations", () => {
const expectedFile = traceFile.replace(/\.trace\.json$/, ".chatml.json");
const expectedFilePath = path.join(fileDir, expectedFile);
+ //in update mode, create the chatML file is needed
+ if (updateExpectedFilesOnFailure && !existsSync(expectedFilePath)) {
+ writeFileSync(expectedFilePath, JSON.stringify({}, null, 2), "utf-8");
+ }
let errorMessage = `File ${expectedFilePath} should exist`;
expect(existsSync(expectedFilePath), errorMessage).toBe(true);
+
const expectedContent = readFileSync(expectedFilePath, "utf-8");
const expected = JSON.parse(expectedContent) as Record<
string,
@@ -540,8 +545,10 @@ describe("ChatML adaption tests against real observations", () => {
for (const obs of observations) {
if (obs.input) {
const expectedInput = expected[obs.id]?.input;
- errorMessage = `Observation ${obs.id} should have an expected input`;
- expect(expectedInput, errorMessage).not.toBeUndefined();
+ if (!updateExpectedFilesOnFailure) {
+ errorMessage = `Observation ${obs.id} should have an expected input`;
+ expect(expectedInput, errorMessage).not.toBeUndefined();
+ }
const inResult = normalizeInput(deepParseJson(obs.input), {
metadata: deepParseJson(obs.metadata),
@@ -561,12 +568,13 @@ describe("ChatML adaption tests against real observations", () => {
);
else throw err;
}
- expect(normalizedInResult, errorMessage).toEqual(expectedInput);
}
if (obs.output) {
const expectedOutput = expected[obs.id]?.output;
- errorMessage = `Observation ${obs.id} should have an expected output`;
- expect(expectedOutput, errorMessage).not.toBeUndefined();
+ if (!updateExpectedFilesOnFailure) {
+ errorMessage = `Observation ${obs.id} should have an expected output`;
+ expect(expectedOutput, errorMessage).not.toBeUndefined();
+ }
const outResult = normalizeOutput(deepParseJson(obs.output), {
metadata: deepParseJson(obs.metadata),