Skip to content

fix: shortens tip message to avoid overflow subtraction #1412

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Apr 29, 2025
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 1 addition & 3 deletions crates/q_chat/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -207,9 +207,7 @@ const ROTATING_TIPS: [&str; 8] = [
color_print::cstr! {"You can use <green!>/compact</green!> to replace the conversation history with its summary to free up the context space"},
color_print::cstr! {"<green!>/usage</green!> shows you a visual breakdown of your current context window usage"},
color_print::cstr! {"If you want to file an issue to the Q CLI team, just tell me, or run <green!>q issue</green!>"},
color_print::cstr! {"You can enable custom tools with <green!>MCP servers</green!>.\
\nPlace a mcp config in ~/.aws/amazonq/mcp.json or /your/current/workspace/.amazonq/mcp.json.\
\nLearn more at https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/what-is.html"},
color_print::cstr! {"You can enable custom tools with <green!>MCP servers</green!>. Learn more with /help"},
];

const GREETING_BREAK_POINT: usize = 67;
Expand Down
Loading