From the course: Terminal-First AI Pair Programming with GitHub Copilot CLI

Unlock this course with a free trial

Join today to access over 25,500 courses taught by industry experts.

Choosing models

Choosing models

- [Instructor] Okay, in this video we're going to answer two questions. What are slash commands in Copilot CLI and how do you choose and switch models using /model? I'm in the terminal here at the root of the repo, and I'm gonna start Copilot CLI in interactive mode. Now the thing to know about Copilot CLI is that you could talk to it like a chat, but you also have these special commands that start with a slash. They're basically control commands that change how Copilot behaves or what it does next. So instead of me typing a long prompt, like, "Hey, Copilot, can you switch to a different model?" There's a built-in command for that. So instead, I'm going to type /model. All right, so this pops open the model picker. And the first thing I wanna call out is your list might look different than mine. That's normal. It depends on what plan you're on. Free tier versus pro, pro plus, and also what models are currently available…

Contents