Skip to content

chore(ai-gateway): deprecate legacy auto models - #5062

Open
chrarnoldus wants to merge 3 commits into
mainfrom
chore/deprecate-auto-balanced-frontier
Open

chore(ai-gateway): deprecate legacy auto models#5062
chrarnoldus wants to merge 3 commits into
mainfrom
chore/deprecate-auto-balanced-frontier

Conversation

@chrarnoldus

@chrarnoldus chrarnoldus commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Mark Auto Frontier and Auto Balanced as deprecated in their display names.
  • Remove both models from the preferred model list so they are no longer prioritized or recommended.
  • Make Auto Efficient the global client, bot, KiloClaw onboarding, and Organization Auto fallback default.
  • Promote Auto Efficient in the KiloClaw model picker while retaining legacy model support.

Verification

  • Not run per request; validation is deferred to CI.

Visual Changes

The KiloClaw model picker now promotes Auto Efficient instead of Auto Frontier and Auto Balanced.

Reviewer Notes

Existing Auto Balanced and Auto Frontier configurations remain valid; only new defaults and recommendations move to Auto Efficient.

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
@chrarnoldus chrarnoldus self-assigned this Aug 5, 2026
Comment thread apps/web/src/lib/ai-gateway/models.ts
@kilo-code-bot

kilo-code-bot Bot commented Aug 5, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Executive Summary

Incremental review of the latest commit (a formatting-only collapse of the preferred-model import in models.ts) confirms no semantic change and no new issues; prior deprecation-warning thread remains resolved per author fix in 7af75f0.

Files Reviewed (1 file)
  • apps/web/src/lib/ai-gateway/models.ts
Previous Review Summaries (2 snapshots, latest commit 7af75f0)

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

Previous review (commit 7af75f0)

Status: No Issues Found | Recommendation: Merge

Executive Summary

Incremental review of 8 changed files confirms the global client, bot, KiloClaw onboarding, and Organization Auto defaults now route to Auto Efficient, fully resolving the previously flagged partial-deprecation warning, with no new issues introduced.

Files Reviewed (8 files)
  • apps/storybook/stories/claw/AutoModelPicker.stories.tsx
  • apps/web/src/app/(app)/claw/components/AutoModelPicker.tsx
  • apps/web/src/app/(app)/claw/components/ClawOnboardingFlow.tsx
  • apps/web/src/app/api/defaults/route.ts
  • apps/web/src/components/organizations/providers-and-models/DefaultModelDialog.tsx
  • apps/web/src/lib/ai-gateway/auto-model/index.ts
  • apps/web/src/lib/bot/constants.ts
  • apps/web/src/lib/organizations/organization-auto-model.ts

Previous review (commit b8f0336)

Status: 1 Issue Found | Recommendation: Address before merge

Overview

Severity Count
CRITICAL 0
WARNING 1
SUGGESTION 0
Issue Details (click to expand)

WARNING

File Line Issue
apps/web/src/lib/ai-gateway/models.ts 62 Deprecation is partial: /api/defaults still returns kilo-auto/balanced as defaultModel, DEFAULT_BOT_MODEL is still kilo-auto/frontier, and KiloClaw onboarding / org-auto fallbacks still point at the deprecated models — confirm scope or migrate them to kilo-auto/efficient.
Files Reviewed (2 files)
  • apps/web/src/lib/ai-gateway/auto-model/index.ts - 0 issues (display-name-only change; formatName handles the (deprecated) suffix and no code matches on the old names)
  • apps/web/src/lib/ai-gateway/models.ts - 1 issue (preferredModels removal is handled gracefully by all consumers; remaining defaults still reference the deprecated models)

Fix these issues in Kilo Cloud


Reviewed by kimi-k3 · Input: 32.4K · Output: 3.2K · Cached: 193.5K

Review guidance: REVIEW.md from base branch main

chrarnoldus and others added 2 commits August 5, 2026 19:11
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
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.

1 participant