diff options
| author | sigoden <sigoden@gmail.com> | 2024-09-14 18:05:29 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-14 18:05:29 +0800 |
| commit | 6211d01a648e941fc69954d0855bcdcef98f27b9 (patch) | |
| tree | 88d3a44b8e6906bbcb39917ea72e5cc3aa5087d6 /src/main.rs | |
| parent | 5a26c59a12e25cc96c6eb44c64395e673207135c (diff) | |
| download | aichat-6211d01a648e941fc69954d0855bcdcef98f27b9.tar.gz | |
feat: add `.save agent-config` repl command (#870)
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 b4b76b6..45d2430 100644 --- a/src/main.rs +++ b/src/main.rs @@ -317,7 +317,7 @@ async fn create_input( } fn setup_logger(is_serve: bool) -> Result<()> { - let (log_level, log_path) = Config::log(is_serve)?; + let (log_level, log_path) = Config::log_config(is_serve)?; if log_level == LevelFilter::Off { return Ok(()); } |
