Skip to content

fix(models): exclude gemini-3.1-pro-preview from models/up health check#2404

Merged
markijbema merged 1 commit intomainfrom
fix/reintroduce-model-health-exclusion
Apr 14, 2026
Merged

fix(models): exclude gemini-3.1-pro-preview from models/up health check#2404
markijbema merged 1 commit intomainfrom
fix/reintroduce-model-health-exclusion

Conversation

@kilo-code-bot
Copy link
Copy Markdown
Contributor

@kilo-code-bot kilo-code-bot bot commented Apr 14, 2026

Summary

Reintroduces the health-check exclusion for google/gemini-3.1-pro-preview from #2388, which was lost during a subsequent change. The preview model has inconsistent traffic that causes false alerts in /api/models/up. The exclusion is scoped to the health-check route only — the model remains in preferredModels and is still marked as recommended.

Verification

  • pnpm format — passed, no formatting changes
  • pnpm typecheck — no new errors introduced
  • Verified preferredModels in models.ts is unchanged

Visual Changes

N/A

Reviewer Notes

The exclusion is implemented as a Set (HEALTH_CHECK_EXCLUSIONS) so additional models can easily be excluded in the future without touching preferredModels.

introduce HEALTH_CHECK_EXCLUSIONS and apply filter to monitored models
@markijbema markijbema enabled auto-merge (squash) April 14, 2026 11:56
@kilo-code-bot
Copy link
Copy Markdown
Contributor Author

kilo-code-bot bot commented Apr 14, 2026

Code Review Summary

Status: No Issues Found | Recommendation: Merge

Files Reviewed (1 files)
  • apps/web/src/app/api/models/up/route.ts

Reviewed by gpt-5.4-20260305 · 132,893 tokens

@markijbema markijbema merged commit d86376d into main Apr 14, 2026
15 checks passed
@markijbema markijbema deleted the fix/reintroduce-model-health-exclusion branch April 14, 2026 12:00
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.

3 participants