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, 03:37 UTC
| 1 | // Selftest fixture: makes one unauthenticated request against the backend so |
| 2 | // the fetch shim must record a non-2xx composio line in COMPOSIO_TRACE_FILE. |
| 3 | const base = process.env.COMPOSIO_BASE_URL ?? 'https://staging-backend.composio.dev'; |
| 4 | const res = await fetch(`${base}/api/v3/toolkits`, { |
| 5 | headers: { 'x-api-key': 'selftest-invalid-key' }, |
| 6 | }); |
| 7 | console.log(`trace-check: status ${res.status}`); |