Rough-in support for deepseeek-style separate reasoning output
This commit is contained in:
@@ -115,7 +115,7 @@ func (c *OllamaClient) CreateChatCompletion(
|
||||
return nil, err
|
||||
}
|
||||
|
||||
return api.NewMessageWithAssistant(completionResp.Message.Content), nil
|
||||
return api.NewMessageWithAssistant(completionResp.Message.Content, ""), nil
|
||||
}
|
||||
|
||||
func (c *OllamaClient) CreateChatCompletionStream(
|
||||
@@ -179,5 +179,5 @@ func (c *OllamaClient) CreateChatCompletionStream(
|
||||
}
|
||||
}
|
||||
|
||||
return api.NewMessageWithAssistant(content.String()), nil
|
||||
return api.NewMessageWithAssistant(content.String(), ""), nil
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user