Skip to content

Commit 26a4c2b

Browse files
authored
refactor: remove colon from Deprecated auto models prefix (#1062)
## Summary - Remove the colon from the "Deprecated: " prefix on auto model names, changing it to "Deprecated " for cleaner display. - Updated the source logic in `src/lib/kilo-auto-model.ts` and the corresponding approval test snapshot in `src/tests/openrouter-models-sorting.approved.json`. ## Verification - [x] Grepped the entire codebase for `Deprecated: ` — confirmed only an unrelated code comment in `packages/db/src/schema.ts` remains (not an auto model name). - [x] Typecheck (`pnpm typecheck`) could not run due to missing `tsgo` binary in the environment; change is a string literal only, no type impact. ## Visual Changes N/A ## Reviewer Notes Straightforward string change — no logic or type changes. The only remaining `Deprecated: ` in the codebase is a code comment in `packages/db/src/schema.ts:1077` about a deprecated balance field, which is unrelated.
2 parents 3d251f4 + 1105707 commit 26a4c2b

2 files changed

Lines changed: 4 additions & 4 deletions

File tree

src/lib/kilo-auto-model.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -181,7 +181,7 @@ export function deprecatedAutoModelsToPreventNewExtensionModelPickerFromGettingS
181181
return {
182182
...model,
183183
id: legacyId,
184-
name: 'Deprecated: ' + model.name,
184+
name: 'Deprecated ' + model.name,
185185
description: `${legacyId} is deprecated, use ${model.id} instead`,
186186
};
187187
})

src/tests/openrouter-models-sorting.approved.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -765,7 +765,7 @@
765765
},
766766
{
767767
"id": "kilo/auto",
768-
"name": "Deprecated: Kilo Auto Frontier",
768+
"name": "Deprecated Kilo Auto Frontier",
769769
"created": 0,
770770
"description": "kilo/auto is deprecated, use kilo-auto/frontier instead",
771771
"architecture": {
@@ -806,7 +806,7 @@
806806
},
807807
{
808808
"id": "kilo/auto-free",
809-
"name": "Deprecated: Kilo Auto Free",
809+
"name": "Deprecated Kilo Auto Free",
810810
"created": 0,
811811
"description": "kilo/auto-free is deprecated, use kilo-auto/free instead",
812812
"architecture": {
@@ -851,7 +851,7 @@
851851
},
852852
{
853853
"id": "kilo/auto-small",
854-
"name": "Deprecated: Kilo Auto Small",
854+
"name": "Deprecated Kilo Auto Small",
855855
"created": 0,
856856
"description": "kilo/auto-small is deprecated, use kilo-auto/small instead",
857857
"architecture": {

0 commit comments

Comments
 (0)