diff options
| author | sigoden <sigoden@gmail.com> | 2024-04-24 07:16:56 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-04-24 07:16:56 +0800 |
| commit | 0a4c0413ef0154cde2e3485ec0415e6069596a23 (patch) | |
| tree | 02527d5ee4b23b43a34bf90eeb817e1cc066d97c /src/repl/mod.rs | |
| parent | 9c6c9f10a27d0993636b453f39d8934c95c5c2b2 (diff) | |
| download | aichat-0a4c0413ef0154cde2e3485ec0415e6069596a23.tar.gz | |
feat: serve all LLMs as OpenAI-compatible API (#431)
Diffstat (limited to 'src/repl/mod.rs')
| -rw-r--r-- | src/repl/mod.rs | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/repl/mod.rs b/src/repl/mod.rs index 3c0b98b..dd1c735 100644 --- a/src/repl/mod.rs +++ b/src/repl/mod.rs @@ -77,8 +77,6 @@ pub struct Repl { impl Repl { pub fn init(config: &GlobalConfig) -> Result<Self> { - config.write().in_repl = true; - let editor = Self::create_editor(config)?; let prompt = ReplPrompt::new(config); |
