Discover local models in GitHub Copilot CLI
GitHub Copilot CLI version 1.0.94-0 adds the /model command to discover and select supported local models without leaving your existing workflow.
GitHub 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.
The post Discover local models in GitHub Copilot CLI appeared first on The GitHub Blog.
Source: original entry ↗
More from GitHub
Follow GitHub to get its new changes in your feed and email digest.
Copilot model policy API for enterprise, orgs, and teams
REST API endpoints now available to retrieve and update Copilot model policies for enterprises, teams, apps, and organizations, enabling centralized policy management at scale.
GitHub Copilot models deprecated
GitHub has deprecated certain models across GitHub Copilot experiences including Chat, inline edits, and code completions, effective October 19, 2026. Users may need to migrate to supported models.
Some Git over HTTPS may temporarily require authentication
GitHub may temporarily require authentication for clones and fetches of public repositories over HTTPS during periods of unusual traffic to protect service availability.