Skip to content

Commit 161a6a5

Browse files
committed
Relax deepseek-r1 detection so it also includes distilled models
1 parent 29dfe11 commit 161a6a5

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

src/api/providers/openrouter.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -118,8 +118,7 @@ export class OpenRouterHandler implements ApiHandler, SingleCompletionHandler {
118118

119119
// Handle models based on deepseek-r1
120120
if (
121-
this.getModel().id === "deepseek/deepseek-r1" ||
122-
this.getModel().id.startsWith("deepseek/deepseek-r1:") ||
121+
this.getModel().id.startsWith("deepseek/deepseek-r1") ||
123122
this.getModel().id === "perplexity/sonar-reasoning"
124123
) {
125124
// Recommended temperature for DeepSeek reasoning models

0 commit comments

Comments
 (0)