Files
copilotkit__copilotkit/showcase/aimock/d6/langgraph-python/tool-rendering-suppress-catchall.json
2026-06-24 12:20:39 -07:00

49 lines
1.5 KiB
JSON

{
"_meta": {
"description": "D6 fixtures for langgraph-python / tool-rendering-suppress-catchall",
"sourceFile": "d5-tool-rendering-suppress-catchall.ts",
"created": "2026-06-18"
},
"fixtures": [
{
"_comment": "tool-rendering-suppress-catchall — weather follow-up. The tool call completes, but the wildcard renderer returns null so no tool UI should appear.",
"match": {
"userMessage": "suppress catch-all weather case",
"toolCallId": "call_d6_suppress_weather_001",
"context": "langgraph-python"
},
"response": {
"content": "Tokyo is 22°C and partly cloudy."
}
},
{
"_comment": "tool-rendering-suppress-catchall — first turn emits get_weather, which the null catch-all suppresses in the chat UI.",
"match": {
"userMessage": "suppress catch-all weather case",
"toolName": "get_weather",
"context": "langgraph-python"
},
"response": {
"toolCalls": [
{
"id": "call_d6_suppress_weather_001",
"name": "get_weather",
"arguments": "{\"location\":\"Tokyo\"}"
}
]
}
},
{
"_comment": "tool-rendering-suppress-catchall — fallback when no get_weather tool is registered.",
"match": {
"userMessage": "suppress catch-all weather case",
"turnIndex": 0,
"context": "langgraph-python"
},
"response": {
"content": "Tokyo is 22°C and partly cloudy."
}
}
]
}