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

fix: Enhance OpenAI client to handle additional stop reasons and improve tool call validation in tests to address empty tool_calls list. #5223

Merged
merged 1 commit into from
Jan 27, 2025

Conversation

ekzhu
Copy link
Collaborator

@ekzhu ekzhu commented Jan 27, 2025

Resolves #5222

…ove tool call validation in tests to address empty tool_calls list.
@ekzhu ekzhu requested a review from gagb January 27, 2025 19:55
@ekzhu ekzhu enabled auto-merge (squash) January 27, 2025 19:57
@ekzhu ekzhu merged commit b441d5b into main Jan 27, 2025
64 checks passed
@ekzhu ekzhu deleted the ekzhu-fix-structured-output branch January 27, 2025 21:16
Copy link

codecov bot commented Jan 27, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 70.08%. Comparing base (8428462) to head (c240507).
Report is 1 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #5223   +/-   ##
=======================================
  Coverage   70.08%   70.08%           
=======================================
  Files         179      179           
  Lines       11619    11619           
=======================================
  Hits         8143     8143           
  Misses       3476     3476           
Flag Coverage Δ
unittests 70.08% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

MohMaz pushed a commit to MohMaz/autogen that referenced this pull request Jan 29, 2025
…ove tool call validation in tests to address empty tool_calls list. (microsoft#5223)

Resolves microsoft#5222
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.

Bug in structured outputs with OpenAIChatCompletionClient
2 participants