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
yml 136 lines 4.04 KB
Raw
1 name: "🐞 Bug Report"
2 description: "Report a bug or unexpected behavior in the Composio TypeScript or Python SDK"
3 title: "[Bug]: <Short description>"
4 labels: ["bug", "needs-triage"]
5 body:
6 - type: markdown
7 attributes:
8 value: |
9 ## 🐞 Bug Report
10 Thanks for taking the time to report a bug! Please provide as much detail as possible to help us investigate and fix it quickly.
11
12 - type: dropdown
13 id: sdk_language
14 attributes:
15 label: "SDK Language"
16 description: "Which Composio SDK are you using?"
17 options:
18 - TypeScript / Node.js SDK (`@composio/core`)
19 - Python SDK (`composio` package)
20 - Both
21 - Not sure
22 default: 0
23 validations:
24 required: true
25
26 - type: input
27 id: sdk_version
28 attributes:
29 label: "SDK Version"
30 description: "Version of the SDK (e.g., @composio/core@0.1.55 or composio==0.1.7)"
31 placeholder: "@composio/core@0.1.55 or composio==0.1.7"
32 validations:
33 required: true
34
35 - type: input
36 id: runtime_env
37 attributes:
38 label: "Runtime Environment"
39 description: "Specify Node.js or Python version, plus platform if relevant"
40 placeholder: |
41 Node.js v20.10.0 on macOS 14.2
42 or
43 Python 3.11 on Ubuntu 22.04
44 validations:
45 required: true
46
47 - type: dropdown
48 id: environment
49 attributes:
50 label: "Environment"
51 description: "Where did this issue occur?"
52 options:
53 - Local Development
54 - Production Deployment
55 - Cloudflare Worker
56 - Vercel / Serverless Function
57 - Other
58 default: 0
59 validations:
60 required: true
61
62 - type: textarea
63 id: description
64 attributes:
65 label: "Describe the Bug"
66 description: "What happened? What did you expect to happen instead?"
67 placeholder: |
68 When executing `composio.tools.execute('GITHUB_GET_REPO')`, it throws a 401 even with a valid token.
69 Expected: repository details to be returned.
70 validations:
71 required: true
72
73 - type: textarea
74 id: reproduction_steps
75 attributes:
76 label: "Steps to Reproduce"
77 description: "Please include exact steps or code to reproduce the issue"
78 placeholder: |
79 1. Initialize Composio
80 2. Authorize GitHub
81 3. Call `composio.tools.execute('GITHUB_GET_REPO', {...})`
82 4. Observe 401 error
83 validations:
84 required: true
85
86 - type: textarea
87 id: code_snippet
88 attributes:
89 label: "Minimal Reproducible Example"
90 description: "Paste code or commands to reproduce (use correct language block)"
91 placeholder: |
92 ```typescript
93 import { Composio } from '@composio/core';
94
95 const composio = new Composio({ apiKey: process.env.COMPOSIO_API_KEY });
96 const result = await composio.tools.execute('GITHUB_GET_REPO', {
97 userId: 'default',
98 arguments: { owner: 'composio', repo: 'sdk' },
99 });
100 ```
101 ```python
102 from composio import Composio
103
104 composio = Composio(api_key="YOUR_API_KEY")
105 result = composio.tools.execute("GITHUB_GET_REPO", user_id="default", arguments={"owner": "composio", "repo": "sdk"})
106 ```
107 render: shell
108
109 - type: textarea
110 id: error_logs
111 attributes:
112 label: "Error Output / Stack Trace"
113 description: "Paste the full error output or traceback"
114 render: shell
115 placeholder: |
116 Error: [ComposioError] Unauthorized request
117 File "sdk/tools.py", line 82, in execute
118 raise ExecutionFailed("Unauthorized request")
119 validations:
120 required: true
121
122 - type: checkboxes
123 id: reproducibility
124 attributes:
125 label: "Reproducibility"
126 description: "How consistently does the bug occur?"
127 options:
128 - label: "Always reproducible"
129 - label: "Intermittent / Sometimes"
130 - label: "Happened once, can’t reproduce"
131
132 - type: textarea
133 id: additional_context
134 attributes:
135 label: "Additional Context or Screenshots"
136 description: "Add logs, screenshots, or related issues if available"