mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-29 01:03:17 +00:00
* feat(lens): consume the independent Lens service and shared UI * fix(lens): keep embedded setup stable and vendor UI before builds * chore(lens): pin embedded UI provenance to published Lens source * fix(lens): complete embedded UI extraction across CI builds * docs(lens): record latest main and removal-boundary validation * fix(lens): wire external chart credentials and ingestion modes * test(lens): cover adapter failures and fix extraction CI * docs(lens): refresh bundled chart setup instructions * test(lens): restore gateway adapter test package marker * build(lens): pin clean-cut UI and supported storage chart * test(ui): await guardrail scope menu before checking options * perf(lens): omit unused trace-team lookup from product requests * docs(lens): record final-image adapter permission checks * test(lens): assert delegated investigation authorization * refactor(lens): remove copied trace runtime and preserve spend logging * test(lens): verify independent gateway image upgrades and outages * test(lens): pin the chart qualification database image * fix(lens): update embedded UI metadata filters * test: wait for Lens chart pod identity convergence * fix(e2e): select Lens chart pods by deployment ownership * fix(e2e): select Helm migration ownership for Lens upgrades * test(lens): retain migration Jobs through rollout assertions * docs(helm): require existing database for migration hooks * test(lens): qualify release boundaries with embedded navigation update * docs(lens): record browser qualification for embedded tabs * fix(lens): remove unrelated CI and guardrail test changes * test(lens): give qualification tenants unique key aliases * feat(lens): embed the latest canonical Lens interface * fix(lens): qualify split inference through the gateway * fix(lens): preserve scoped auth and isolate delegated credentials * chore(lens): remove unrelated documentation and lint changes * fix(lens): bound concurrent forwarding buffers through response delivery * fix(lens): preserve OAuth2 dispatch without inference policies * chore(lens): adopt current shared onboarding UI * fix(lens): refresh shared setup UI and review context * fix(lens): bound uploads before gateway authentication * docs(lens): remove extraction evidence from the gateway repo * docs(lens): refresh shared setup prompt for paired releases
553 lines
30 KiB
JSON
553 lines
30 KiB
JSON
{
|
|
"resourceSpans": [
|
|
{
|
|
"resource": {
|
|
"attributes": [
|
|
{
|
|
"key": "telemetry.sdk.language",
|
|
"value": {
|
|
"stringValue": "python"
|
|
}
|
|
},
|
|
{
|
|
"key": "telemetry.sdk.name",
|
|
"value": {
|
|
"stringValue": "opentelemetry"
|
|
}
|
|
},
|
|
{
|
|
"key": "telemetry.sdk.version",
|
|
"value": {
|
|
"stringValue": "1.45.0"
|
|
}
|
|
},
|
|
{
|
|
"key": "service.instance.id",
|
|
"value": {
|
|
"stringValue": "749f68a4-a242-411c-8b98-2f04e76440c7"
|
|
}
|
|
},
|
|
{
|
|
"key": "gen_ai.agent.name",
|
|
"value": {
|
|
"stringValue": "research_agent"
|
|
}
|
|
},
|
|
{
|
|
"key": "telemetry.auto.version",
|
|
"value": {
|
|
"stringValue": "0.66b0"
|
|
}
|
|
},
|
|
{
|
|
"key": "service.name",
|
|
"value": {
|
|
"stringValue": "unknown_service:python3"
|
|
}
|
|
}
|
|
]
|
|
},
|
|
"scopeSpans": [
|
|
{
|
|
"scope": {
|
|
"name": "openinference.instrumentation.llama_index",
|
|
"version": "4.5.4"
|
|
},
|
|
"spans": [
|
|
{
|
|
"traceId": "09d8bfab716aa7a077cf178a77abdce4",
|
|
"spanId": "54587196de83a2aa",
|
|
"parentSpanId": "a2fc2e42b9c1473c",
|
|
"name": "BaseWorkflowAgent.init_run",
|
|
"kind": 1,
|
|
"startTimeUnixNano": "1791061318589170000",
|
|
"endTimeUnixNano": "1791061318634027000",
|
|
"attributes": [
|
|
{
|
|
"key": "input.value",
|
|
"value": {
|
|
"stringValue": "{\"ctx\": \"<workflows.context.context.Context object at 0x10bc907d0>\", \"ev\": \"AgentWorkflowStartEvent()\"}"
|
|
}
|
|
},
|
|
{
|
|
"key": "input.mime_type",
|
|
"value": {
|
|
"stringValue": "application/json"
|
|
}
|
|
},
|
|
{
|
|
"key": "output.value",
|
|
"value": {
|
|
"stringValue": "AgentInput(input=[ChatMessage(role=<MessageRole.USER: 'user'>, additional_kwargs={}, blocks=[TextBlock(block_type='text', text='What is an agent trace?')])], current_agent_name='research_agent')"
|
|
}
|
|
},
|
|
{
|
|
"key": "output.mime_type",
|
|
"value": {
|
|
"stringValue": "text/plain"
|
|
}
|
|
},
|
|
{
|
|
"key": "openinference.span.kind",
|
|
"value": {
|
|
"stringValue": "CHAIN"
|
|
}
|
|
}
|
|
],
|
|
"status": {
|
|
"code": 1
|
|
},
|
|
"flags": 256
|
|
},
|
|
{
|
|
"traceId": "09d8bfab716aa7a077cf178a77abdce4",
|
|
"spanId": "5744c4b1fdc04353",
|
|
"parentSpanId": "a2fc2e42b9c1473c",
|
|
"name": "BaseWorkflowAgent.setup_agent",
|
|
"kind": 1,
|
|
"startTimeUnixNano": "1791061318634555000",
|
|
"endTimeUnixNano": "1791061318634735000",
|
|
"attributes": [
|
|
{
|
|
"key": "input.value",
|
|
"value": {
|
|
"stringValue": "{\"ctx\": \"<workflows.context.context.Context object at 0x10b972060>\", \"ev\": \"AgentInput(input=[ChatMessage(role=<MessageRole.USER: 'user'>, additional_kwargs={}, blocks=[TextBlock(block_type='text', text='What is an agent trace?')])], current_agent_name='research_agent')\"}"
|
|
}
|
|
},
|
|
{
|
|
"key": "input.mime_type",
|
|
"value": {
|
|
"stringValue": "application/json"
|
|
}
|
|
},
|
|
{
|
|
"key": "output.value",
|
|
"value": {
|
|
"stringValue": "AgentSetup(input=[ChatMessage(role=<MessageRole.USER: 'user'>, additional_kwargs={}, blocks=[TextBlock(block_type='text', text='What is an agent trace?')])], current_agent_name='research_agent')"
|
|
}
|
|
},
|
|
{
|
|
"key": "output.mime_type",
|
|
"value": {
|
|
"stringValue": "text/plain"
|
|
}
|
|
},
|
|
{
|
|
"key": "openinference.span.kind",
|
|
"value": {
|
|
"stringValue": "CHAIN"
|
|
}
|
|
}
|
|
],
|
|
"status": {
|
|
"code": 1
|
|
},
|
|
"flags": 256
|
|
},
|
|
{
|
|
"traceId": "09d8bfab716aa7a077cf178a77abdce4",
|
|
"spanId": "80c2ccfeafad686c",
|
|
"parentSpanId": "11925e4853324bb6",
|
|
"name": "OpenAILike._prepare_chat_with_tools",
|
|
"kind": 1,
|
|
"startTimeUnixNano": "1791061318635388000",
|
|
"endTimeUnixNano": "1791061318635673000",
|
|
"attributes": [
|
|
{
|
|
"key": "llm.model_name",
|
|
"value": {
|
|
"stringValue": "openai/gpt-6-luna"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.invocation_parameters",
|
|
"value": {
|
|
"stringValue": "{\"context_window\":3900,\"num_output\":-1,\"is_chat_model\":true,\"is_function_calling_model\":true,\"model_name\":\"openai/gpt-6-luna\"}"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.provider",
|
|
"value": {
|
|
"stringValue": "openai"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.system",
|
|
"value": {
|
|
"stringValue": "openai"
|
|
}
|
|
},
|
|
{
|
|
"key": "input.value",
|
|
"value": {
|
|
"stringValue": "{\"tools\": [], \"user_msg\": null, \"chat_history\": [\"ChatMessage(role=<MessageRole.USER: 'user'>, additional_kwargs={}, blocks=[TextBlock(block_type='text', text='What is an agent trace?')])\"], \"verbose\": false, \"allow_parallel_tool_calls\": true, \"tool_required\": false}"
|
|
}
|
|
},
|
|
{
|
|
"key": "input.mime_type",
|
|
"value": {
|
|
"stringValue": "application/json"
|
|
}
|
|
},
|
|
{
|
|
"key": "output.value",
|
|
"value": {
|
|
"stringValue": "{\"messages\": [\"ChatMessage(role=<MessageRole.USER: 'user'>, additional_kwargs={}, blocks=[TextBlock(block_type='text', text='What is an agent trace?')])\"], \"tools\": null, \"tool_choice\": null}"
|
|
}
|
|
},
|
|
{
|
|
"key": "output.mime_type",
|
|
"value": {
|
|
"stringValue": "application/json"
|
|
}
|
|
},
|
|
{
|
|
"key": "openinference.span.kind",
|
|
"value": {
|
|
"stringValue": "LLM"
|
|
}
|
|
}
|
|
],
|
|
"status": {
|
|
"code": 1
|
|
},
|
|
"flags": 256
|
|
},
|
|
{
|
|
"traceId": "09d8bfab716aa7a077cf178a77abdce4",
|
|
"spanId": "96e19f1abe31d05f",
|
|
"parentSpanId": "ce9f00faf30e8880",
|
|
"name": "OpenAILike.achat",
|
|
"kind": 1,
|
|
"startTimeUnixNano": "1791061318635787000",
|
|
"endTimeUnixNano": "1791061321978416000",
|
|
"attributes": [
|
|
{
|
|
"key": "llm.model_name",
|
|
"value": {
|
|
"stringValue": "openai/gpt-6-luna"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.invocation_parameters",
|
|
"value": {
|
|
"stringValue": "{\"context_window\":3900,\"num_output\":-1,\"is_chat_model\":true,\"is_function_calling_model\":true,\"model_name\":\"openai/gpt-6-luna\"}"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.provider",
|
|
"value": {
|
|
"stringValue": "openai"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.system",
|
|
"value": {
|
|
"stringValue": "openai"
|
|
}
|
|
},
|
|
{
|
|
"key": "input.value",
|
|
"value": {
|
|
"stringValue": "{\"messages\": [\"ChatMessage(role=<MessageRole.USER: 'user'>, additional_kwargs={}, blocks=[TextBlock(block_type='text', text='What is an agent trace?')])\"], \"kwargs\": {\"tools\": null, \"tool_choice\": null}}"
|
|
}
|
|
},
|
|
{
|
|
"key": "input.mime_type",
|
|
"value": {
|
|
"stringValue": "application/json"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.input_messages.0.message.role",
|
|
"value": {
|
|
"stringValue": "user"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.input_messages.0.message.content",
|
|
"value": {
|
|
"stringValue": "What is an agent trace?"
|
|
}
|
|
},
|
|
{
|
|
"key": "output.value",
|
|
"value": {
|
|
"stringValue": "assistant: An **agent trace** is a record of the steps an AI agent took to complete a task. It may include the agent\u2019s inputs, decisions, tool calls, tool results, and final response.\n\nFor example, a trace might show that an agent:\n1. Received a question about the weather\n2. Called a weather service for a city\n3. Got the forecast\n4. Summarized it for the user\n\nTraces help people understand, debug, and evaluate an agent\u2019s behavior. The exact details recorded depend on the system; some traces omit internal reasoning and keep only observable actions and results."
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.prompt",
|
|
"value": {
|
|
"intValue": "12"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.prompt_details.cache_read",
|
|
"value": {
|
|
"intValue": "0"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.prompt_details.audio",
|
|
"value": {
|
|
"intValue": "0"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.completion",
|
|
"value": {
|
|
"intValue": "172"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.completion_details.reasoning",
|
|
"value": {
|
|
"intValue": "40"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.completion_details.audio",
|
|
"value": {
|
|
"intValue": "0"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.token_count.total",
|
|
"value": {
|
|
"intValue": "184"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.output_messages.0.message.role",
|
|
"value": {
|
|
"stringValue": "assistant"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.output_messages.0.message.content",
|
|
"value": {
|
|
"stringValue": "An **agent trace** is a record of the steps an AI agent took to complete a task. It may include the agent\u2019s inputs, decisions, tool calls, tool results, and final response.\n\nFor example, a trace might show that an agent:\n1. Received a question about the weather\n2. Called a weather service for a city\n3. Got the forecast\n4. Summarized it for the user\n\nTraces help people understand, debug, and evaluate an agent\u2019s behavior. The exact details recorded depend on the system; some traces omit internal reasoning and keep only observable actions and results."
|
|
}
|
|
},
|
|
{
|
|
"key": "openinference.span.kind",
|
|
"value": {
|
|
"stringValue": "LLM"
|
|
}
|
|
}
|
|
],
|
|
"status": {
|
|
"code": 1
|
|
},
|
|
"flags": 256
|
|
},
|
|
{
|
|
"traceId": "09d8bfab716aa7a077cf178a77abdce4",
|
|
"spanId": "ce9f00faf30e8880",
|
|
"parentSpanId": "11925e4853324bb6",
|
|
"name": "OpenAILike.achat",
|
|
"kind": 1,
|
|
"startTimeUnixNano": "1791061318635704000",
|
|
"endTimeUnixNano": "1791061321978645000",
|
|
"attributes": [
|
|
{
|
|
"key": "llm.model_name",
|
|
"value": {
|
|
"stringValue": "openai/gpt-6-luna"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.invocation_parameters",
|
|
"value": {
|
|
"stringValue": "{\"context_window\":3900,\"num_output\":-1,\"is_chat_model\":true,\"is_function_calling_model\":true,\"model_name\":\"openai/gpt-6-luna\"}"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.provider",
|
|
"value": {
|
|
"stringValue": "openai"
|
|
}
|
|
},
|
|
{
|
|
"key": "llm.system",
|
|
"value": {
|
|
"stringValue": "openai"
|
|
}
|
|
},
|
|
{
|
|
"key": "input.value",
|
|
"value": {
|
|
"stringValue": "{\"messages\": [\"ChatMessage(role=<MessageRole.USER: 'user'>, additional_kwargs={}, blocks=[TextBlock(block_type='text', text='What is an agent trace?')])\"], \"kwargs\": {\"tools\": null, \"tool_choice\": null}}"
|
|
}
|
|
},
|
|
{
|
|
"key": "input.mime_type",
|
|
"value": {
|
|
"stringValue": "application/json"
|
|
}
|
|
},
|
|
{
|
|
"key": "output.value",
|
|
"value": {
|
|
"stringValue": "{\"message\":{\"role\":\"assistant\",\"additional_kwargs\":{},\"blocks\":[{\"text\":\"An **agent trace** is a record of the steps an AI agent took to complete a task. It may include the agent\u2019s inputs, decisions, tool calls, tool results, and final response.\\n\\nFor example, a trace might show that an agent:\\n1. Received a question about the weather\\n2. Called a weather service for a city\\n3. Got the forecast\\n4. Summarized it for the user\\n\\nTraces help people understand, debug, and evaluate an agent\u2019s behavior. The exact details recorded depend on the system; some traces omit internal reasoning and keep only observable actions and results.\"}]},\"raw\":{\"id\":\"chatcmpl-EV19jEfCO0SY72VSv5R3IZoTd1Pp8\",\"choices\":[{\"finish_reason\":\"stop\",\"index\":0,\"message\":{\"content\":\"An **agent trace** is a record of the steps an AI agent took to complete a task. It may include the agent\u2019s inputs, decisions, tool calls, tool results, and final response.\\n\\nFor example, a trace might show that an agent:\\n1. Received a question about the weather\\n2. Called a weather service for a city\\n3. Got the forecast\\n4. Summarized it for the user\\n\\nTraces help people understand, debug, and evaluate an agent\u2019s behavior. The exact details recorded depend on the system; some traces omit internal reasoning and keep only observable actions and results.\",\"role\":\"assistant\",\"annotations\":[],\"provider_specific_fields\":{\"refusal\":null}},\"provider_specific_fields\":{}}],\"created\":1791061319,\"model\":\"openai/gpt-6-luna\",\"object\":\"chat.completion\",\"service_tier\":\"default\",\"usage\":{\"completion_tokens\":172,\"prompt_tokens\":12,\"total_tokens\":184,\"completion_tokens_details\":{\"accepted_prediction_tokens\":0,\"audio_tokens\":0,\"reasoning_tokens\":40,\"rejected_prediction_tokens\":0},\"prompt_tokens_details\":{\"audio_tokens\":0,\"cache_write_tokens\":0,\"cached_tokens\":0,\"cache_creation_tokens\":0}}},\"logprobs\":null,\"additional_kwargs\":{\"prompt_tokens\":12,\"completion_tokens\":172,\"total_tokens\":184}}"
|
|
}
|
|
},
|
|
{
|
|
"key": "output.mime_type",
|
|
"value": {
|
|
"stringValue": "application/json"
|
|
}
|
|
},
|
|
{
|
|
"key": "openinference.span.kind",
|
|
"value": {
|
|
"stringValue": "LLM"
|
|
}
|
|
}
|
|
],
|
|
"status": {
|
|
"code": 1
|
|
},
|
|
"flags": 256
|
|
},
|
|
{
|
|
"traceId": "09d8bfab716aa7a077cf178a77abdce4",
|
|
"spanId": "11925e4853324bb6",
|
|
"parentSpanId": "a2fc2e42b9c1473c",
|
|
"name": "BaseWorkflowAgent.run_agent_step",
|
|
"kind": 1,
|
|
"startTimeUnixNano": "1791061318635218000",
|
|
"endTimeUnixNano": "1791061321978975000",
|
|
"attributes": [
|
|
{
|
|
"key": "input.value",
|
|
"value": {
|
|
"stringValue": "{\"ctx\": \"<workflows.context.context.Context object at 0x10b9723f0>\", \"ev\": \"AgentSetup(input=[ChatMessage(role=<MessageRole.USER: 'user'>, additional_kwargs={}, blocks=[TextBlock(block_type='text', text='What is an agent trace?')])], current_agent_name='research_agent')\"}"
|
|
}
|
|
},
|
|
{
|
|
"key": "input.mime_type",
|
|
"value": {
|
|
"stringValue": "application/json"
|
|
}
|
|
},
|
|
{
|
|
"key": "output.value",
|
|
"value": {
|
|
"stringValue": "AgentOutput(response=ChatMessage(role=<MessageRole.ASSISTANT: 'assistant'>, additional_kwargs={}, blocks=[TextBlock(block_type='text', text='An **agent trace** is a record of the steps an AI agent ..."
|
|
}
|
|
},
|
|
{
|
|
"key": "output.mime_type",
|
|
"value": {
|
|
"stringValue": "text/plain"
|
|
}
|
|
},
|
|
{
|
|
"key": "openinference.span.kind",
|
|
"value": {
|
|
"stringValue": "CHAIN"
|
|
}
|
|
}
|
|
],
|
|
"status": {
|
|
"code": 1
|
|
},
|
|
"flags": 256
|
|
},
|
|
{
|
|
"traceId": "09d8bfab716aa7a077cf178a77abdce4",
|
|
"spanId": "0f0191662e136960",
|
|
"parentSpanId": "a2fc2e42b9c1473c",
|
|
"name": "BaseWorkflowAgent.parse_agent_output",
|
|
"kind": 1,
|
|
"startTimeUnixNano": "1791061321979792000",
|
|
"endTimeUnixNano": "1791061321980786000",
|
|
"attributes": [
|
|
{
|
|
"key": "input.value",
|
|
"value": {
|
|
"stringValue": "{\"ctx\": \"<workflows.context.context.Context object at 0x10cfdfe30>\", \"ev\": \"AgentOutput(response=ChatMessage(role=<MessageRole.ASSISTANT: 'assistant'>, additional_kwargs={}, blocks=[TextBlock(block_type='text', text='An **agent trace** is a record of the steps an AI agent took to complete a task. It may include the agent\u2019s inputs, decisions, tool calls, tool results, and final response.\\\\n\\\\nFor example, a trace might show that an agent:\\\\n1. Received a question about the weather\\\\n2. Called a weather service for a city\\\\n3. Got the forecast\\\\n4. Summarized it for the user\\\\n\\\\nTraces help people understand, debug, and evaluate an agent\u2019s behavior. The exact details recorded depend on the system; some traces omit internal reasoning and keep only observable actions and results.')]), structured_response=None, current_agent_name='research_agent', raw={'id': 'chatcmpl-EV19jEfCO0SY72VSv5R3IZoTd1Pp8', 'choices': [{'finish_reason': 'stop', 'index': 0, 'logprobs': None, 'message': {'content': 'An **agent trace** is a record of the steps an AI agent took to complete a task. It may include the agent\u2019s inputs, decisions, tool calls, tool results, and final response.\\\\n\\\\nFor example, a trace might show that an agent:\\\\n1. Received a question about the weather\\\\n2. Called a weather service for a city\\\\n3. Got the forecast\\\\n4. Summarized it for the user\\\\n\\\\nTraces help people understand, debug, and evaluate an agent\u2019s behavior. The exact details recorded depend on the system; some traces omit internal reasoning and keep only observable actions and results.', 'refusal': None, 'role': 'assistant', 'annotations': [], 'audio': None, 'function_call': None, 'tool_calls': None, 'provider_specific_fields': {'refusal': None}}, 'provider_specific_fields': {}}], 'created': 1791061319, 'model': 'openai/gpt-6-luna', 'object': 'chat.completion', 'moderation': None, 'service_tier': 'default', 'system_fingerprint': None, 'usage': {'completion_tokens': 172, 'prompt_tokens': 12, 'total_tokens': 184, 'completion_tokens_details': {'accepted_prediction_tokens': 0, 'audio_tokens': 0, 'reasoning_tokens': 40, 'rejected_prediction_tokens': 0}, 'prompt_tokens_details': {'audio_tokens': 0, 'cache_write_tokens': 0, 'cached_tokens': 0, 'cache_creation_tokens': 0}}}, tool_calls=[], retry_messages=[])\"}"
|
|
}
|
|
},
|
|
{
|
|
"key": "input.mime_type",
|
|
"value": {
|
|
"stringValue": "application/json"
|
|
}
|
|
},
|
|
{
|
|
"key": "output.value",
|
|
"value": {
|
|
"stringValue": "StopEvent(result=AgentOutput(response=ChatMessage(role=<MessageRole.ASSISTANT: 'assistant'>, additional_kwargs={}, blocks=[TextBlock(block_type='text', text='An **agent trace** is a record of the s..."
|
|
}
|
|
},
|
|
{
|
|
"key": "output.mime_type",
|
|
"value": {
|
|
"stringValue": "text/plain"
|
|
}
|
|
},
|
|
{
|
|
"key": "openinference.span.kind",
|
|
"value": {
|
|
"stringValue": "CHAIN"
|
|
}
|
|
}
|
|
],
|
|
"status": {
|
|
"code": 1
|
|
},
|
|
"flags": 256
|
|
},
|
|
{
|
|
"traceId": "09d8bfab716aa7a077cf178a77abdce4",
|
|
"spanId": "a2fc2e42b9c1473c",
|
|
"name": "FunctionAgent.run",
|
|
"kind": 1,
|
|
"startTimeUnixNano": "1791061318588070000",
|
|
"endTimeUnixNano": "1791061321981142000",
|
|
"attributes": [
|
|
{
|
|
"key": "input.value",
|
|
"value": {
|
|
"stringValue": "{\"init_state\": {\"is_running\": false, \"config\": {\"steps\": {\"aggregate_tool_results\": {\"accepted_events\": [\"<ToolCallResult(*, tool_name: str, tool_kwargs: dict, tool_id: str, tool_output: llama_index.core.tools.types.ToolOutput, return_direct: bool) -> None>\"], \"retry_policy\": null, \"num_workers\": 4, \"accept_event_subclasses\": false, \"collection_param\": null, \"collect_params\": null, \"collection_policy\": null}, \"call_tool\": {\"accepted_events\": [\"<ToolCall(*, tool_name: str, tool_kwargs: dict, tool_id: str) -> None>\"], \"retry_policy\": null, \"num_workers\": 4, \"accept_event_subclasses\": false, \"collection_param\": null, \"collect_params\": null, \"collection_policy\": null}, \"init_run\": {\"accepted_events\": [\"<AgentWorkflowStartEvent() -> None>\"], \"retry_policy\": null, \"num_workers\": 4, \"accept_event_subclasses\": false, \"collection_param\": null, \"collect_params\": null, \"collection_policy\": null}, \"parse_agent_output\": {\"accepted_events\": [\"<AgentOutput(*, response: llama_index.core.base.llms.types.ChatMessage, structured_response: Optional[Dict[str, Any]] = None, current_agent_name: str, raw: Optional[Any] = None, tool_calls: list[llama_index.core.llms.llm.ToolSelection] = <factory>, retry_messages: list[llama_index.core.base.llms.types.ChatMessage] = <factory>) -> None>\"], \"retry_policy\": null, \"num_workers\": 4, \"accept_event_subclasses\": false, \"collection_param\": null, \"collect_params\": null, \"collection_policy\": null}, \"run_agent_step\": {\"accepted_events\": [\"<AgentSetup(*, input: list[llama_index.core.base.llms.types.ChatMessage], current_agent_name: str) -> None>\"], \"retry_policy\": null, \"num_workers\": 4, \"accept_event_subclasses\": false, \"collection_param\": null, \"collect_params\": null, \"collection_policy\": null}, \"setup_agent\": {\"accepted_events\": [\"<AgentInput(*, input: list[llama_index.core.base.llms.types.ChatMessage], current_agent_name: str) -> None>\"], \"retry_policy\": null, \"num_workers\": 4, \"accept_event_subclasses\": false, \"collection_param\": null, \"collect_params\": null, \"collection_policy\": null}}, \"timeout\": null, \"catch_error_handlers\": {}, \"handler_for_step\": {}, \"collection_bindings\": {}}, \"workers\": {\"aggregate_tool_results\": {\"queue\": [], \"config\": {\"accepted_events\": [\"<ToolCallResult(*, tool_name: str, tool_kwargs: dict, tool_id: str, tool_output: llama_index.core.tools.types.ToolOutput, return_direct: bool) -> None>\"], \"retry_policy\": null, \"num_workers\": 4, \"accept_event_subclasses\": false, \"collection_param\": null, \"collect_params\": null, \"collection_policy\": null}, \"in_progress\": [], \"collected_events\": {}, \"collected_waiters\": [], \"static_collect_events\": []}, \"call_tool\": {\"queue\": [], \"config\": {\"accepted_events\": [\"<ToolCall(*, tool_name: str, tool_kwargs: dict, tool_id: str) -> None>\"], \"retry_policy\": null, \"num_workers\": 4, \"accept_event_subclasses\": false, \"collection_param\": null, \"collect_params\": null, \"collection_policy\": null}, \"in_progress\": [], \"collected_events\": {}, \"collected_waiters\": [], \"static_collect_events\": []}, \"init_run\": {\"queue\": [], \"config\": {\"accepted_events\": [\"<AgentWorkflowStartEvent() -> None>\"], \"retry_policy\": null, \"num_workers\": 4, \"accept_event_subclasses\": false, \"collection_param\": null, \"collect_params\": null, \"collection_policy\": null}, \"in_progress\": [], \"collected_events\": {}, \"collected_waiters\": [], \"static_collect_events\": []}, \"parse_agent_output\": {\"queue\": [], \"config\": {\"accepted_events\": [\"<AgentOutput(*, response: llama_index.core.base.llms.types.ChatMessage, structured_response: Optional[Dict[str, Any]] = None, current_agent_name: str, raw: Optional[Any] = None, tool_calls: list[llama_index.core.llms.llm.ToolSelection] = <factory>, retry_messages: list[llama_index.core.base.llms.types.ChatMessage] = <factory>) -> None>\"], \"retry_policy\": null, \"num_workers\": 4, \"accept_event_subclasses\": false, \"collection_param\": null, \"collect_params\": null, \"collection_policy\": null}, \"in_progress\": [], \"collected_events\": {}, \"collected_waiters\": [], \"static_collect_events\": []}, \"run_agent_step\": {\"queue\": [], \"config\": {\"accepted_events\": [\"<AgentSetup(*, input: list[llama_index.core.base.llms.types.ChatMessage], current_agent_name: str) -> None>\"], \"retry_policy\": null, \"num_workers\": 4, \"accept_event_subclasses\": false, \"collection_param\": null, \"collect_params\": null, \"collection_policy\": null}, \"in_progress\": [], \"collected_events\": {}, \"collected_waiters\": [], \"static_collect_events\": []}, \"setup_agent\": {\"queue\": [], \"config\": {\"accepted_events\": [\"<AgentInput(*, input: list[llama_index.core.base.llms.types.ChatMessage], current_agent_name: str) -> None>\"], \"retry_policy\": null, \"num_workers\": 4, \"accept_event_subclasses\": false, \"collection_param\": null, \"collect_params\": null, \"collection_policy\": null}, \"in_progress\": [], \"collected_events\": {}, \"collected_waiters\": [], \"static_collect_events\": []}}, \"stream_seq\": 0, \"work_item_seq\": 0, \"streams\": {}, \"collection_release_states\": {}, \"children\": {}, \"elapsed_alive\": 0.0, \"last_alive_stamp\": null}, \"start_event\": \"AgentWorkflowStartEvent()\", \"tags\": {\"instrument_tags\": {\"llamaindex.run_id\": \"8OyCfEsvjE\"}}}"
|
|
}
|
|
},
|
|
{
|
|
"key": "input.mime_type",
|
|
"value": {
|
|
"stringValue": "application/json"
|
|
}
|
|
},
|
|
{
|
|
"key": "output.value",
|
|
"value": {
|
|
"stringValue": "StopEvent(result=AgentOutput(response=ChatMessage(role=<MessageRole.ASSISTANT: 'assistant'>, additional_kwargs={}, blocks=[TextBlock(block_type='text', text='An **agent trace** is a record of the s..."
|
|
}
|
|
},
|
|
{
|
|
"key": "output.mime_type",
|
|
"value": {
|
|
"stringValue": "text/plain"
|
|
}
|
|
},
|
|
{
|
|
"key": "openinference.span.kind",
|
|
"value": {
|
|
"stringValue": "CHAIN"
|
|
}
|
|
}
|
|
],
|
|
"status": {
|
|
"code": 1
|
|
},
|
|
"flags": 256
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|
|
]
|
|
}
|