From 0a4c0413ef0154cde2e3485ec0415e6069596a23 Mon Sep 17 00:00:00 2001 From: sigoden Date: Wed, 24 Apr 2024 07:16:56 +0800 Subject: feat: serve all LLMs as OpenAI-compatible API (#431) --- src/repl/mod.rs | 2 -- 1 file changed, 2 deletions(-) (limited to 'src/repl') 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 { - config.write().in_repl = true; - let editor = Self::create_editor(config)?; let prompt = ReplPrompt::new(config); -- cgit v1.2.3