Files
copilotkit__copilotkit/showcase/aimock/d6/langroid/tool-rendering-custom-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

66 lines
2.0 KiB
JSON

{
"_meta": {
"description": "D6 fixtures for langroid / tool-rendering-custom-catchall",
"sourceScript": "d5-tool-rendering-custom-catchall.ts",
"created": "2026-05-22"
},
"fixtures": [
{
"_comment": "Custom catchall turn 1: weather in Tokyo \u2014 emits get_weather tool call. The custom wildcard renderer fires for this tool. hasToolResult:false on first leg.",
"match": {
"userMessage": "check Tokyo weather forecast",
"hasToolResult": false,
"context": "langroid"
},
"response": {
"toolCalls": [
{
"id": "call_d6_lr_cc_weather_001",
"name": "get_weather",
"arguments": "{\"location\":\"Tokyo\"}"
}
]
}
},
{
"_comment": "Custom catchall turn 1: 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."
}
},
{
"_comment": "Custom catchall turn 2: AAPL stock price \u2014 emits get_stock_price tool call. Both this and get_weather must render through the same custom-wildcard-card testid. hasToolResult:false on first leg.",
"match": {
"userMessage": "current price of AAPL",
"hasToolResult": false,
"context": "langroid"
},
"response": {
"toolCalls": [
{
"id": "call_d6_lr_cc_stock_001",
"name": "get_stock_price",
"arguments": "{\"ticker\":\"AAPL\",\"price_usd\":338.37,\"change_pct\":-2.96}"
}
]
}
},
{
"_comment": "Custom catchall turn 2: AAPL stock price \u2014 follow-up after tool result.",
"match": {
"userMessage": "current price of AAPL",
"hasToolResult": true,
"context": "langroid"
},
"response": {
"content": "AAPL is trading at $338.37, down 2.96% on the day."
}
}
]
}