diff options
Diffstat (limited to 'packages/cli/src/ui/commands/chatCommand.ts')
| -rw-r--r-- | packages/cli/src/ui/commands/chatCommand.ts | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/packages/cli/src/ui/commands/chatCommand.ts b/packages/cli/src/ui/commands/chatCommand.ts index 56eebe1a..14714df3 100644 --- a/packages/cli/src/ui/commands/chatCommand.ts +++ b/packages/cli/src/ui/commands/chatCommand.ts @@ -142,7 +142,7 @@ const saveCommand: SlashCommand = { } const history = chat.getHistory(); - if (history.length > 0) { + if (history.length > 2) { await logger.saveCheckpoint(history, tag); return { type: 'message', |
