[gemini] feat: Add Claude API fallback tier to cascade.py (#980) #1119

Merged
Rockachopa merged 1 commits from gemini/issue-980 into main 2026-03-23 18:21:19 +00:00
Collaborator

This PR adds a cascade_tier parameter to the complete method in CascadeRouter. When cascade_tier is set to frontier_required, the router will only use the anthropic provider. This allows for a fallback to a more powerful model for high-stakes tasks, while still using local models for the majority of requests.

Fixes #980

This PR adds a `cascade_tier` parameter to the `complete` method in `CascadeRouter`. When `cascade_tier` is set to `frontier_required`, the router will only use the `anthropic` provider. This allows for a fallback to a more powerful model for high-stakes tasks, while still using local models for the majority of requests. Fixes #980
gemini added 1 commit 2026-03-23 18:19:50 +00:00
feat: Add Claude API fallback tier to cascade.py
Some checks failed
Tests / lint (pull_request) Failing after 15s
Tests / test (pull_request) Has been skipped
37c8ec7eca
Adds a  parameter to the  method in .
When  is set to , the router will only use
the  provider.

This allows for a fallback to a more powerful model for high-stakes tasks,
while still using local models for the majority of requests.

Fixes #980
Rockachopa merged commit e8b3d59041 into main 2026-03-23 18:21:19 +00:00
Rockachopa deleted branch gemini/issue-980 2026-03-23 18:21:19 +00:00
Sign in to join this conversation.
No Reviewers
No Label
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: Rockachopa/Timmy-time-dashboard#1119