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

resolve ToParams regression #311

Merged
merged 1 commit into from
Mar 22, 2025
Merged

Conversation

stainless-app[bot]
Copy link
Contributor

@stainless-app stainless-app bot commented Mar 22, 2025

This PR resolves regressions in the ChatCompletionMessage.ToParam() method by:

  • Elide null fields from assistant
  • Elide empty tool calls

Also contains some doc fixes

Resolve some regressions in the ChatCompletionMessage.ToParam() method.

Elide nulls from assistant, when creating a follow up request.
Elide empty tool calls.
Also contains some documentation fixes.
@stainless-app stainless-app bot requested a review from a team as a code owner March 22, 2025 14:46
@jacobzim-stl jacobzim-stl changed the title Custom code ported over from staging repo Resolve ToParams regression Mar 22, 2025
@jacobzim-stl jacobzim-stl changed the title Resolve ToParams regression resolve ToParams regression Mar 22, 2025
@jacobzim-stl jacobzim-stl changed the base branch from main to next March 22, 2025 14:51
@jacobzim-stl jacobzim-stl merged commit 4fba869 into next Mar 22, 2025
2 checks passed
@stainless-app stainless-app bot mentioned this pull request Mar 22, 2025
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.

1 participant