diff options
| author | sigoden <sigoden@gmail.com> | 2024-03-27 10:02:09 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-03-27 10:02:09 +0800 |
| commit | bd9a6a87254bb2748beb9cd3b58ea15be6c9686c (patch) | |
| tree | b43837c1efa48a63a807ea5689f706c080d77c04 /src/main.rs | |
| parent | a05c46253125a92a9c071e7310835dec2a06c0fc (diff) | |
| download | aichat-bd9a6a87254bb2748beb9cd3b58ea15be6c9686c.tar.gz | |
feat: `save_session` config item can be null (#380)
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/main.rs b/src/main.rs index 8abca98..dc64a34 100644 --- a/src/main.rs +++ b/src/main.rs @@ -76,7 +76,7 @@ fn main() -> Result<()> { config.write().set_model(model)?; } if cli.save_session { - config.write().set_save_session(true); + config.write().set_save_session(Some(true)); } if cli.no_highlight { config.write().highlight = false; |
