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 Azure OpenAI API version version to 2024-02-01 #684

Merged
merged 1 commit into from
May 2, 2024

Conversation

PeterDaveHello
Copy link
Contributor

This API version is the replacement for the previous2023-05-15 GA API release.

Reference:

@josStorer josStorer merged commit c83e84f into josStorer:master May 2, 2024
1 check passed
@PeterDaveHello PeterDaveHello deleted the UpdateAzureOpenAiApiVer branch May 2, 2024 09:01
PeterDaveHello added a commit to PeterDaveHello/chatGPTBox that referenced this pull request May 12, 2024
This commit refines the error handling for the Azure OpenAI API
integration to address the 'n.choices[0] is undefined' error by ensuring
'data.choices' and 'data.choices[0]' are properly checked before access.
This update is necessary due to the behavior changes introduced in the
API version update (josStorer#684), which can result in empty 'choices' arrays.

Fix josStorer#698.
PeterDaveHello added a commit to PeterDaveHello/chatGPTBox that referenced this pull request May 12, 2024
This commit refines the error handling for the Azure OpenAI API
integration to address the 'n.choices[0] is undefined' error by ensuring
'data.choices' and 'data.choices[0]' are properly checked before access.
This update is necessary due to the behavior changes introduced in the
API version update (josStorer#684), which can result in empty 'choices' arrays.

Fix josStorer#698.
josStorer pushed a commit that referenced this pull request May 12, 2024
This commit refines the error handling for the Azure OpenAI API
integration to address the 'n.choices[0] is undefined' error by ensuring
'data.choices' and 'data.choices[0]' are properly checked before access.
This update is necessary due to the behavior changes introduced in the
API version update (#684), which can result in empty 'choices' arrays.

Fix #698.
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