Skip to content

fix: pass candidate_model_ids to decide() so router respects registered paths#191

Merged
devonakelley merged 1 commit into
mainfrom
fix/pass-candidate-models-to-decide
May 21, 2026
Merged

fix: pass candidate_model_ids to decide() so router respects registered paths#191
devonakelley merged 1 commit into
mainfrom
fix/pass-candidate-models-to-decide

Conversation

@devonakelley

Copy link
Copy Markdown
Contributor

SDK side of the candidate_model_ids fix. completion() now extracts model IDs from self._paths and passes them to decide() so the backend only picks from models the developer explicitly registered. Also adds candidate_model_ids to the decide() cache key.

…r-registered paths

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@devonakelley
devonakelley merged commit da0c01c into main May 21, 2026
4 checks passed
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