Add support for DeepSeek-R1 (API)
I have been using Openai Compatiable Server to set up my DeepSeek-V3 API access; however, as the DeepSeek-R1 published, I found that the message.choices[0].delta.reasoning_content instead of message.choices[0].delta.content (dont know if same thing happens to OpenAI O1 series models).
Could you manage to fix this issue? Wrap the thinking text into shallow, smaller text like what DeepSeek does might be a good idea (as long as the thinking process could be visible so that people could validate the generated code or text.
My understanding is that OpenAI does not return the reasoning content. I don't have access to the DeepSeek API but it sounds like they are deviating a little bit from the "OpenAI standard".
Does message.choices[0].delta.reasoning_content include both the reasoning content and the final output?
Or is the final output still in message.choices[0].delta.content?
Any chance you can provide an example of the full object returned by DeepSeek's API?