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

next
json 29 lines 1.11 KB
Raw
1 {
2 "$comment": "Deterministic LLM fixtures for --llm mock sweeps. One file so fixture order is explicit: specific matches first, catch-alls last (first match wins). Tool-call fixtures guard with hasToolResult:false so the follow-up turn falls through to the wrap-up fixture. Composio tool execution stays live; only the model is mocked.",
3 "fixtures": [
4 {
5 "match": { "userMessage": "HackerNews user", "hasToolResult": false },
6 "response": {
7 "toolCalls": [
8 { "name": "HACKERNEWS_GET_USER", "arguments": { "username": "pg" }, "id": "call_hn_user" }
9 ]
10 }
11 },
12 {
13 "match": { "userMessage": "HackerNews", "hasToolResult": false },
14 "response": {
15 "toolCalls": [
16 { "name": "HACKERNEWS_GET_TOP_STORIES", "arguments": { "size": 3 }, "id": "call_hn_top" }
17 ]
18 }
19 },
20 {
21 "match": { "hasToolResult": true },
22 "response": { "content": "Mock model wrap-up: summarized the tool result deterministically." }
23 },
24 {
25 "match": {},
26 "response": { "content": "Mock model response: no tool needed for this prompt." }
27 }
28 ]
29 }