Skip to content

[Bug]: Incompatible with the the DeepSeek R1 model's reasoning_content field #517

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

Open
charescape opened this issue Feb 2, 2025 · 3 comments
Labels
bug Something isn't working Non-OpenAI Model Not an OpenAI Model.

Comments

@charescape
Copy link
Contributor

Description

Image

Steps To Reproduce

OpenAI PHP Client Version

v0.10.3

PHP Version

8.3.5

Notes

No response

@charescape charescape added the bug Something isn't working label Feb 2, 2025
@44886
Copy link

44886 commented Feb 4, 2025

yes,the sdk need update!

Image

@44886
Copy link

44886 commented Feb 4, 2025

I solved it!
add this:

Image

@Snuffel233
Copy link

Image
It also needs to be modified in the toArray() function, otherwise it will still not work properly
In addition, modifications need to be made accordingly in non-streaming

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working Non-OpenAI Model Not an OpenAI Model.
Projects
None yet
Development

No branches or pull requests

4 participants