Skip to content
Source
Sign inSign up
TanStack/ai
Open History to see the last commit

basic.json

22 lines725 Bytes

1{
2 "fixtures": [
3 {
4 "match": {
5 "userMessage": "[queue] first message"
6 },
7 "response": {
8 "content": "This is the first response and it keeps streaming for a good while so that the follow-up messages sent during this in-flight run land in the client queue instead of starting a second concurrent request right away, giving the test plenty of time to send more messages and cancel one before this run settles."
9 },
10 "chunkSize": 2,
11 "streamingProfile": { "tps": 6 }
12 },
13 {
14 "match": {
15 "userMessage": "[queue] third message"
16 },
17 "response": {
18 "content": "This is the third response, delivered after the queue drained."
19 }
20 }
21 ]