OpenAI API generated code depends on automatic installation
soulteary opened this issue ยท comments
Su Yang commented
โ ๏ธ 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.
Rick Lamers commented
Agree this would be cool to add.
Duplicate of #6