aboutsummaryrefslogtreecommitdiffstats
path: root/pkg/aflow/testdata/TestToolErrors.trajectory.json
blob: 8337407da5aab60b60fd70c95437919a8c9b91ef (plain)
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
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
[
	{
		"Seq": 0,
		"Nesting": 0,
		"Type": "flow",
		"Name": "test",
		"Started": "0001-01-01T00:00:01Z"
	},
	{
		"Seq": 1,
		"Nesting": 1,
		"Type": "agent",
		"Name": "smarty",
		"Model": "model",
		"Started": "0001-01-01T00:00:02Z",
		"Instruction": "Do something!\nPrefer calling several tools at the same time to save round-trips.\n",
		"Prompt": "Prompt"
	},
	{
		"Seq": 2,
		"Nesting": 2,
		"Type": "llm",
		"Name": "smarty",
		"Model": "model",
		"Started": "0001-01-01T00:00:03Z"
	},
	{
		"Seq": 2,
		"Nesting": 2,
		"Type": "llm",
		"Name": "smarty",
		"Model": "model",
		"Started": "0001-01-01T00:00:03Z",
		"Finished": "0001-01-01T00:00:04Z"
	},
	{
		"Seq": 3,
		"Nesting": 2,
		"Type": "tool",
		"Name": "faulty",
		"Started": "0001-01-01T00:00:05Z",
		"Args": {
			"CallError": true
		}
	},
	{
		"Seq": 3,
		"Nesting": 2,
		"Type": "tool",
		"Name": "faulty",
		"Started": "0001-01-01T00:00:05Z",
		"Finished": "0001-01-01T00:00:06Z",
		"Error": "you are wrong",
		"Args": {
			"CallError": true
		},
		"Results": {}
	},
	{
		"Seq": 4,
		"Nesting": 2,
		"Type": "llm",
		"Name": "smarty",
		"Model": "model",
		"Started": "0001-01-01T00:00:07Z"
	},
	{
		"Seq": 4,
		"Nesting": 2,
		"Type": "llm",
		"Name": "smarty",
		"Model": "model",
		"Started": "0001-01-01T00:00:07Z",
		"Finished": "0001-01-01T00:00:08Z"
	},
	{
		"Seq": 5,
		"Nesting": 2,
		"Type": "tool",
		"Name": "faulty",
		"Started": "0001-01-01T00:00:09Z",
		"Args": {
			"CallError": false
		}
	},
	{
		"Seq": 5,
		"Nesting": 2,
		"Type": "tool",
		"Name": "faulty",
		"Started": "0001-01-01T00:00:09Z",
		"Finished": "0001-01-01T00:00:10Z",
		"Error": "hard error",
		"Args": {
			"CallError": false
		},
		"Results": {}
	},
	{
		"Seq": 1,
		"Nesting": 1,
		"Type": "agent",
		"Name": "smarty",
		"Model": "model",
		"Started": "0001-01-01T00:00:02Z",
		"Finished": "0001-01-01T00:00:11Z",
		"Error": "tool faulty failed: error: hard error\nargs: map[CallError:false]",
		"Instruction": "Do something!\nPrefer calling several tools at the same time to save round-trips.\n",
		"Prompt": "Prompt"
	},
	{
		"Seq": 0,
		"Nesting": 0,
		"Type": "flow",
		"Name": "test",
		"Started": "0001-01-01T00:00:01Z",
		"Finished": "0001-01-01T00:00:12Z",
		"Error": "tool faulty failed: error: hard error\nargs: map[CallError:false]"
	}
]