Skip to content

chore(deps): Bump "openai>=1.99.2,<2". #1396

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

Closed
wants to merge 1 commit into from
Closed

Conversation

daavoo
Copy link
Contributor

@daavoo daavoo commented Aug 7, 2025

  • fix(litellm_model): Replace Function with ChatCompletionMessageFunctionToolCall.

Fixes #1395

- fix(litellm_model): Replace `Function` with `ChatCompletionMessageFunctionToolCall`.

Breaking change coming from https://github.com/openai/openai-python/releases/tag/v1.99.2
@seratch
Copy link
Member

seratch commented Aug 11, 2025

The changes look good to me but CI jobs are failing. So, I will come up with a pull request including your commit later on.

@seratch
Copy link
Member

seratch commented Aug 11, 2025

Thanks for sending this PR; I've sent #1415 including you as a co-author.

@seratch seratch closed this Aug 11, 2025
rm-openai pushed a commit that referenced this pull request Aug 11, 2025
- fix(litellm_model): Replace `Function` with
`ChatCompletionMessageFunctionToolCall`.
- Breaking change coming from
https://github.com/openai/openai-python/releases/tag/v1.99.2

This pull request resolves the errors in
#1396

Fixes #1395
Fixes #1401

---------

Co-authored-by: daavoo <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working feature:chat-completions
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Latest openai release (1.99.2) breaks LitellmModel.
2 participants