mirror of
https://github.com/pacnpal/Roo-Code.git
synced 2025-12-20 04:11:10 -05:00
Merge pull request #665 from Szpadel/r1-derivatives-support
Relax deepseek-r1 detection so it also includes distilled models
This commit is contained in:
@@ -118,8 +118,7 @@ export class OpenRouterHandler implements ApiHandler, SingleCompletionHandler {
|
||||
|
||||
// Handle models based on deepseek-r1
|
||||
if (
|
||||
this.getModel().id === "deepseek/deepseek-r1" ||
|
||||
this.getModel().id.startsWith("deepseek/deepseek-r1:") ||
|
||||
this.getModel().id.startsWith("deepseek/deepseek-r1") ||
|
||||
this.getModel().id === "perplexity/sonar-reasoning"
|
||||
) {
|
||||
// Recommended temperature for DeepSeek reasoning models
|
||||
|
||||
Reference in New Issue
Block a user