Skip to content

feat(models): disable giga potato models#1360

Merged
chrarnoldus merged 1 commit intomainfrom
feat/disable-giga-potato-models
Mar 21, 2026
Merged

feat(models): disable giga potato models#1360
chrarnoldus merged 1 commit intomainfrom
feat/disable-giga-potato-models

Conversation

@kilo-code-bot
Copy link
Contributor

@kilo-code-bot kilo-code-bot bot commented Mar 21, 2026

Summary

  • Sets status: 'disabled' on giga_potato_model in src/lib/providers/gigapotato.ts
  • giga_potato_thinking_model inherits disabled status via the object spread, so both models are disabled with a single change
  • Removes giga-potato and giga-potato-thinking entries from the openrouter-models-sorting.approved.json approval snapshot, since disabled models are excluded from the enhanced model list
  • Updates forbiddenFreeModelResponse message from "This is not a free model" to "The free period of this model ended"

Verification

  • pnpm typecheck — passed (no errors)
  • pnpm lint — passed (0 warnings, 0 errors across all packages)
  • pnpm format:check — passed
  • The approval snapshot test (openrouter-models-sorting) was updated to match the new output: disabled models are filtered out by kiloFreeModels.filter(m => m.status === 'public') in getEnhancedOpenRouterModels

Visual Changes

N/A

Reviewer Notes

The giga_potato_thinking_model definition spreads giga_potato_model, so disabling the base model automatically propagates to the thinking variant — no separate status change needed. The preferredModels array already guards against this with a runtime === 'public' check, so giga-potato-thinking is also removed from the preferred list automatically.

@kilo-code-bot
Copy link
Contributor Author

kilo-code-bot bot commented Mar 21, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (3 files)
  • src/lib/llm-proxy-helpers.ts
  • src/lib/providers/gigapotato.ts
  • src/tests/openrouter-models-sorting.approved.json

Reviewed by gpt-5.4-20260305 · 146,259 tokens

@kilo-code-bot kilo-code-bot bot force-pushed the feat/disable-giga-potato-models branch from b16f0ba to dbd8edb Compare March 21, 2026 16:59
@chrarnoldus chrarnoldus merged commit 30ca633 into main Mar 21, 2026
18 checks passed
@chrarnoldus chrarnoldus deleted the feat/disable-giga-potato-models branch March 21, 2026 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants