Right now each of the functions calls setup_environment() that walks the user through getting an API key. It would be nice to have this be an actually command so we could run aicodebot setup
This would:
[X] Gather the user's OPEN AI API KEY
[ ] Test that it works by doing a call
[ ] Check if the user's API supports gpt-4, and use that if available, if not, set the OPENAI_DEFAULT_MODEL to gpt-3.5-turbo
Effectively guiding them through creating the .aidcodebot config file
Right now each of the functions calls
setup_environment()
that walks the user through getting an API key. It would be nice to have this be an actually command so we could runaicodebot setup
This would: [X] Gather the user's OPEN AI API KEY [ ] Test that it works by doing a call [ ] Check if the user's API supports
gpt-4
, and use that if available, if not, set the OPENAI_DEFAULT_MODEL togpt-3.5-turbo
Effectively guiding them through creating the .aidcodebot config file