forked from CopilotKit/CopilotKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmultimodal.json
More file actions
31 lines (31 loc) · 1.56 KB
/
Copy pathmultimodal.json
File metadata and controls
31 lines (31 loc) · 1.56 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
{
"_meta": {
"description": "D6 fixtures for langgraph-python / multimodal",
"sourceFile": "d5-multimodal.ts",
"created": "2026-05-22"
},
"fixtures": [
{
"_comment": "multimodal — sample image turn. The probe clicks 'Try with sample image' which auto-sends via agent.addMessage. The assertion checks the assistant transcript contains the keyword 'image'. The userMessage here matches the agentic-chat fixture for 'describe the sample image' which is the message the sample-attachment-buttons component dispatches.",
"match": {
"userMessage": "describe the sample image",
"turnIndex": 0,
"context": "langgraph-python"
},
"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 — sample PDF turn. The probe clicks 'Try with sample PDF' which auto-sends. The assertion checks the assistant transcript contains the keyword 'document'.",
"match": {
"userMessage": "summarize the sample document",
"turnIndex": 0,
"context": "langgraph-python"
},
"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."
}
}
]
}