Skip to content

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]>
vcshih pushed a commit to veris-ai/openai-agents-python that referenced this pull request Aug 15, 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
openai#1396

Fixes openai#1395
Fixes openai#1401

---------

Co-authored-by: daavoo <[email protected]>
gold-crow-997 added a commit to gold-crow-997/open-ai-agent that referenced this pull request Sep 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
openai/openai-agents-python#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