Skip to content

Conversation

yourlogarithm
Copy link

@yourlogarithm yourlogarithm commented Sep 6, 2025

Added the reasoning content field for the ChatCompletionChunkChoiceDelta:

// A chat completion delta generated by streamed model responses.
type ChatCompletionChunkChoiceDelta struct {
    ...
    ReasoningContent string `json:"reasoning_content,nullable"`
    ...
}

It is present in the json body of SSE events when streaming is enabled.
This is true for the vLLM openai-compatible api at least, so it would be nice to have it here as well.

@yourlogarithm yourlogarithm requested a review from a team as a code owner September 6, 2025 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant