Remove old models (#7118)
* refactor: remove CodeSupernova model and related code Remove the deprecated cline/code-supernova-1-million model from the codebase: - Delete clineCodeSupernovaModelInfo export from shared API - Remove CodeSupernova model entry from CLINE_STEALTH_MODELS - Remove CodeSupernova announcement UI and related state management - Clean up unused imports (EmptyRequest, AccountServiceClient) - Update import formatting in refreshOpenRouterModels This model is no longer supported and has been replaced by other offerings. * hel * fix: bug fixes
This commit is contained in:
5 files changed
+2
-69
No files matched your search
@@ -184,10 +184,6 @@ export class ClineHandler implements ApiHandler {
|
||||
// @ts-ignore-next-line
|
||||
let totalCost = (chunk.usage.cost || 0) + (chunk.usage.cost_details?.upstream_inference_cost || 0)
|
||||
|
||||
if (this.getModel().id === "cline/code-supernova-1-million") {
|
||||
totalCost = 0
|
||||
}
|
||||
|
||||
if (this.getModel().id === "x-ai/grok-code-fast-1") {
|
||||
totalCost = 0
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user