Skip to content

Disallow fallback to Opus for free models#4534

Merged
chrarnoldus merged 2 commits into
mainfrom
christiaan/free-no-fallback
Jul 14, 2026
Merged

Disallow fallback to Opus for free models#4534
chrarnoldus merged 2 commits into
mainfrom
christiaan/free-no-fallback

Conversation

@chrarnoldus

Copy link
Copy Markdown
Contributor

otherwise a name like anthropic/claude-fable-5:free can bypass the balance check and fall back to Opus

@kilo-code-bot

kilo-code-bot Bot commented Jul 14, 2026

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (1 files)
  • apps/web/src/lib/ai-gateway/providers/apply-provider-specific-logic.test.ts
Previous Review Summary (commit ca170c1)

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

Previous review (commit ca170c1)

Status: 1 Issues 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/providers/apply-provider-specific-logic.ts 101 Existing direct test callers do not await the newly async mutator, so assertions run before mutation and the test suite regresses.
Files Reviewed (1 files)
  • apps/web/src/lib/ai-gateway/providers/apply-provider-specific-logic.ts - 1 issue

Fix these issues in Kilo Cloud


Reviewed by gpt-5.6-sol · Input: 28.7K · Output: 3.5K · Cached: 156.2K

Review guidance: REVIEW.md from base branch main

Co-authored-by: kiloconnect[bot] <240665456+kiloconnect[bot]@users.noreply.github.com>
@chrarnoldus chrarnoldus enabled auto-merge (squash) July 14, 2026 16:25
@chrarnoldus chrarnoldus merged commit 4c6d58e into main Jul 14, 2026
15 checks passed
@chrarnoldus chrarnoldus deleted the christiaan/free-no-fallback branch July 14, 2026 16:32
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