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
The Copilot SDK does not expose a configuration path for generic local inference endpoints (non-Anthropic BYOM). This blocks extensions and integrations from routing agent tasks through local models.
Current State
BYOM support exists but is limited to Anthropic-specific configurations
No mechanism to register arbitrary OpenAI-compatible endpoints as model providers
Subagent dispatch has no local routing path
Impact on Extensions
Extensions like VSCode-LMStudio-Bridge cannot expose local models to the Copilot ecosystem because:
No SDK API for registering custom model providers
No configuration schema for generic inference endpoints
Subagent tasks bypass any local routing entirely
How Other Agents Handle This
Opencode (anomalyco/opencode)
ProviderConfig abstraction with explicit provider registration
Supports llama.cpp, Ollama, and generic OpenAI-compatible endpoints
Provider configuration flows through all dispatch paths including subagents
Codex (openai/codex)
ModelProvider abstraction with routing layer (models_endpoint.rs)
Clean separation between tool execution and model inference
Supports multiple providers including local endpoints
What We Need in the SDK
Model provider registration API: Allow extensions to register custom model providers
Generic endpoint support: Support arbitrary OpenAI-compatible inference endpoints
Provider priority/fallback: Support tiered routing (local first, cloud fallback)
Subagent model inheritance: Ensure subagent tasks respect the session model
Security Implications
Data leakage: Workspace context transmitted to cloud without user consent
Cost opacity: Untracked cloud API usage from subagent tasks
Problem Statement
The Copilot SDK does not expose a configuration path for generic local inference endpoints (non-Anthropic BYOM). This blocks extensions and integrations from routing agent tasks through local models.
Current State
Impact on Extensions
Extensions like VSCode-LMStudio-Bridge cannot expose local models to the Copilot ecosystem because:
How Other Agents Handle This
Opencode (anomalyco/opencode)
ProviderConfigabstraction with explicit provider registrationCodex (openai/codex)
ModelProviderabstraction with routing layer (models_endpoint.rs)What We Need in the SDK
Security Implications
Related Issues
modeloverride both ignored) copilot-cli#3565 — multiplier guard silently downgrades subagent modelAcceptance Criteria