100 lines
2.3 KiB
JSON
100 lines
2.3 KiB
JSON
[
|
|
{
|
|
"type": "start_chunk",
|
|
"msg_id": "S-001",
|
|
"project_id": "1",
|
|
"sender_agent_type": "AI",
|
|
"sender_id": "gemini-2.5-flash",
|
|
"task_id": "task-1-S001",
|
|
"content": null,
|
|
"ai_message": {
|
|
"model": "gemini-2.5-flash",
|
|
"content": "",
|
|
"reasoning_content": "",
|
|
"tool_calls": [
|
|
{
|
|
"id": "tool-S001-1",
|
|
"type": "function",
|
|
"function": {
|
|
"name": "get_weather",
|
|
"arguments": ""
|
|
}
|
|
}
|
|
],
|
|
"usage": {}
|
|
},
|
|
"tool_call": null,
|
|
"timestamp": "2025-10-13T14:00:00.200000",
|
|
"metadata": {
|
|
"session_type": "tool_use"
|
|
}
|
|
},
|
|
{
|
|
"type": "content_chunk",
|
|
"msg_id": "S-001",
|
|
"project_id": "1",
|
|
"sender_agent_type": "AI",
|
|
"sender_id": "gemini-2.5-flash",
|
|
"task_id": "task-1-S001",
|
|
"content": "{\"text\":\"正在为用户\"}",
|
|
"ai_message": {},
|
|
"tool_call": null,
|
|
"timestamp": "2025-10-13T14:00:00.600000",
|
|
"metadata": {
|
|
"session_type": "tool_use"
|
|
}
|
|
},
|
|
{
|
|
"type": "content_chunk",
|
|
"msg_id": "S-001",
|
|
"project_id": "1",
|
|
"sender_agent_type": "AI",
|
|
"sender_id": "gemini-2.5-flash",
|
|
"task_id": "task-2-S002",
|
|
"content": "{\"text\":\"项目2的流式内容\"}",
|
|
"ai_message": {},
|
|
"tool_call": null,
|
|
"timestamp": "2025-10-13T14:00:00.700000",
|
|
"metadata": {
|
|
"session_type": "text_only"
|
|
}
|
|
},
|
|
{
|
|
"type": "content_chunk",
|
|
"msg_id": "S-001",
|
|
"project_id": "1",
|
|
"sender_agent_type": "AI",
|
|
"sender_id": "gemini-2.5-flash",
|
|
"task_id": "task-1-S003",
|
|
"content": "{\"text\":\"这是第一个部分\"}",
|
|
"ai_message": {},
|
|
"tool_call": null,
|
|
"timestamp": "2025-10-13T14:00:00.800000",
|
|
"metadata": {
|
|
"session_type": "reasoning_first"
|
|
}
|
|
},
|
|
{
|
|
"type": "finish_chunk",
|
|
"msg_id": "S-001",
|
|
"project_id": "1",
|
|
"sender_agent_type": "AI",
|
|
"sender_id": "gemini-2.5-flash",
|
|
"task_id": "task-1-S001",
|
|
"content": null,
|
|
"ai_message": {
|
|
"model": "gemini-2.5-flash",
|
|
"usage": {
|
|
"model": "gemini-2.5-flash",
|
|
"prompt_tokens": 120,
|
|
"completion_tokens": 55,
|
|
"total_tokens": 175
|
|
}
|
|
},
|
|
"tool_call": null,
|
|
"timestamp": "2025-10-13T14:00:01.800000",
|
|
"metadata": {
|
|
"session_type": "tool_use"
|
|
}
|
|
}
|
|
] |