Skip to content
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

Update ai.py #817

Merged
merged 1 commit into from
Oct 23, 2023
Merged

Update ai.py #817

merged 1 commit into from
Oct 23, 2023

Conversation

mfeyx
Copy link
Contributor

@mfeyx mfeyx commented Oct 23, 2023

I added the ability to set OPENAI_API_VERSION from the .env file. There is a newer API version available in the Azure OpenAI Workspace ("2023-07-01-preview"), and it would be nice to use it instead of the May version.

Added OPENAI_API_VERSION from env
@sweep-ai
Copy link
Contributor

sweep-ai bot commented Oct 23, 2023

Apply Sweep Rules to your PR?

  • Apply: Ensure all new functions and classes have very clear, concise and up-to-date docstrings. Take gpt_engineer/ai.py as a good example.

@TheoMcCabe
Copy link
Collaborator

looks good thanks

@TheoMcCabe TheoMcCabe merged commit 2e16286 into AntonOsika:main Oct 23, 2023
5 checks passed
@johndoe1a johndoe1a mentioned this pull request Oct 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants