mirror of
https://github.com/CopilotKit/CopilotKit.git
synced 2026-09-14 16:26:20 +08:00
03ce685ae6
llamaindex, mastra, pydantic-ai, spring-ai, strands, built-in-agent Adds per-integration D6 fixtures across 10 additional showcase integrations, completing coverage for all 18 integrations.
30 lines
1.5 KiB
JSON
30 lines
1.5 KiB
JSON
{
|
|
"_meta": {
|
|
"description": "D6 fixtures for built-in-agent / multimodal",
|
|
"sourceFile": "d5-multimodal.ts",
|
|
"created": "2026-05-22"
|
|
},
|
|
"fixtures": [
|
|
{
|
|
"_comment": "multimodal image turn — the D5 script clicks the sample-image button which auto-sends a message. The assertion checks for 'image' keyword in the assistant transcript. The input text is 'image-sample-button (auto-sent)' but skipSend=true, so the actual userMessage comes from the sample button's inject. We match on 'describe the sample image' which is what the sample button sends.",
|
|
"match": {
|
|
"userMessage": "describe the sample image",
|
|
"context": "built-in-agent"
|
|
},
|
|
"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 — the D5 script clicks the sample-pdf button which auto-sends. The assertion checks for 'document' keyword in the assistant transcript.",
|
|
"match": {
|
|
"userMessage": "summarize the sample document",
|
|
"context": "built-in-agent"
|
|
},
|
|
"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."
|
|
}
|
|
}
|
|
]
|
|
}
|