You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Feature Request: Configurable lightweight decision model for assisted approval #5608
Describe the feature or problem you'd like to solve
Assisted permissions currently routes safety reviews through a model, but the review model is fixed/selected by Copilot rather than configurable, so every permission request burns a full LLM call (and ~0.1 AI credits or more) even when the decision is simple (e.g. "is this a read-only command?"). High-volume sessions pay for a large reviewer model to answer mostly yes/no questions.
Proposed solution
Allow users and administrators to configure a lightweight "decision model" for the assisted-approval safety review — a small, fast, cheap classifier-style model — distinct from the full LLM used for task reasoning. The reviewer model would: classify a permission request as safe/unsafe/uncertain with a short rationale, remain conservative (uncertain → fall back to manual approval / normal handling), and not consume full-model AI credits (or use a materially cheaper rate). Enterprise managed settings should be able to pin or forbid the decision-model option.
Example prompts or workflows
In a session where agents issue hundreds of routine permission requests per hour, switch the reviewer to a small decision model so routine read-only/listing commands are resolved in milliseconds and near-zero marginal cost, while uncertain or risky requests still escalate to manual approval.
Enterprise fleet policy: pin the safety review to a specific inexpensive model via managed settings so unattended CI/autopilot runs don't burn premium review budget.
Local dev with a model provider: point the reviewer at the small local model already loaded for decisions, reserving the large model for actual coding work.
Additional context
Today the docs say the safety review model is selected by Copilot (default GPT Luna, or the active model with your own provider), with each review consuming AI credits separately from task usage.
A dedicated decision model would reduce review latency, cost, and credit burn with no loss of oversight: escalation behavior (uncertain → prompt/deny) should stay unchanged.
Activity