Skip to content

Disable Grok Code Fast 1 Optimized free model#303

Open
kiloconnect[bot] wants to merge 1 commit intomainfrom
disable-grok-code-optimized
Open

Disable Grok Code Fast 1 Optimized free model#303
kiloconnect[bot] wants to merge 1 commit intomainfrom
disable-grok-code-optimized

Conversation

@kiloconnect
Copy link
Contributor

@kiloconnect kiloconnect bot commented Feb 17, 2026

Disables the Grok Code Fast 1 Optimized free model by setting is_enabled: false in the model configuration.

Changes

  • Set is_enabled: false for grok_code_fast_1_optimized_free_model in src/lib/providers/xai.ts
  • Removed the model entry from the approved test snapshot (src/tests/openrouter-models-sorting.approved.json)

With is_enabled: false:

  • The model is no longer injected into the OpenRouter models list
  • The preferredModels array falls back to 'x-ai/grok-code-fast-1' (the non-free variant)
  • isFreeModel(), isRateLimitedModel(), and isDataCollectionRequiredOnKiloCodeOnly() all skip disabled models

Built for Christiaan by Kilo for Slack

Set is_enabled to false for grok_code_fast_1_optimized_free_model and
remove the model from the approved test snapshot.
@kiloconnect
Copy link
Contributor Author

kiloconnect bot commented Feb 17, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Simple, clean change that disables the Grok Code Fast 1 Optimized free model by setting is_enabled: false and removes the corresponding entry from the test snapshot. The PR description accurately describes the downstream effects.

Files Reviewed (2 files)
  • src/lib/providers/xai.ts - is_enabled toggled from true to false
  • src/tests/openrouter-models-sorting.approved.json - removed disabled model from snapshot

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.

0 participants