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

batch-mixed.json

28 lines794 Bytes

1{
2 "fixtures": [
3 {
4 "match": { "userMessage": "[batch-mixed] run test", "sequenceIndex": 0 },
5 "response": {
6 "content": "I need approval for these three actions.",
7 "toolCalls": [
8 {
9 "name": "admitRescue",
10 "arguments": "{\"species\":\"red fox\",\"name\":\"Rusty\"}"
11 },
12 {
13 "name": "scheduleVetCheck",
14 "arguments": "{\"animal\":\"Rusty\",\"urgency\":\"routine\"}"
15 },
16 {
17 "name": "printIntakeTag",
18 "arguments": "{\"animal\":\"Rusty\"}"
19 }
20 ]
21 }
22 },
23 {
24 "match": { "userMessage": "[batch-mixed] run test", "sequenceIndex": 1 },
25 "response": { "content": "Done — all three actions were processed." }
26 }
27 ]