
Discover local models in GitHub Copilot CLI
Quick Answer
GitHub Copilot CLI version 1.0.94-0 introduces local model discovery via the /model command, allowing users to select models from a running Ollama instance alongside configured and cloud models.
Quick Take
Users can add models for immediate use without restarting the CLI, enhancing workflow flexibility while maintaining existing telemetry and connection options.
Key Points
- Use /model command to discover local models from Ollama in CLI.
- Models must support and streaming for use.
- Connection failures are displayed with explanations in the model picker.
- Local model selection does not enable offline mode or disable telemetry.
- Intelligent routing with local models is coming soon.
📖 Reader Mode
~2 min readGitHub Copilot CLI makes it easier to choose a local model without leaving your existing workflow. Starting in CLI version 1.0.94-0, use /model to discover supported models from a running local Ollama instance, alongside your configured models and cloud models provided by GitHub Copilot.
Discovery doesn’t automatically add models. Choose a discovered model, review its provider and endpoint, then confirm Add and use for this session or Add without switching. You can use the model in your current session without restarting the CLI. Ollama and the model must already be installed—this flow doesn’t install a runtime or download models. Models must support tool calling and streaming.
Provider connection failures appear in the picker with an explanation, helping you identify what needs attention.
This CLI update builds on the same idea as the GitHub Copilot app’s provider experience: choose the model that fits your work. In the app, add a supported provider in Settings > Model providers.
Choosing a local model doesn’t turn on offline mode or disable GitHub telemetry. In the CLI, offline mode remains an explicit choice through COPILOT_OFFLINE=true. A remote provider can still receive prompts and code context over the network, even in offline mode. Follow the CLI provider and offline-mode documentation for configuration and limits.
We’re also announcing intelligent routing with local models. Read the announcement on the Microsoft Command Line blog and stay tuned for availability.
Learn more about setting up your own model provider in the GitHub Copilot app.
— Originally published at github.blog
Want this in your inbox every morning?
Daily brief at your local 8am — bilingual EN/中文, free.
More from GitHub Copilot Changelog
See more →
GitHub Copilot for JetBrains adds improved OpenTelemetry configuration and model management
The latest GitHub Copilot for JetBrains update enhances workflow control with OpenTelemetry configuration, improved model management, and support for servers in Claude agent flows, facilitating better observability and cost control for enterprise users.
