From 012069891dfe2950da94a7d2f057d23589a73272 Mon Sep 17 00:00:00 2001 From: Slavi Pantaleev Date: Wed, 18 Sep 2024 08:53:33 +0300 Subject: [PATCH] Adjust incorrect comment [skip ci] --- src/agent/provider/localai/mod.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/src/agent/provider/localai/mod.rs b/src/agent/provider/localai/mod.rs index 2eb445c..5f0e49a 100644 --- a/src/agent/provider/localai/mod.rs +++ b/src/agent/provider/localai/mod.rs @@ -1,6 +1,5 @@ -// LocalAI is based on OpenAI (async-openai), because it seems to be fully compatible. -// Moreover, openai_api_rust does not support speech-to-text, so if we wish to use this feature -// we need to stick to async-openai. +// At the time of testing, LocalAI can be powered by `openai`, but we use `openai_compat` for better reliability +// in the event of future updates to `async-openai`. use super::openai_compat::Config;