mirror of
https://github.com/RooVetGit/Roo-Code.git
synced 2026-08-28 05:27:24 +00:00
feat: add reasoning support for DeepSeek V3.1 and GLM-4.5 models
- Add supportsReasoningEffort flag to DeepSeek chat and reasoner models - Add supportsReasoningEffort flag to GLM-4.5 and GLM-4.5-air models (both international and mainland) - This enables the reasoning/thinking section visibility for these models when used through OpenAI Compatible provider Fixes #7370
This commit is contained in:
parent
fc70012f54
commit
774afd5d0e
2 changed files with 6 additions and 0 deletions
|
|
@ -11,6 +11,7 @@ export const deepSeekModels = {
|
|||
contextWindow: 128_000,
|
||||
supportsImages: false,
|
||||
supportsPromptCache: true,
|
||||
supportsReasoningEffort: true, // DeepSeek V3.1 supports thinking/reasoning
|
||||
inputPrice: 0.27, // $0.27 per million tokens (cache miss)
|
||||
outputPrice: 1.1, // $1.10 per million tokens
|
||||
cacheWritesPrice: 0.27, // $0.27 per million tokens (cache miss)
|
||||
|
|
@ -22,6 +23,7 @@ export const deepSeekModels = {
|
|||
contextWindow: 128_000,
|
||||
supportsImages: false,
|
||||
supportsPromptCache: true,
|
||||
supportsReasoningEffort: true, // DeepSeek-R1 supports thinking/reasoning
|
||||
inputPrice: 0.55, // $0.55 per million tokens (cache miss)
|
||||
outputPrice: 2.19, // $2.19 per million tokens
|
||||
cacheWritesPrice: 0.55, // $0.55 per million tokens (cache miss)
|
||||
|
|
|
|||
|
|
@ -12,6 +12,7 @@ export const internationalZAiModels = {
|
|||
contextWindow: 131_072,
|
||||
supportsImages: false,
|
||||
supportsPromptCache: true,
|
||||
supportsReasoningEffort: true, // GLM-4.5 supports thinking/reasoning
|
||||
inputPrice: 0.6,
|
||||
outputPrice: 2.2,
|
||||
cacheWritesPrice: 0,
|
||||
|
|
@ -24,6 +25,7 @@ export const internationalZAiModels = {
|
|||
contextWindow: 131_072,
|
||||
supportsImages: false,
|
||||
supportsPromptCache: true,
|
||||
supportsReasoningEffort: true, // GLM-4.5-Air supports thinking/reasoning
|
||||
inputPrice: 0.2,
|
||||
outputPrice: 1.1,
|
||||
cacheWritesPrice: 0,
|
||||
|
|
@ -41,6 +43,7 @@ export const mainlandZAiModels = {
|
|||
contextWindow: 131_072,
|
||||
supportsImages: false,
|
||||
supportsPromptCache: true,
|
||||
supportsReasoningEffort: true, // GLM-4.5 supports thinking/reasoning
|
||||
inputPrice: 0.29,
|
||||
outputPrice: 1.14,
|
||||
cacheWritesPrice: 0,
|
||||
|
|
@ -73,6 +76,7 @@ export const mainlandZAiModels = {
|
|||
contextWindow: 131_072,
|
||||
supportsImages: false,
|
||||
supportsPromptCache: true,
|
||||
supportsReasoningEffort: true, // GLM-4.5-Air supports thinking/reasoning
|
||||
inputPrice: 0.1,
|
||||
outputPrice: 0.6,
|
||||
cacheWritesPrice: 0,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue