Files
2026-07-13 13:32:05 +08:00

784 lines
24 KiB
JSON

{
"uuid": "4045dfe6-e8d8-469f-bd89-fcb9788f5835",
"baseSpans": [
{
"uuid": "019d0517-78b5-7393-80ec-2f5f12904116",
"name": "LangGraph",
"status": "SUCCESS",
"type": "base",
"startTime": "2026-03-19T07:55:17.557Z",
"endTime": "2026-03-19T07:55:20.379Z",
"input": {
"messages": [
{
"content": "What's the stock price of MSFT?",
"additional_kwargs": {},
"response_metadata": {},
"type": "human",
"id": "8bd98f9b-fce4-4f76-9409-141a917b5051"
}
]
},
"output": {
"messages": [
{
"content": "What's the stock price of MSFT?",
"additional_kwargs": {},
"response_metadata": {},
"type": "human",
"id": "8bd98f9b-fce4-4f76-9409-141a917b5051"
},
{
"content": "",
"additional_kwargs": {},
"response_metadata": {
"finish_reason": "tool_calls",
"model_name": "gpt-5.4-mini-2025-08-07",
"service_tier": "default",
"model_provider": "openai"
},
"type": "ai",
"id": "lc_run--019d0517-78b6-7043-829c-b50ac9670354",
"tool_calls": [
{
"name": "get_stock_price",
"args": {
"symbol": "MSFT"
},
"id": "call_GBrlvArfJ0mDGcvGaE12aznG",
"type": "tool_call"
}
],
"invalid_tool_calls": [],
"usage_metadata": {
"input_tokens": 160,
"output_tokens": 89,
"total_tokens": 249,
"input_token_details": {
"audio": 0,
"cache_read": 0
},
"output_token_details": {
"audio": 0,
"reasoning": 64
}
}
},
{
"content": "$378.90 (+0.8%)",
"additional_kwargs": {},
"response_metadata": {},
"type": "tool",
"name": "get_stock_price",
"id": "b940109d-8c39-4ecc-9a93-fd7efd064815",
"tool_call_id": "call_GBrlvArfJ0mDGcvGaE12aznG",
"status": "success"
},
{
"content": "The current price of MSFT is $378.90 (up 0.8%).",
"additional_kwargs": {},
"response_metadata": {
"finish_reason": "stop",
"model_name": "gpt-5.4-mini-2025-08-07",
"service_tier": "default",
"model_provider": "openai"
},
"type": "ai",
"id": "lc_run--019d0517-7f9a-7e71-ab69-141d31b7353e",
"tool_calls": [],
"invalid_tool_calls": [],
"usage_metadata": {
"input_tokens": 200,
"output_tokens": 21,
"total_tokens": 221,
"input_token_details": {
"audio": 0,
"cache_read": 0
},
"output_token_details": {
"audio": 0,
"reasoning": 0
}
}
}
]
},
"integration": "LangChain"
},
{
"uuid": "019d0517-7f9a-7e71-ab69-140a0ab5c03d",
"name": "agent",
"status": "SUCCESS",
"type": "base",
"parentUuid": "019d0517-78b5-7393-80ec-2f5f12904116",
"startTime": "2026-03-19T07:55:19.322Z",
"endTime": "2026-03-19T07:55:20.378Z",
"input": {
"messages": [
{
"content": "What's the stock price of MSFT?",
"additional_kwargs": {},
"response_metadata": {},
"type": "human",
"id": "8bd98f9b-fce4-4f76-9409-141a917b5051"
},
{
"content": "",
"additional_kwargs": {},
"response_metadata": {
"finish_reason": "tool_calls",
"model_name": "gpt-5.4-mini-2025-08-07",
"service_tier": "default",
"model_provider": "openai"
},
"type": "ai",
"id": "lc_run--019d0517-78b6-7043-829c-b50ac9670354",
"tool_calls": [
{
"name": "get_stock_price",
"args": {
"symbol": "MSFT"
},
"id": "call_GBrlvArfJ0mDGcvGaE12aznG",
"type": "tool_call"
}
],
"invalid_tool_calls": [],
"usage_metadata": {
"input_tokens": 160,
"output_tokens": 89,
"total_tokens": 249,
"input_token_details": {
"audio": 0,
"cache_read": 0
},
"output_token_details": {
"audio": 0,
"reasoning": 64
}
}
},
{
"content": "$378.90 (+0.8%)",
"additional_kwargs": {},
"response_metadata": {},
"type": "tool",
"name": "get_stock_price",
"id": "b940109d-8c39-4ecc-9a93-fd7efd064815",
"tool_call_id": "call_GBrlvArfJ0mDGcvGaE12aznG",
"status": "success"
}
]
},
"output": {
"messages": [
{
"content": "The current price of MSFT is $378.90 (up 0.8%).",
"additional_kwargs": {},
"response_metadata": {
"finish_reason": "stop",
"model_name": "gpt-5.4-mini-2025-08-07",
"service_tier": "default",
"model_provider": "openai"
},
"type": "ai",
"id": "lc_run--019d0517-7f9a-7e71-ab69-141d31b7353e",
"tool_calls": [],
"invalid_tool_calls": [],
"usage_metadata": {
"input_tokens": 200,
"output_tokens": 21,
"total_tokens": 221,
"input_token_details": {
"audio": 0,
"cache_read": 0
},
"output_token_details": {
"audio": 0,
"reasoning": 0
}
}
}
]
},
"integration": "LangChain"
},
{
"uuid": "019d0517-83ba-70c2-8f8b-680627c8dc7f",
"name": "should_continue",
"status": "SUCCESS",
"type": "base",
"parentUuid": "019d0517-7f9a-7e71-ab69-140a0ab5c03d",
"startTime": "2026-03-19T07:55:20.378Z",
"endTime": "2026-03-19T07:55:20.378Z",
"input": {
"messages": [
{
"content": "What's the stock price of MSFT?",
"additional_kwargs": {},
"response_metadata": {},
"type": "human",
"id": "8bd98f9b-fce4-4f76-9409-141a917b5051"
},
{
"content": "",
"additional_kwargs": {},
"response_metadata": {
"finish_reason": "tool_calls",
"model_name": "gpt-5.4-mini-2025-08-07",
"service_tier": "default",
"model_provider": "openai"
},
"type": "ai",
"id": "lc_run--019d0517-78b6-7043-829c-b50ac9670354",
"tool_calls": [
{
"name": "get_stock_price",
"args": {
"symbol": "MSFT"
},
"id": "call_GBrlvArfJ0mDGcvGaE12aznG",
"type": "tool_call"
}
],
"invalid_tool_calls": [],
"usage_metadata": {
"input_tokens": 160,
"output_tokens": 89,
"total_tokens": 249,
"input_token_details": {
"audio": 0,
"cache_read": 0
},
"output_token_details": {
"audio": 0,
"reasoning": 64
}
}
},
{
"content": "$378.90 (+0.8%)",
"additional_kwargs": {},
"response_metadata": {},
"type": "tool",
"name": "get_stock_price",
"id": "b940109d-8c39-4ecc-9a93-fd7efd064815",
"tool_call_id": "call_GBrlvArfJ0mDGcvGaE12aznG",
"status": "success"
},
{
"content": "The current price of MSFT is $378.90 (up 0.8%).",
"additional_kwargs": {},
"response_metadata": {
"finish_reason": "stop",
"model_name": "gpt-5.4-mini-2025-08-07",
"service_tier": "default",
"model_provider": "openai"
},
"type": "ai",
"id": "lc_run--019d0517-7f9a-7e71-ab69-141d31b7353e",
"tool_calls": [],
"invalid_tool_calls": [],
"usage_metadata": {
"input_tokens": 200,
"output_tokens": 21,
"total_tokens": 221,
"input_token_details": {
"audio": 0,
"cache_read": 0
},
"output_token_details": {
"audio": 0,
"reasoning": 0
}
}
}
]
},
"output": "__end__",
"integration": "LangChain"
},
{
"uuid": "019d0517-7f97-7241-8d61-81a75b12f715",
"name": "tools",
"status": "SUCCESS",
"type": "base",
"parentUuid": "019d0517-78b5-7393-80ec-2f5f12904116",
"startTime": "2026-03-19T07:55:19.319Z",
"endTime": "2026-03-19T07:55:19.321Z",
"input": {
"messages": [
{
"content": "What's the stock price of MSFT?",
"additional_kwargs": {},
"response_metadata": {},
"type": "human",
"id": "8bd98f9b-fce4-4f76-9409-141a917b5051"
},
{
"content": "",
"additional_kwargs": {},
"response_metadata": {
"finish_reason": "tool_calls",
"model_name": "gpt-5.4-mini-2025-08-07",
"service_tier": "default",
"model_provider": "openai"
},
"type": "ai",
"id": "lc_run--019d0517-78b6-7043-829c-b50ac9670354",
"tool_calls": [
{
"name": "get_stock_price",
"args": {
"symbol": "MSFT"
},
"id": "call_GBrlvArfJ0mDGcvGaE12aznG",
"type": "tool_call"
}
],
"invalid_tool_calls": [],
"usage_metadata": {
"input_tokens": 160,
"output_tokens": 89,
"total_tokens": 249,
"input_token_details": {
"audio": 0,
"cache_read": 0
},
"output_token_details": {
"audio": 0,
"reasoning": 64
}
}
}
]
},
"output": {
"messages": [
{
"content": "$378.90 (+0.8%)",
"additional_kwargs": {},
"response_metadata": {},
"type": "tool",
"name": "get_stock_price",
"id": "b940109d-8c39-4ecc-9a93-fd7efd064815",
"tool_call_id": "call_GBrlvArfJ0mDGcvGaE12aznG",
"status": "success"
}
]
},
"toolsCalled": [
{
"name": "get_stock_price",
"output": {
"content": "$378.90 (+0.8%)",
"additional_kwargs": {},
"response_metadata": {},
"type": "tool",
"name": "get_stock_price",
"id": "b940109d-8c39-4ecc-9a93-fd7efd064815",
"tool_call_id": "call_GBrlvArfJ0mDGcvGaE12aznG",
"status": "success"
},
"inputParameters": {
"symbol": "MSFT"
}
}
],
"integration": "LangChain"
},
{
"uuid": "019d0517-78b5-7393-80ec-2f6de3b0caa5",
"name": "agent",
"status": "SUCCESS",
"type": "base",
"parentUuid": "019d0517-78b5-7393-80ec-2f5f12904116",
"startTime": "2026-03-19T07:55:17.557Z",
"endTime": "2026-03-19T07:55:19.318Z",
"input": {
"messages": [
{
"content": "What's the stock price of MSFT?",
"additional_kwargs": {},
"response_metadata": {},
"type": "human",
"id": "8bd98f9b-fce4-4f76-9409-141a917b5051"
}
]
},
"output": {
"messages": [
{
"content": "",
"additional_kwargs": {},
"response_metadata": {
"finish_reason": "tool_calls",
"model_name": "gpt-5.4-mini-2025-08-07",
"service_tier": "default",
"model_provider": "openai"
},
"type": "ai",
"id": "lc_run--019d0517-78b6-7043-829c-b50ac9670354",
"tool_calls": [
{
"name": "get_stock_price",
"args": {
"symbol": "MSFT"
},
"id": "call_GBrlvArfJ0mDGcvGaE12aznG",
"type": "tool_call"
}
],
"invalid_tool_calls": [],
"usage_metadata": {
"input_tokens": 160,
"output_tokens": 89,
"total_tokens": 249,
"input_token_details": {
"audio": 0,
"cache_read": 0
},
"output_token_details": {
"audio": 0,
"reasoning": 64
}
}
}
]
},
"integration": "LangChain"
},
{
"uuid": "019d0517-7f96-7082-b7a0-17c5acd4cd04",
"name": "should_continue",
"status": "SUCCESS",
"type": "base",
"parentUuid": "019d0517-78b5-7393-80ec-2f6de3b0caa5",
"startTime": "2026-03-19T07:55:19.318Z",
"endTime": "2026-03-19T07:55:19.318Z",
"input": {
"messages": [
{
"content": "What's the stock price of MSFT?",
"additional_kwargs": {},
"response_metadata": {},
"type": "human",
"id": "8bd98f9b-fce4-4f76-9409-141a917b5051"
},
{
"content": "",
"additional_kwargs": {},
"response_metadata": {
"finish_reason": "tool_calls",
"model_name": "gpt-5.4-mini-2025-08-07",
"service_tier": "default",
"model_provider": "openai"
},
"type": "ai",
"id": "lc_run--019d0517-78b6-7043-829c-b50ac9670354",
"tool_calls": [
{
"name": "get_stock_price",
"args": {
"symbol": "MSFT"
},
"id": "call_GBrlvArfJ0mDGcvGaE12aznG",
"type": "tool_call"
}
],
"invalid_tool_calls": [],
"usage_metadata": {
"input_tokens": 160,
"output_tokens": 89,
"total_tokens": 249,
"input_token_details": {
"audio": 0,
"cache_read": 0
},
"output_token_details": {
"audio": 0,
"reasoning": 64
}
}
}
]
},
"output": "tools",
"integration": "LangChain"
}
],
"agentSpans": [],
"llmSpans": [
{
"uuid": "019d0517-7f9a-7e71-ab69-141d31b7353e",
"name": "ChatOpenAI",
"status": "SUCCESS",
"type": "llm",
"parentUuid": "019d0517-7f9a-7e71-ab69-140a0ab5c03d",
"startTime": "2026-03-19T07:55:19.322Z",
"endTime": "2026-03-19T07:55:20.378Z",
"input": [
{
"role": "human",
"content": "What's the stock price of MSFT?"
},
{
"role": "ai",
"content": ""
},
{
"role": "tool",
"content": "$378.90 (+0.8%)"
},
{
"role": "Tool Input",
"content": "{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price for a ticker symbol.', 'parameters': {'properties': {'symbol': {'type': 'string'}}, 'required': ['symbol'], 'type': 'object'}}}"
},
{
"role": "Tool Input",
"content": "{'type': 'function', 'function': {'name': 'get_company_info', 'description': 'Get company information for a ticker symbol.', 'parameters': {'properties': {'symbol': {'type': 'string'}}, 'required': ['symbol'], 'type': 'object'}}}"
}
],
"output": {
"role": "AI",
"content": "The current price of MSFT is $378.90 (up 0.8%).",
"tool_calls": []
},
"model": "gpt-5.4-mini-2025-08-07",
"inputTokenCount": 200.0,
"outputTokenCount": 21.0,
"tokenIntervals": {
"2026-03-19T07:55:20.135969Z": "",
"2026-03-19T07:55:20.145282Z": "The",
"2026-03-19T07:55:20.145380Z": " current",
"2026-03-19T07:55:20.156797Z": " price",
"2026-03-19T07:55:20.156886Z": " of",
"2026-03-19T07:55:20.180105Z": " MS",
"2026-03-19T07:55:20.180203Z": "FT",
"2026-03-19T07:55:20.203837Z": " is",
"2026-03-19T07:55:20.203946Z": " $",
"2026-03-19T07:55:20.204885Z": "378",
"2026-03-19T07:55:20.204998Z": ".",
"2026-03-19T07:55:20.219693Z": "90",
"2026-03-19T07:55:20.219818Z": " (",
"2026-03-19T07:55:20.241617Z": "up",
"2026-03-19T07:55:20.241818Z": " ",
"2026-03-19T07:55:20.294539Z": "0",
"2026-03-19T07:55:20.294649Z": ".",
"2026-03-19T07:55:20.378229Z": "8",
"2026-03-19T07:55:20.378301Z": "%).",
"2026-03-19T07:55:20.378375Z": "",
"2026-03-19T07:55:20.378450Z": "",
"2026-03-19T07:55:20.378664Z": ""
},
"integration": "LangChain",
"provider": "OpenAI"
},
{
"uuid": "019d0517-78b6-7043-829c-b50ac9670354",
"name": "ChatOpenAI",
"status": "SUCCESS",
"type": "llm",
"parentUuid": "019d0517-78b5-7393-80ec-2f6de3b0caa5",
"startTime": "2026-03-19T07:55:17.558Z",
"endTime": "2026-03-19T07:55:19.318Z",
"input": [
{
"role": "human",
"content": "What's the stock price of MSFT?"
},
{
"role": "Tool Input",
"content": "{'type': 'function', 'function': {'name': 'get_stock_price', 'description': 'Get the current stock price for a ticker symbol.', 'parameters': {'properties': {'symbol': {'type': 'string'}}, 'required': ['symbol'], 'type': 'object'}}}"
},
{
"role": "Tool Input",
"content": "{'type': 'function', 'function': {'name': 'get_company_info', 'description': 'Get company information for a ticker symbol.', 'parameters': {'properties': {'symbol': {'type': 'string'}}, 'required': ['symbol'], 'type': 'object'}}}"
}
],
"output": {
"role": "AI",
"content": "",
"tool_calls": [
{
"name": "get_stock_price",
"args": {
"symbol": "MSFT"
},
"id": "call_GBrlvArfJ0mDGcvGaE12aznG"
}
]
},
"model": "gpt-5.4-mini-2025-08-07",
"inputTokenCount": 160.0,
"outputTokenCount": 89.0,
"tokenIntervals": {
"2026-03-19T07:55:19.252448Z": "",
"2026-03-19T07:55:19.257574Z": "",
"2026-03-19T07:55:19.258041Z": "",
"2026-03-19T07:55:19.274975Z": "",
"2026-03-19T07:55:19.275397Z": "",
"2026-03-19T07:55:19.287706Z": "",
"2026-03-19T07:55:19.288218Z": "",
"2026-03-19T07:55:19.305550Z": "",
"2026-03-19T07:55:19.306129Z": "",
"2026-03-19T07:55:19.317273Z": ""
},
"integration": "LangChain",
"provider": "OpenAI"
}
],
"retrieverSpans": [],
"toolSpans": [
{
"uuid": "019d0517-7f98-7072-96b7-c04a24b2bd94",
"name": "get_stock_price",
"status": "SUCCESS",
"type": "tool",
"parentUuid": "019d0517-7f97-7241-8d61-81a75b12f715",
"startTime": "2026-03-19T07:55:19.320Z",
"endTime": "2026-03-19T07:55:19.321Z",
"input": {
"symbol": "MSFT"
},
"output": {
"content": "$378.90 (+0.8%)",
"additional_kwargs": {},
"response_metadata": {},
"type": "tool",
"name": "get_stock_price",
"id": "b940109d-8c39-4ecc-9a93-fd7efd064815",
"tool_call_id": "call_GBrlvArfJ0mDGcvGaE12aznG",
"status": "success"
},
"integration": "LangChain"
}
],
"startTime": "2026-03-19T07:55:17.557Z",
"endTime": "2026-03-19T07:55:20.379Z",
"name": "langgraph-streaming-sync",
"metadata": {
"test_type": "streaming_sync"
},
"tags": [
"langgraph",
"streaming",
"sync"
],
"environment": "development",
"input": {
"messages": [
{
"content": "What's the stock price of MSFT?",
"additional_kwargs": {},
"response_metadata": {},
"type": "human",
"id": "8bd98f9b-fce4-4f76-9409-141a917b5051"
}
]
},
"output": {
"messages": [
{
"content": "What's the stock price of MSFT?",
"additional_kwargs": {},
"response_metadata": {},
"type": "human",
"id": "8bd98f9b-fce4-4f76-9409-141a917b5051"
},
{
"content": "",
"additional_kwargs": {},
"response_metadata": {
"finish_reason": "tool_calls",
"model_name": "gpt-5.4-mini-2025-08-07",
"service_tier": "default",
"model_provider": "openai"
},
"type": "ai",
"id": "lc_run--019d0517-78b6-7043-829c-b50ac9670354",
"tool_calls": [
{
"name": "get_stock_price",
"args": {
"symbol": "MSFT"
},
"id": "call_GBrlvArfJ0mDGcvGaE12aznG",
"type": "tool_call"
}
],
"invalid_tool_calls": [],
"usage_metadata": {
"input_tokens": 160,
"output_tokens": 89,
"total_tokens": 249,
"input_token_details": {
"audio": 0,
"cache_read": 0
},
"output_token_details": {
"audio": 0,
"reasoning": 64
}
}
},
{
"content": "$378.90 (+0.8%)",
"additional_kwargs": {},
"response_metadata": {},
"type": "tool",
"name": "get_stock_price",
"id": "b940109d-8c39-4ecc-9a93-fd7efd064815",
"tool_call_id": "call_GBrlvArfJ0mDGcvGaE12aznG",
"status": "success"
},
{
"content": "The current price of MSFT is $378.90 (up 0.8%).",
"additional_kwargs": {},
"response_metadata": {
"finish_reason": "stop",
"model_name": "gpt-5.4-mini-2025-08-07",
"service_tier": "default",
"model_provider": "openai"
},
"type": "ai",
"id": "lc_run--019d0517-7f9a-7e71-ab69-141d31b7353e",
"tool_calls": [],
"invalid_tool_calls": [],
"usage_metadata": {
"input_tokens": 200,
"output_tokens": 21,
"total_tokens": 221,
"input_token_details": {
"audio": 0,
"cache_read": 0
},
"output_token_details": {
"audio": 0,
"reasoning": 0
}
}
}
]
},
"status": "SUCCESS",
"toolsCalled": [
{
"name": "get_stock_price",
"output": {
"content": "$378.90 (+0.8%)",
"additional_kwargs": {},
"response_metadata": {},
"type": "tool",
"name": "get_stock_price",
"id": "b940109d-8c39-4ecc-9a93-fd7efd064815",
"tool_call_id": "call_GBrlvArfJ0mDGcvGaE12aznG",
"status": "success"
},
"inputParameters": {
"symbol": "MSFT"
}
}
]
}