We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
There are several models now whose API responses includes their reasoning as part of the response.
I propose a new ReasoningPart:
ReasoningPart
type ReasoningPart = {reasoning: string};
that can be used to capture reasoning in message responses. So a response might look like:
{ message: { role: "model", content: [ {reasoning: "I am thinking about what I'm going to do..."}, {text: "This is my actual answer."} ] }
The text was updated successfully, but these errors were encountered:
No branches or pull requests
There are several models now whose API responses includes their reasoning as part of the response.
I propose a new
ReasoningPart
:that can be used to capture reasoning in message responses. So a response might look like:
The text was updated successfully, but these errors were encountered: