mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
69c964aca2
Adds per-integration D6 fixtures for langgraph-python, langgraph-typescript, and langgraph-fastapi. Each fixture is keyed by match.context for cross- integration isolation and uses hasToolResult:false on toolCall responses to prevent re-match loops.
21 lines
797 B
JSON
21 lines
797 B
JSON
{
|
|
"_meta": {
|
|
"description": "D6 fixtures for langgraph-python / prebuilt-sidebar",
|
|
"sourceFile": "d5-prebuilt-sidebar.ts",
|
|
"created": "2026-05-22"
|
|
},
|
|
"fixtures": [
|
|
{
|
|
"_comment": "prebuilt-sidebar — single turn proving the CopilotSidebar component renders and messages round-trip inside its .copilotKitSidebar root. The probe asserts the sidebar root is visible and the assistant response lands inside it.",
|
|
"match": {
|
|
"userMessage": "hi from the sidebar test",
|
|
"turnIndex": 0,
|
|
"context": "langgraph-python"
|
|
},
|
|
"response": {
|
|
"content": "Hello from the sidebar — the CopilotSidebar prebuilt component is wired up and reachable. Anything else you would like me to confirm from inside the sidebar?"
|
|
}
|
|
}
|
|
]
|
|
}
|