forked from CopilotKit/CopilotKit
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathchat-slots.json
More file actions
30 lines (30 loc) · 1.26 KB
/
Copy pathchat-slots.json
File metadata and controls
30 lines (30 loc) · 1.26 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
{
"_meta": {
"description": "D6 fixtures for langgraph-python / chat-slots",
"sourceFile": "d5-all.json",
"created": "2026-05-21"
},
"fixtures": [
{
"match": {
"userMessage": "verify chat slots are wired",
"turnIndex": 0,
"context": "langgraph-python"
},
"response": {
"content": "Confirmed — the chat-slots demo is rendering through the custom slot wrappers. The CustomAssistantMessage component should be visible as a tinted card with a 'slot' badge in the corner."
}
},
{
"_comment": "chat-slots e2e (chat-slots.spec.ts:90 'second assistant turn is also wrapped in the custom slot') — turn 2 prompt after the 'Say hello in one short sentence' first turn. Without this fixture aimock has no match for turn 2 and the second assistant slot never mounts. turnIndex:1 is REQUIRED to avoid stealing headless-simple's turn-0 fun-fact prompt (which resolves to a different deterministic reply in headless-simple.json).",
"match": {
"userMessage": "Give me a fun fact",
"turnIndex": 1,
"context": "langgraph-python"
},
"response": {
"content": "Sure — sea otters hold hands while they sleep so they don't drift apart on the current."
}
}
]
}