We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a004da commit f15d287Copy full SHA for f15d287
crates/chat-cli/src/cli/chat/mod.rs
@@ -1193,7 +1193,12 @@ impl ChatSession {
1193
// Check if version changed or if we haven't shown it max times yet
1194
let should_show = match &last_version {
1195
Some(last) if last == current_version => show_count < CHANGELOG_MAX_SHOW_COUNT,
1196
- _ => true, // New version or no previous version
+ Some(_) => true, // New version only
1197
+ None => {
1198
+ // Don't show on first time but record the version
1199
+ os.database.set_changelog_last_version(current_version)?;
1200
+ false
1201
+ },
1202
};
1203
1204
if should_show {
0 commit comments