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

[Proposal] Reasoning part for thinking models #2489

Open
mbleigh opened this issue Mar 27, 2025 · 0 comments
Open

[Proposal] Reasoning part for thinking models #2489

mbleigh opened this issue Mar 27, 2025 · 0 comments
Labels
feature New feature or request

Comments

@mbleigh
Copy link
Collaborator

mbleigh commented Mar 27, 2025

There are several models now whose API responses includes their reasoning as part of the response.

I propose a new 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."}
    ]
}
@mbleigh mbleigh added the feature New feature or request label Mar 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
Status: No status
Development

No branches or pull requests

1 participant