-
Notifications
You must be signed in to change notification settings - Fork 342
Closed
Labels
area: externalThis issue is regarding an external experience, such as a companion service or client.This issue is regarding an external experience, such as a companion service or client.feature-requestCategory: A new feature or enhancement to an existing feature is being requested.Category: A new feature or enhancement to an existing feature is being requested.issue-addressedWorkflow: The OpenAI maintainers believe the issue to be addressed and ready to close.Workflow: The OpenAI maintainers believe the issue to be addressed and ready to close.
Description
Describe the feature or improvement you are requesting
Hello - I understand that reasoning content are not officially part of the chat completion API, but they are supported by the chat completion provided by ollama, and work specifically with OpenAI's gpt-oss models.
https://github.com/ollama/ollama/blob/main/openai/openai.go
type Message struct {
Role string `json:"role"`
Content any `json:"content"`
Reasoning string `json:"reasoning,omitempty"`
ToolCalls []ToolCall `json:"tool_calls,omitempty"`
Name string `json:"name,omitempty"`
ToolCallID string `json:"tool_call_id,omitempty"`
}
The chat completion api of ollama will emit elements with reasoning deltas, in addition to the ones with content.
This can be supported in the C# client with minimal changes to InternalChatCompletionStreamResponseDelta.cs and InternalChatCompletionStreamResponseDelta.Serialization.cs
Thank you for considering adding support for this.
Additional context
No response
Metadata
Metadata
Assignees
Labels
area: externalThis issue is regarding an external experience, such as a companion service or client.This issue is regarding an external experience, such as a companion service or client.feature-requestCategory: A new feature or enhancement to an existing feature is being requested.Category: A new feature or enhancement to an existing feature is being requested.issue-addressedWorkflow: The OpenAI maintainers believe the issue to be addressed and ready to close.Workflow: The OpenAI maintainers believe the issue to be addressed and ready to close.