Skip to content

Commit e2fb032

Browse files
Merge pull request #2014 from jasonrandrews/review
Update Amazon Q CLI to change the model
2 parents 7bc87b6 + 36d21fe commit e2fb032

File tree

1 file changed

+27
-0
lines changed

1 file changed

+27
-0
lines changed

content/install-guides/aws-q-cli.md

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -206,6 +206,33 @@ based distributions like Ubuntu, which is your preference.
206206

207207
Give it a try by asking questions like "How do I install the AWS CLI?" and verify that the answers match the provided context.
208208

209+
## How do I change the model Amazon Q uses?
210+
211+
When you start `q chat` the model is printed:
212+
213+
```output
214+
🤖 You are chatting with claude-3.7-sonnet
215+
```
216+
217+
You can use the `/model` command to list other available models.
218+
219+
```console
220+
/model
221+
```
222+
223+
The model options are displayed:
224+
225+
```output
226+
? Select a model for this chat session ›
227+
❯ claude-4-sonnet
228+
claude-3.7-sonnet (active)
229+
claude-3.5-sonnet
230+
```
231+
232+
Use the arrow keys and select the model you want to use.
233+
234+
You can ask Amazon Q to set the default model for future sessions.
235+
209236
## Install an MCP server
210237

211238
As an example of using MCP with Amazon Q, you can configure the Github MCP server.

0 commit comments

Comments
 (0)