From 255b194bcc538b2557caa60c5b607b4c4bfc0abd Mon Sep 17 00:00:00 2001 From: sigoden Date: Thu, 13 Jun 2024 07:41:29 +0800 Subject: feat: add `.starter` repl command (#594) --- src/config/input.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/config/input.rs') diff --git a/src/config/input.rs b/src/config/input.rs index 1686245..0c93c1f 100644 --- a/src/config/input.rs +++ b/src/config/input.rs @@ -129,7 +129,7 @@ impl Input { self.text = text; } - pub async fn maybe_embeddings(&mut self, abort_signal: AbortSignal) -> Result<()> { + pub async fn use_embeddings(&mut self, abort_signal: AbortSignal) -> Result<()> { if self.text.is_empty() { return Ok(()); } -- cgit v1.2.3