open-interpreter icon indicating copy to clipboard operation
open-interpreter copied to clipboard

allow to create issues from within the interpreter

Open koenhandekyn opened this issue 1 year ago • 1 comments

Is your feature request related to a problem? Please describe.

occasionally i have issues where interpreter is stuck, or it screws up. it would be helpful to create issues with the context on github

Describe the solution you'd like

built in a function to collect the context and create an issue

Describe alternatives you've considered

manual cretion

Additional context

No response

koenhandekyn avatar Nov 09 '24 13:11 koenhandekyn

First of all, you need to install the requests library (which can be installed through the pip install requests command) to send requests to GitHub API to create an Issue. In Python, the context related to the interpreter is collected in many ways. Create a new Issue by sending a POST request to GitHub API, and use the previously collected context information as the body content of the Issue. You need to obtain and configure the GitHub personal access token in advance, and have the corresponding warehouse operation. Permission.

Lxh-377 avatar Nov 29 '24 10:11 Lxh-377