Files
copilotkit__copilotkit/showcase/aimock/d6/llamaindex/tool-rendering-default-catchall.json
Jordan Ritter 03ce685ae6 feat(showcase-aimock): D6 fixtures for ag2, agno, crewai-crews, langroid,
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.
2026-05-26 14:02:18 -07:00

38 lines
1.4 KiB
JSON

{
"_meta": {
"description": "D6 fixtures for llamaindex / tool-rendering-default-catchall",
"sourceScript": "d5-tool-rendering-default-catchall.ts",
"created": "2026-05-22"
},
"fixtures": [
{
"_comment": "tool-rendering-default-catchall \u2014 weather in Tokyo follow-up after get_weather tool result. The built-in default catchall renderer renders [data-testid='copilot-tool-render'] with [data-tool-name='get_weather']. Must come BEFORE the tool-emitting fixture (first-match-wins).",
"match": {
"userMessage": "check Tokyo weather forecast",
"toolCallId": "call_d6_li_dc_weather_001",
"context": "llamaindex"
},
"response": {
"content": "Tokyo is 22\u00b0C and partly cloudy \u2014 rendered through the default catchall renderer."
}
},
{
"_comment": "tool-rendering-default-catchall \u2014 weather in Tokyo first leg: emit get_weather tool call. The built-in catchall fires because no user-supplied per-tool renderer is registered for get_weather.",
"match": {
"userMessage": "check Tokyo weather forecast",
"hasToolResult": false,
"context": "llamaindex"
},
"response": {
"toolCalls": [
{
"id": "call_d6_li_dc_weather_001",
"name": "get_weather",
"arguments": "{\"location\":\"Tokyo\"}"
}
]
}
}
]
}