Skip to content

Commit 5d2c280

Browse files
authored
fix: shortens tip message to avoid overflow subtraction (#1412)
* fix: shortens tip message to avoid overflow subtraction * version bump
1 parent 4cb1fce commit 5d2c280

File tree

4 files changed

+47
-37
lines changed

4 files changed

+47
-37
lines changed

Cargo.lock

+33-33
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ authors = [
1919
edition = "2021"
2020
homepage = "https://aws.amazon.com/q/"
2121
publish = false
22-
version = "1.9.0"
22+
version = "1.9.1"
2323
license = "MIT OR Apache-2.0"
2424

2525
[workspace.dependencies]

crates/q_chat/src/lib.rs

+1-3
Original file line numberDiff line numberDiff line change
@@ -207,9 +207,7 @@ const ROTATING_TIPS: [&str; 8] = [
207207
color_print::cstr! {"You can use <green!>/compact</green!> to replace the conversation history with its summary to free up the context space"},
208208
color_print::cstr! {"<green!>/usage</green!> shows you a visual breakdown of your current context window usage"},
209209
color_print::cstr! {"If you want to file an issue to the Q CLI team, just tell me, or run <green!>q issue</green!>"},
210-
color_print::cstr! {"You can enable custom tools with <green!>MCP servers</green!>.\
211-
\nPlace a mcp config in ~/.aws/amazonq/mcp.json or /your/current/workspace/.amazonq/mcp.json.\
212-
\nLearn more at https://docs.aws.amazon.com/amazonq/latest/qdeveloper-ug/what-is.html"},
210+
color_print::cstr! {"You can enable custom tools with <green!>MCP servers</green!>. Learn more with /help"},
213211
];
214212

215213
const GREETING_BREAK_POINT: usize = 67;

feed.json

+12
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,18 @@
1010
"hidden": true,
1111
"changes": []
1212
},
13+
{
14+
"type": "release",
15+
"date": "2025-04-28",
16+
"version": "1.9.1",
17+
"title": "Version 1.9.1",
18+
"changes": [
19+
{
20+
"type": "fixed",
21+
"description": "Shortens mcp tip to avoid overflow (emergent deployment)"
22+
}
23+
]
24+
},
1325
{
1426
"type": "release",
1527
"date": "2025-04-28",

0 commit comments

Comments
 (0)