diff options
| author | sigoden <sigoden@gmail.com> | 2024-09-08 17:19:00 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-09-08 17:19:00 +0800 |
| commit | 89554e0d4ebcc66442456f07403be2a70a50386b (patch) | |
| tree | 833167109b742e5f8bb12d530c1bd760b16ca01c /src/repl | |
| parent | 5adaa869bfe75a9fa7a7f0ea6f5db902dd8f5eff (diff) | |
| download | aichat-89554e0d4ebcc66442456f07403be2a70a50386b.tar.gz | |
feat: support RAG-scoped rag_top_k and rag_reranker_model (#847)
Diffstat (limited to 'src/repl')
| -rw-r--r-- | src/repl/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/repl/mod.rs b/src/repl/mod.rs index eec43e8..b6c71a9 100644 --- a/src/repl/mod.rs +++ b/src/repl/mod.rs @@ -386,7 +386,7 @@ impl Repl { } ".set" => match args { Some(args) => { - self.config.write().update(args)?; + Config::update(&self.config, args)?; } _ => { println!("Usage: .set <key> <value>...") |
