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
@@ -199,7 +199,7 @@ export class ClineHandler implements ApiHandler {
|
||||
// @ts-ignore-next-line
|
||||
let totalCost = (chunk.usage.cost || 0) + (chunk.usage.cost_details?.upstream_inference_cost || 0)
|
||||
|
||||
if (["x-ai/grok-code-fast-1", "minimax/minimax-m2", "stealth/microwave"].includes(this.getModel().id)) {
|
||||
if (["x-ai/grok-code-fast-1", "minimax/minimax-m2", "mistralai/devstral-2512"].includes(this.getModel().id)) {
|
||||
totalCost = 0
|
||||
}
|
||||
|
||||
|
||||
@@ -187,7 +187,7 @@ export async function createOpenRouterStream(
|
||||
openRouterProviderSorting = undefined
|
||||
}
|
||||
|
||||
// Skip reasoning for models that don't support it (e.g., microwave, grok-4)
|
||||
// Skip reasoning for models that don't support it (e.g., devstral, grok-4)
|
||||
const includeReasoning = !shouldSkipReasoningForModel(model.id)
|
||||
|
||||
// @ts-ignore-next-line
|
||||
|
||||
Reference in new issue
Block a user