Skip to content

Move Kat Coder 3.5 Pro (free) into recommended models#4591

Open
arimesser wants to merge 2 commits into
mainfrom
feat/recommend-kat-coder-pro-v25-free
Open

Move Kat Coder 3.5 Pro (free) into recommended models#4591
arimesser wants to merge 2 commits into
mainfrom
feat/recommend-kat-coder-pro-v25-free

Conversation

@arimesser

@arimesser arimesser commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

What changed

Adds the free kwaipilot/kat-coder-pro-v2.5 model to the preferredModels array in apps/web/src/lib/ai-gateway/models.ts, positioned directly below 'tencent/hy3:free'.

preferredModels is the global ordered "recommended models" list that drives model ordering in the model picker (model-combobox-options.ts), the organization providers/models page, the Slack bot model allow-list, monitored models, and the models router. Adding the entry here surfaces the free Kat Coder 3.5 Pro model in the recommended models list, immediately below "Tencent: Hy3".

Update: the model is no longer added to autoFreeModels. That array also controls auto-routing free-tier behavior (KILO_AUTO_FREE_MODEL), which is a broader change than intended for this PR. autoFreeModels has been reverted to its original state, and the model is instead added directly in preferredModels (right below the tencent/hy3:free entry that's already spread in from autoFreeModels), so only the recommended-models ordering is affected.

Why

The free version of Kat Coder 3.5 Pro was previously only registered in kiloExclusiveModels (a general free/exclusive model registry) but was not part of the curated recommended list, so it wasn't surfaced to users in the "Recommended" section of the model picker.

Testing

  • Verified the change follows the existing conditional-entry pattern already used in preferredModels/autoFreeModels.
  • Ran pnpm -w exec oxlint --config .oxlintrc.json apps/web/src/lib/ai-gateway/models.ts — 0 warnings/errors.
  • Ran oxfmt on the file — no formatting changes needed.
  • Ran tsgo --noEmit against apps/web — no errors reported for this file.
  • Could not run the full models.test.ts suite: the test suite requires a reachable Postgres instance (docker is unavailable in this sandbox).

Built for Christiaan Arnoldus by Kilo for Slack

Adds the free kwaipilot/kat-coder-pro-v2.5 model to autoFreeModels, positioned directly after 'tencent/hy3:free', so it appears in the global preferredModels (recommended models) list right below Tencent: Hy3.

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
@kilo-code-bot

kilo-code-bot Bot commented Jul 16, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Executive Summary

The follow-up commit reverts the autoFreeModels entry (avoiding an unintended change to auto-routing free-tier behavior) and instead adds kat_coder_pro_v2_5_free_model directly into preferredModels, filtering the duplicate 'tencent/hy3:free' out of the spread and adding a null-filtering type guard; the logic is correct with no duplicate entries, no bugs, and no logic errors in the changed lines.

Files Reviewed (1 files)
  • apps/web/src/lib/ai-gateway/models.ts
Previous Review Summary (commit d13feab)

Current summary above is authoritative. Previous snapshots are kept for context only.

Previous review (commit d13feab)

Status: No Issues Found | Recommendation: Merge

Executive Summary

The change adds kat_coder_pro_v2_5_free_model to autoFreeModels following the exact existing conditional-entry pattern used for stepfun_37_flash_free_model; no bugs, typos, or logic errors found in the changed lines.

Files Reviewed (1 files)
  • apps/web/src/lib/ai-gateway/models.ts

Reviewed by claude-sonnet-5 · Input: 28 · Output: 5.6K · Cached: 620K

Review guidance: REVIEW.md from base branch main

Previously the free Kat Coder 3.5 Pro model (kwaipilot/kat-coder-pro-v2.5)
was added to autoFreeModels, which also affects the auto-routing free-tier
behavior. Revert that and instead surface it only in the curated
preferredModels list, positioned directly below tencent/hy3:free, matching
the intended "recommended models" placement without changing auto-routing.

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>

@chrarnoldus chrarnoldus left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I'll do it manually

@chrarnoldus

Copy link
Copy Markdown
Contributor

#4595 note that the thing is rate limited

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