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:
Ara authored and GitHub committed 2025-10-27 12:26:09 -07:00
1 parent aae9d432fd
commit c7c4e43322
5 files changed
+2 -69

No files matched your search

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