Skip to content

fix(models): skip non-policy-gated models in model picker - #305

Merged
jfcherng merged 1 commit into
masterfrom
fix/model-policy
Jul 17, 2026
Merged

fix(models): skip non-policy-gated models in model picker#305
jfcherng merged 1 commit into
masterfrom
fix/model-policy

Conversation

@jfcherng

Copy link
Copy Markdown
Collaborator

copilot/setModelPolicy always fails for models without a modelPolicy field in copilot/models (e.g. auto, completion-only models), so selecting them from the quick panel errored with "Failed to accept model policy". Filter them out before showing the picker.

copilot/setModelPolicy always fails for models without a modelPolicy
field in copilot/models (e.g. auto, completion-only models), so
selecting them from the quick panel errored with "Failed to accept
model policy". Filter them out before showing the picker.

Co-Authored-By: Claude <noreply@anthropic.com>
Signed-off-by: Jack Cherng <jfcherng@gmail.com>
@jfcherng

Copy link
Copy Markdown
Collaborator Author

hopefully fixes #302 (comment)

@jfcherng
jfcherng merged commit 68ea94b into master Jul 17, 2026
2 checks passed
@jfcherng
jfcherng deleted the fix/model-policy branch July 17, 2026 15:26
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