Change Stealth model (#8042)

* Mistral change

* Mistral change

* Mistral change
This commit is contained in:
Ara authored and GitHub committed 2025-12-11 11:25:31 -08:00
1 parent d811a9d5f3
commit 1d8a9bf11e
19 files changed
+50 -149

No files matched your search

+1 -1
View File
@@ -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
}
+1 -1
View File
@@ -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