diff options
| author | sigoden <sigoden@gmail.com> | 2024-05-14 12:43:16 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-05-14 12:43:16 +0800 |
| commit | 79d0bba640d954cd3e6acd7f4e83900eb9d56a1c (patch) | |
| tree | e266ca283735b91bc2964ec4040b088cf7b865ed /src/main.rs | |
| parent | 5284a18248bb8e48eaa4a1e6ddcf73d944d23783 (diff) | |
| download | aichat-79d0bba640d954cd3e6acd7f4e83900eb9d56a1c.tar.gz | |
feat: allow binding model to the role (#505)
Diffstat (limited to 'src/main.rs')
| -rw-r--r-- | src/main.rs | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/main.rs b/src/main.rs index 0511f09..b83d69d 100644 --- a/src/main.rs +++ b/src/main.rs @@ -97,6 +97,7 @@ async fn main() -> Result<()> { } if let Some(model) = &cli.model { config.write().set_model(model)?; + config.write().set_model_id(); } if cli.save_session { config.write().set_save_session(Some(true)); |
