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

sequence-server-client.json

40 lines903 Bytes

1{
2 "fixtures": [
3 {
4 "match": {
5 "userMessage": "[sequence-server-client] run test",
6 "sequenceIndex": 0
7 },
8 "response": {
9 "content": "First, let me fetch the data.",
10 "toolCalls": [
11 { "name": "fetch_data", "arguments": "{\"source\":\"api\"}" }
12 ]
13 }
14 },
15 {
16 "match": {
17 "userMessage": "[sequence-server-client] run test",
18 "sequenceIndex": 1
19 },
20 "response": {
21 "content": "Now let me display it on screen.",
22 "toolCalls": [
23 {
24 "name": "display_chart",
25 "arguments": "{\"type\":\"bar\",\"data\":[1,2,3]}"
26 }
27 ]
28 }
29 },
30 {
31 "match": {
32 "userMessage": "[sequence-server-client] run test",
33 "sequenceIndex": 2
34 },
35 "response": {
36 "content": "The chart is now displayed."
37 }
38 }
39 ]