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

Refine the stream response handle to compatible with both 2023-03-15 and 2023-07-01 #88

Merged
merged 4 commits into from
Aug 11, 2023

Conversation

jiazengcindy
Copy link
Contributor

@jiazengcindy jiazengcindy commented Aug 11, 2023

There is a change in stream mode response when upgrading aoai api version from 03-15 to 07-01, The first chunk is prompt_annotations, with choices as empty list. This pr handle this case to avoid list index out of range error.

@jiazengcindy jiazengcindy merged commit a8d3001 into main Aug 11, 2023
3 checks passed
@jiazengcindy jiazengcindy deleted the jiazeng/handle_version branch October 8, 2023 08:08
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.

3 participants