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 c1a4b81 commit d5da2afCopy full SHA for d5da2af
crates/chat-cli/src/cli/chat/mod.rs
@@ -1186,7 +1186,13 @@ impl ChatSession {
1186
// Check if version changed or if we haven't shown it max times yet
1187
let should_show = match &last_version {
1188
Some(last) if last == current_version => show_count < CHANGELOG_MAX_SHOW_COUNT,
1189
- _ => true, // New version or no previous version
+ Some(_) => true, // New version only
1190
+ None => {
1191
+ // Don't show on first time but record the version
1192
+ os.database.set_changelog_last_version(current_version)?;
1193
+ os.database.set_changelog_show_count(0)?;
1194
+ false
1195
+ },
1196
};
1197
1198
if should_show {
0 commit comments