Change Stealth model (#8042)
* Mistral change * Mistral change * Mistral change
This commit is contained in:
19 files changed
+50
-149
No files matched your search
@@ -8,7 +8,6 @@ import { StateManager } from "@/core/storage/StateManager"
|
||||
import {
|
||||
ANTHROPIC_MAX_THINKING_BUDGET,
|
||||
CLAUDE_SONNET_1M_TIERS,
|
||||
clineMicrowaveModelInfo,
|
||||
openRouterClaudeSonnet41mModelId,
|
||||
openRouterClaudeSonnet451mModelId,
|
||||
} from "@/shared/api"
|
||||
@@ -265,23 +264,7 @@ export async function refreshOpenRouterModels(controller: Controller): Promise<R
|
||||
/**
|
||||
* Stealth models are models that are compatible with the OpenRouter API but not listed on the OpenRouter website or API.
|
||||
*/
|
||||
const CLINE_STEALTH_MODELS: Record<string, ModelInfo> = {
|
||||
"stealth/microwave": {
|
||||
maxTokens: clineMicrowaveModelInfo.maxTokens ?? 0,
|
||||
contextWindow: clineMicrowaveModelInfo.contextWindow ?? 0,
|
||||
supportsImages: clineMicrowaveModelInfo.supportsImages ?? false,
|
||||
supportsPromptCache: clineMicrowaveModelInfo.supportsPromptCache ?? false,
|
||||
inputPrice: clineMicrowaveModelInfo.inputPrice ?? 0,
|
||||
outputPrice: clineMicrowaveModelInfo.outputPrice ?? 0,
|
||||
cacheWritesPrice: clineMicrowaveModelInfo.cacheWritesPrice ?? 0,
|
||||
cacheReadsPrice: clineMicrowaveModelInfo.cacheReadsPrice ?? 0,
|
||||
description: clineMicrowaveModelInfo.description ?? "",
|
||||
thinkingConfig: clineMicrowaveModelInfo.thinkingConfig ?? undefined,
|
||||
supportsGlobalEndpoint: clineMicrowaveModelInfo.supportsGlobalEndpoint ?? undefined,
|
||||
tiers: clineMicrowaveModelInfo.tiers,
|
||||
},
|
||||
// Add more stealth models here as needed
|
||||
}
|
||||
const CLINE_STEALTH_MODELS: Record<string, ModelInfo> = {}
|
||||
|
||||
export function appendClineStealthModels(currentModels: Record<string, ModelInfo>): Record<string, ModelInfo> {
|
||||
// Create a shallow clone of the current models to avoid mutating the original object
|
||||
|
||||
Reference in new issue
Block a user