mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
03ce685ae6
llamaindex, mastra, pydantic-ai, spring-ai, strands, built-in-agent Adds per-integration D6 fixtures across 10 additional showcase integrations, completing coverage for all 18 integrations.
38 lines
1.2 KiB
JSON
38 lines
1.2 KiB
JSON
{
|
|
"_meta": {
|
|
"description": "D6 fixtures for langroid / tool-rendering-default-catchall",
|
|
"sourceScript": "d5-tool-rendering-default-catchall.ts",
|
|
"created": "2026-05-22"
|
|
},
|
|
"fixtures": [
|
|
{
|
|
"_comment": "Default catchall turn: weather in Tokyo \u2014 emits get_weather tool call. The built-in CopilotKit default renderer (copilot-tool-render testid) fires for unhandled tools. hasToolResult:false on first leg.",
|
|
"match": {
|
|
"userMessage": "check Tokyo weather forecast",
|
|
"hasToolResult": false,
|
|
"context": "langroid"
|
|
},
|
|
"response": {
|
|
"toolCalls": [
|
|
{
|
|
"id": "call_d6_lr_dc_weather_001",
|
|
"name": "get_weather",
|
|
"arguments": "{\"location\":\"Tokyo\"}"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
{
|
|
"_comment": "Default catchall turn: weather in Tokyo \u2014 follow-up after tool result.",
|
|
"match": {
|
|
"userMessage": "check Tokyo weather forecast",
|
|
"hasToolResult": true,
|
|
"context": "langroid"
|
|
},
|
|
"response": {
|
|
"content": "Tokyo is 22\u00b0C and partly cloudy with light easterly winds."
|
|
}
|
|
}
|
|
]
|
|
}
|