|
@@ -75,11 +75,9 @@ export namespace ProviderTransform {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
if (
|
|
if (
|
|
|
- model.providerID === "deepseek" ||
|
|
|
|
|
- model.api.id.toLowerCase().includes("deepseek") ||
|
|
|
|
|
- (model.capabilities.interleaved &&
|
|
|
|
|
- typeof model.capabilities.interleaved === "object" &&
|
|
|
|
|
- model.capabilities.interleaved.field === "reasoning_content")
|
|
|
|
|
|
|
+ model.capabilities.interleaved &&
|
|
|
|
|
+ typeof model.capabilities.interleaved === "object" &&
|
|
|
|
|
+ model.capabilities.interleaved.field === "reasoning_content"
|
|
|
) {
|
|
) {
|
|
|
return msgs.map((msg) => {
|
|
return msgs.map((msg) => {
|
|
|
if (msg.role === "assistant" && Array.isArray(msg.content)) {
|
|
if (msg.role === "assistant" && Array.isArray(msg.content)) {
|