ricklamers / gpt-code-ui

An open source implementation of OpenAI's ChatGPT Code interpreter

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

OpenAI API generated code depends on automatic installation

soulteary opened this issue ยท comments

โš ๏ธ Please check that this feature request hasn't been suggested before.

  • I searched previous Ideas in Discussions didn't find any similar feature requests.
  • I searched previous Issues didn't find any similar feature requests.

๐Ÿ”– Feature description

After the code is generated by the OpenAI API, if there is no local dependency on Python or other languages, it will be automatically installed.

โœ”๏ธ Solution

You only need to make some simple adjustments to the code, use pre-script or monitor whether it is an execution error due to lack of dependencies during execution, install it, and try again.

โ“ Alternatives

No response

๐Ÿ“ Additional Context

No response

Acknowledgements

  • My issue title is concise, descriptive, and in title casing.
  • I have searched the existing issues to make sure this feature has not been requested yet.
  • I have provided enough information for the maintainers to understand and evaluate this request.

Agree this would be cool to add.

Duplicate of #6