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

Support about reason content #647

Open
CalsRanna opened this issue Feb 5, 2025 · 4 comments
Open

Support about reason content #647

CalsRanna opened this issue Feb 5, 2025 · 4 comments

Comments

@CalsRanna
Copy link

Is there a plan about support reason content in the response?

@davidmigloz
Copy link
Owner

Hey @CalsRanna ,

Which package/provider are you referring to?
Could you give some more details about your request?
Thanks!

@CalsRanna
Copy link
Author

Image

Just like that.

@davidmigloz
Copy link
Owner

Currently, we use an OpenAI client generated from the official OpenAI spec, which doesn't include the reasoning_content field (as OpenAI hides it).

I'm a bit redundant to add it to the OpenAI client, as it doesn't seem to be very standard yet (e.g. OpenRouter uses message.reasoning instead and GoogleAI uses thought).

I'll think about it.

@CalsRanna
Copy link
Author

CalsRanna commented Feb 6, 2025

Maybe provide an attribute such as rawMessage to provide the various raw content as a temp fix?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: 📋 Backlog
Development

No branches or pull requests

2 participants