mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
4df07816b8
Adds per-integration D6 fixtures for claude-sdk-python and claude-sdk-typescript with Anthropic-style request/response shapes.
32 lines
1.4 KiB
JSON
32 lines
1.4 KiB
JSON
{
|
|
"_meta": {
|
|
"description": "D6 fixtures for claude-sdk-python / multimodal",
|
|
"sourceScript": "d5-multimodal.ts",
|
|
"created": "2026-05-22"
|
|
},
|
|
"fixtures": [
|
|
{
|
|
"_comment": "multimodal image turn — preFill clicks the sample-image button which auto-sends. The D5 script asserts the assistant transcript contains 'image'. The input text is descriptive only (skipSend=true in the script).",
|
|
"match": {
|
|
"userMessage": "describe the sample image",
|
|
"turnIndex": 0,
|
|
"context": "claude-sdk-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 PDF turn — preFill clicks the sample-pdf button which auto-sends. The D5 script asserts the assistant transcript contains 'document'.",
|
|
"match": {
|
|
"userMessage": "summarize the sample document",
|
|
"turnIndex": 0,
|
|
"context": "claude-sdk-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."
|
|
}
|
|
}
|
|
]
|
|
}
|