Skip to content

Commit 9f963ff

Browse files
authored
chore: limit tips to model selection for the current release (#164)
* tip * fmt * tip
1 parent a587a3d commit 9f963ff

File tree

1 file changed

+21
-15
lines changed
  • crates/chat-cli/src/cli/chat

1 file changed

+21
-15
lines changed

crates/chat-cli/src/cli/chat/mod.rs

Lines changed: 21 additions & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -405,21 +405,27 @@ const WELCOME_TEXT: &str = color_print::cstr! {"<cyan!>
405405
const SMALL_SCREEN_WELCOME_TEXT: &str = color_print::cstr! {"<em>Welcome to <cyan!>Amazon Q</cyan!>!</em>"};
406406
const RESUME_TEXT: &str = color_print::cstr! {"<em>Picking up where we left off...</em>"};
407407

408-
const ROTATING_TIPS: [&str; 15] = [
409-
color_print::cstr! {"You can resume the last conversation from your current directory by launching with <green!>q chat --resume</green!>"},
410-
color_print::cstr! {"Get notified whenever Q CLI finishes responding. Just run <green!>q settings chat.enableNotifications true</green!>"},
411-
color_print::cstr! {"You can use <green!>/editor</green!> to edit your prompt with a vim-like experience"},
412-
color_print::cstr! {"<green!>/usage</green!> shows you a visual breakdown of your current context window usage"},
413-
color_print::cstr! {"Get notified whenever Q CLI finishes responding. Just run <green!>q settings chat.enableNotifications true</green!>"},
414-
color_print::cstr! {"You can execute bash commands by typing <green!>!</green!> followed by the command"},
415-
color_print::cstr! {"Q can use tools without asking for confirmation every time. Give <green!>/tools trust</green!> a try"},
416-
color_print::cstr! {"You can programmatically inject context to your prompts by using hooks. Check out <green!>/context hooks help</green!>"},
417-
color_print::cstr! {"You can use <green!>/compact</green!> to replace the conversation history with its summary to free up the context space"},
418-
color_print::cstr! {"If you want to file an issue to the Q CLI team, just tell me, or run <green!>q issue</green!>"},
419-
color_print::cstr! {"You can enable custom tools with <green!>MCP servers</green!>. Learn more with /help"},
420-
color_print::cstr! {"You can specify wait time (in ms) for mcp server loading with <green!>q settings mcp.initTimeout {timeout in int}</green!>. Servers that takes longer than the specified time will continue to load in the background. Use /tools to see pending servers."},
421-
color_print::cstr! {"You can see the server load status as well as any warnings or errors associated with <green!>/mcp</green!>"},
422-
color_print::cstr! {"Use <green!>/model</green!> to select the model to use for this conversation"},
408+
// Only show the model-related tip for now to make users aware of this feature.
409+
const ROTATING_TIPS: [&str; 1] = [
410+
// color_print::cstr! {"You can resume the last conversation from your current directory by launching with
411+
// <green!>q chat --resume</green!>"}, color_print::cstr! {"Get notified whenever Q CLI finishes responding.
412+
// Just run <green!>q settings chat.enableNotifications true</green!>"}, color_print::cstr! {"You can use
413+
// <green!>/editor</green!> to edit your prompt with a vim-like experience"}, color_print::cstr!
414+
// {"<green!>/usage</green!> shows you a visual breakdown of your current context window usage"},
415+
// color_print::cstr! {"Get notified whenever Q CLI finishes responding. Just run <green!>q settings
416+
// chat.enableNotifications true</green!>"}, color_print::cstr! {"You can execute bash commands by typing
417+
// <green!>!</green!> followed by the command"}, color_print::cstr! {"Q can use tools without asking for
418+
// confirmation every time. Give <green!>/tools trust</green!> a try"}, color_print::cstr! {"You can
419+
// programmatically inject context to your prompts by using hooks. Check out <green!>/context hooks
420+
// help</green!>"}, color_print::cstr! {"You can use <green!>/compact</green!> to replace the conversation
421+
// history with its summary to free up the context space"}, color_print::cstr! {"If you want to file an issue
422+
// to the Q CLI team, just tell me, or run <green!>q issue</green!>"}, color_print::cstr! {"You can enable
423+
// custom tools with <green!>MCP servers</green!>. Learn more with /help"}, color_print::cstr! {"You can
424+
// specify wait time (in ms) for mcp server loading with <green!>q settings mcp.initTimeout {timeout in
425+
// int}</green!>. Servers that takes longer than the specified time will continue to load in the background. Use
426+
// /tools to see pending servers."}, color_print::cstr! {"You can see the server load status as well as any
427+
// warnings or errors associated with <green!>/mcp</green!>"},
428+
// color_print::cstr! {"Use <green!>/model</green!> to select the model to use for this conversation"},
423429
color_print::cstr! {"Set a default model by running <green!>q settings chat.defaultModel MODEL</green!>. Run <green!>/model</green!> to learn more."},
424430
];
425431

0 commit comments

Comments
 (0)