-
Notifications
You must be signed in to change notification settings - Fork 12
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Added code generator feature #89
Conversation
Added feature to generate code from OpenAI API.
…-Lab/grace into chrisdedman-patch-2
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Very good. A few things to change, specifically about the way the API key is handled but otherwise it seems pretty good. Well done.
If you have any question about the config required, don't hesitate to ask on the server :)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It was pretty good. Nice improvement. However, there was some things that could've been improved. To avoid playing ping pong with you, I decided to adjust the code quickly.
One important issue that you could note for the future is the addition of ctx.defer() in code_generator
. I've added that because the interaction failed when the request took too much time. Defer allows us to perform secondary action on the interaction.
Added feature to generate code from OpenAI API. issue #85