Skip to content

Commit dacbbe3

Browse files
committed
chore: rm dead code
1 parent 89285d8 commit dacbbe3

File tree

1 file changed

+3
-5
lines changed

1 file changed

+3
-5
lines changed

packages/opencode/src/provider/transform.ts

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -75,11 +75,9 @@ export namespace ProviderTransform {
7575
}
7676

7777
if (
78-
model.providerID === "deepseek" ||
79-
model.api.id.toLowerCase().includes("deepseek") ||
80-
(model.capabilities.interleaved &&
81-
typeof model.capabilities.interleaved === "object" &&
82-
model.capabilities.interleaved.field === "reasoning_content")
78+
model.capabilities.interleaved &&
79+
typeof model.capabilities.interleaved === "object" &&
80+
model.capabilities.interleaved.field === "reasoning_content"
8381
) {
8482
return msgs.map((msg) => {
8583
if (msg.role === "assistant" && Array.isArray(msg.content)) {

0 commit comments

Comments
 (0)