@devries-cameron20 / composio Mirror · read-only
Fork 0

Composio powers 1000+ toolkits, tool search, context management, authentication, and a sandboxed workbench to help you build AI agents that turn intent into action.

Mirrored from https://github.com/Camo67/composio.git

Synced Nov 21, 06:00 UTC

next
json 163 lines 5.07 KB
Raw
1 {
2 "$comment": "Recorded from anthropic claude-haiku-5-5 by record.ts. Do not edit by hand; record again.",
3 "fixtures": [
4 {
5 "match": {
6 "turnIndex": 0,
7 "userMessage": "Send a Slack message to the #general channel that says: deploy finished",
8 "model": "claude-haiku-5-5",
9 "hasToolResult": false
10 },
11 "response": {
12 "toolCalls": [
13 {
14 "id": "toolu_01DT8ERFKDiGexrcVsgcHwr1",
15 "name": "shell",
16 "arguments": "{\"command\":\"composio execute SLACK_SEND_MESSAGE --get-schema\"}"
17 }
18 ],
19 "usage": {
20 "input_tokens": 2652,
21 "cache_creation_input_tokens": 0,
22 "cache_read_input_tokens": 0,
23 "cache_creation": {
24 "ephemeral_5m_input_tokens": 0,
25 "ephemeral_1h_input_tokens": 0
26 },
27 "output_tokens": 168
28 }
29 },
30 "metadata": {
31 "systemHash": "6ee9d189",
32 "toolsHash": "95a7fdfe"
33 }
34 },
35 {
36 "match": {
37 "turnIndex": 1,
38 "userMessage": "Send a Slack message to the #general channel that says: deploy finished",
39 "model": "claude-haiku-5-5",
40 "hasToolResult": true,
41 "toolCallId": "toolu_01DT8ERFKDiGexrcVsgcHwr1",
42 "toolResultContains": "\"exit_code\":0,"
43 },
44 "response": {
45 "toolCalls": [
46 {
47 "id": "toolu_01GZCNChP9qHLoARjymEeCZs",
48 "name": "shell",
49 "arguments": "{\"command\":\"composio execute SLACK_SEND_MESSAGE -d '{ channel: \\\"#general\\\", text: \\\"deploy finished\\\" }'\"}"
50 }
51 ],
52 "usage": {
53 "input_tokens": 3114,
54 "cache_creation_input_tokens": 0,
55 "cache_read_input_tokens": 0,
56 "cache_creation": {
57 "ephemeral_5m_input_tokens": 0,
58 "ephemeral_1h_input_tokens": 0
59 },
60 "output_tokens": 87
61 }
62 },
63 "metadata": {
64 "systemHash": "6ee9d189",
65 "toolsHash": "95a7fdfe"
66 }
67 },
68 {
69 "match": {
70 "turnIndex": 2,
71 "userMessage": "Send a Slack message to the #general channel that says: deploy finished",
72 "model": "claude-haiku-5-5",
73 "hasToolResult": true,
74 "toolCallId": "toolu_01GZCNChP9qHLoARjymEeCZs",
75 "toolResultContains": "\"exit_code\":1,"
76 },
77 "response": {
78 "toolCalls": [
79 {
80 "id": "toolu_0127uqjnBQzn8fmy7kHupVeN",
81 "name": "shell",
82 "arguments": "{\"command\":\"composio link slack\"}"
83 }
84 ],
85 "usage": {
86 "input_tokens": 3321,
87 "cache_creation_input_tokens": 0,
88 "cache_read_input_tokens": 0,
89 "cache_creation": {
90 "ephemeral_5m_input_tokens": 0,
91 "ephemeral_1h_input_tokens": 0
92 },
93 "output_tokens": 72
94 },
95 "content": "Slack isn't connected yet, so I'll start the link flow."
96 },
97 "metadata": {
98 "systemHash": "6ee9d189",
99 "toolsHash": "95a7fdfe"
100 }
101 },
102 {
103 "match": {
104 "turnIndex": 3,
105 "userMessage": "Send a Slack message to the #general channel that says: deploy finished",
106 "model": "claude-haiku-5-5",
107 "hasToolResult": true,
108 "toolCallId": "toolu_0127uqjnBQzn8fmy7kHupVeN",
109 "toolResultContains": "\"exit_code\":0,"
110 },
111 "response": {
112 "toolCalls": [
113 {
114 "id": "toolu_01DRoezXpTnynHs7KEncA9qL",
115 "name": "shell",
116 "arguments": "{\"command\":\"composio execute SLACK_SEND_MESSAGE -d '{ channel: \\\"#general\\\", text: \\\"deploy finished\\\" }'\"}"
117 }
118 ],
119 "usage": {
120 "input_tokens": 3571,
121 "cache_creation_input_tokens": 0,
122 "cache_read_input_tokens": 0,
123 "cache_creation": {
124 "ephemeral_5m_input_tokens": 0,
125 "ephemeral_1h_input_tokens": 0
126 },
127 "output_tokens": 87
128 }
129 },
130 "metadata": {
131 "systemHash": "6ee9d189",
132 "toolsHash": "95a7fdfe"
133 }
134 },
135 {
136 "match": {
137 "turnIndex": 4,
138 "userMessage": "Send a Slack message to the #general channel that says: deploy finished",
139 "model": "claude-haiku-5-5",
140 "hasToolResult": true,
141 "toolCallId": "toolu_01DRoezXpTnynHs7KEncA9qL",
142 "toolResultContains": "\"exit_code\":0,"
143 },
144 "response": {
145 "usage": {
146 "input_tokens": 3821,
147 "cache_creation_input_tokens": 0,
148 "cache_read_input_tokens": 0,
149 "cache_creation": {
150 "ephemeral_5m_input_tokens": 0,
151 "ephemeral_1h_input_tokens": 0
152 },
153 "output_tokens": 84
154 },
155 "content": "The message \"deploy finished\" was posted to #general.\n\nSlack wasn't connected at first, so I ran `composio link slack` to authorize it, then retried the send. The link completed on the first try, and the send succeeded (log ID `log_e2e0001`)."
156 },
157 "metadata": {
158 "systemHash": "6ee9d189",
159 "toolsHash": "95a7fdfe"
160 }
161 }
162 ]
163 }