diff options
| author | sigoden <sigoden@gmail.com> | 2024-06-13 07:41:29 +0800 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2024-06-13 07:41:29 +0800 |
| commit | 255b194bcc538b2557caa60c5b607b4c4bfc0abd (patch) | |
| tree | 2a2995f7a33df2d3024f489de4435a06e94dcef8 /src/config/input.rs | |
| parent | 64982b4510e38153885bfd0a78c250110b3e03c5 (diff) | |
| download | aichat-255b194bcc538b2557caa60c5b607b4c4bfc0abd.tar.gz | |
feat: add `.starter` repl command (#594)
Diffstat (limited to 'src/config/input.rs')
| -rw-r--r-- | src/config/input.rs | 2 |
1 files changed, 1 insertions, 1 deletions
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(()); } |
