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.
30 lines
1.2 KiB
JSON
30 lines
1.2 KiB
JSON
{
|
|
"_meta": {
|
|
"description": "D6 fixtures for langgraph-fastapi / multimodal",
|
|
"sourceFile": "harness/fixtures/d5/multimodal.json",
|
|
"created": "2026-05-22"
|
|
},
|
|
"fixtures": [
|
|
{
|
|
"_comment": "multimodal — image attachment pill. The script clicks the sample-image button, attaches sample.png, then sends this query.",
|
|
"match": {
|
|
"userMessage": "describe the sample image",
|
|
"context": "langgraph-fastapi"
|
|
},
|
|
"response": {
|
|
"content": "The image attachment shows a small abstract test pattern used by the multimodal demo to validate the image-upload pipeline. Successful render of this response confirms the binary attachment round-tripped through the runtime."
|
|
}
|
|
},
|
|
{
|
|
"_comment": "multimodal — PDF attachment pill. The script attaches the sample PDF, then sends this query.",
|
|
"match": {
|
|
"userMessage": "summarize the sample document",
|
|
"context": "langgraph-fastapi"
|
|
},
|
|
"response": {
|
|
"content": "The PDF document contains a single test page used by the multimodal demo. Its text was flattened by pypdf on the Python side and forwarded as text content to the model. Receiving this response confirms the document upload path works."
|
|
}
|
|
}
|
|
]
|
|
}
|