Skip to content

feat(ai-gateway): route 70% of Auto Free traffic to Space Bunny - #6922

Merged
chrarnoldus merged 2 commits into
mainfrom
increase-space-bunny-auto-free-share
Sep 29, 2026
Merged

chrarnoldus merged 2 commits into
mainfrom
increase-space-bunny-auto-free-share

Conversation

@chrarnoldus

@chrarnoldus chrarnoldus commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Summary

  • Raise the stealth/space-bunny-alpha Auto Free weight from 1 to 7. With the three other Auto Free models at weight 1, Space Bunny now receives 7/10 = 70% of Auto Free selections (previously 25%).
  • When some candidates are filtered out as unavailable, the share is computed over the remaining weights, as before.

Verification

  • Updated the models.test.ts weight test to assert the new weights and the 70% share. Tests run in CI.

@chrarnoldus chrarnoldus self-assigned this Sep 29, 2026
@kilo-code-bot

kilo-code-bot Bot commented Sep 29, 2026 •

Copy link
Copy Markdown
Contributor

Code Review Summary

Status: No Issues Found | Recommendation: Merge

The follow-up change lowers the stealth/space-bunny-alpha Auto Free weight from 12 to 7 and updates the test to assert 70%; with the three other models at weight 1 (total 10), selectAutoFreeCandidate gives a consistent 7/10 = 70% share, and no bugs, security issues, or memory-leak risks were found in the changed code.

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

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

Previous review (commit e6a4a33)

Status: No Issues Found | Recommendation: Merge

The weight change from 1 to 12 is consistent with the selection logic in selectAutoFreeCandidate (total weight 15, giving a 12/15 = 80% share) and the updated test asserts both the new weights and the 0.8 share correctly; no bugs, security issues, or memory-leak risks were found in the changed code.

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

Reviewed by deepseek-v4.1-flash · Input: 0 · Output: 0 · Cached: 0

Review guidance: REVIEW.md from base branch main

@chrarnoldus chrarnoldus changed the title feat(ai-gateway): route 80% of Auto Free traffic to Space Bunny feat(ai-gateway): route 70% of Auto Free traffic to Space Bunny Sep 29, 2026
@chrarnoldus
chrarnoldus merged commit a49cceb into main Sep 29, 2026
28 checks passed
@chrarnoldus
chrarnoldus deleted the increase-space-bunny-auto-free-share branch September 29, 2026 15:02
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