-
Notifications
You must be signed in to change notification settings - Fork 6k
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
add tolerance for empty choices #4311
add tolerance for empty choices #4311
Conversation
Signed-off-by: Mohammad Mazraeh <[email protected]>
python/packages/autogen-ext/src/autogen_ext/models/_openai/_openai_client.py
Outdated
Show resolved
Hide resolved
python/packages/autogen-ext/src/autogen_ext/models/_openai/_openai_client.py
Outdated
Show resolved
Hide resolved
Signed-off-by: Mohammad Mazraeh <[email protected]>
python/packages/autogen-ext/src/autogen_ext/models/_openai/_openai_client.py
Outdated
Show resolved
Hide resolved
python/packages/autogen-ext/src/autogen_ext/models/_openai/_openai_client.py
Outdated
Show resolved
Hide resolved
python/packages/autogen-ext/src/autogen_ext/models/_openai/_openai_client.py
Outdated
Show resolved
Hide resolved
python/packages/autogen-ext/src/autogen_ext/models/_openai/_openai_client.py
Show resolved
Hide resolved
python/packages/autogen-ext/src/autogen_ext/models/_openai/_openai_client.py
Outdated
Show resolved
Hide resolved
…enai_client.py Co-authored-by: Jack Gerrits <[email protected]>
…enai_client.py Co-authored-by: Jack Gerrits <[email protected]>
Signed-off-by: Mohammad Mazraeh <[email protected]>
python/packages/autogen-ext/src/autogen_ext/models/_openai/_openai_client.py
Outdated
Show resolved
Hide resolved
…enai_client.py Co-authored-by: Jack Gerrits <[email protected]>
Can we extend the fix to be an argument or property to the AzureOpenAIChatCompletionClient object rather than an argument to |
Why are these changes needed?
I encountered this issue only in
AzureOpenAIChatCompletionClient
, adding some tolerance for emptychoices
! Not a super clean fix ... just works to unblock updating streaming samples usingAzureOpenAIChatCompletionClient
Related issue number
closes #4213
Checks