From 36d21fecab95d1455d50356c1ccffbf42b7c89b3 Mon Sep 17 00:00:00 2001 From: Jason Andrews Date: Fri, 6 Jun 2025 09:48:51 -0500 Subject: [PATCH] Update Amazon Q CLI to change the model --- content/install-guides/aws-q-cli.md | 27 +++++++++++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/content/install-guides/aws-q-cli.md b/content/install-guides/aws-q-cli.md index b07eebb56d..e9b223296d 100644 --- a/content/install-guides/aws-q-cli.md +++ b/content/install-guides/aws-q-cli.md @@ -206,6 +206,33 @@ based distributions like Ubuntu, which is your preference. Give it a try by asking questions like "How do I install the AWS CLI?" and verify that the answers match the provided context. +## How do I change the model Amazon Q uses? + +When you start `q chat` the model is printed: + +```output +🤖 You are chatting with claude-3.7-sonnet +``` + +You can use the `/model` command to list other available models. + +```console +/model +``` + +The model options are displayed: + +```output +? Select a model for this chat session › +❯ claude-4-sonnet + claude-3.7-sonnet (active) + claude-3.5-sonnet +``` + +Use the arrow keys and select the model you want to use. + +You can ask Amazon Q to set the default model for future sessions. + ## Install an MCP server As an example of using MCP with Amazon Q, you can configure the Github MCP server.