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

basic.json

28 lines569 Bytes

1{
2 "fixtures": [
3 {
4 "match": {
5 "userMessage": "[truncated-tool-call] weather in Paris",
6 "hasToolResult": false
7 },
8 "response": {
9 "toolCalls": [
10 {
11 "name": "lookup_weather",
12 "arguments": "{\"location\":\"Paris\"}"
13 }
14 ],
15 "finishReason": "length"
16 }
17 },
18 {
19 "match": {
20 "userMessage": "[truncated-tool-call] weather in Paris",
21 "hasToolResult": true
22 },
23 "response": {
24 "content": "Let me look again."
25 }
26 }
27 ]