summaryrefslogtreecommitdiffstats
path: root/src/client/localai.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/client/localai.rs')
-rw-r--r--src/client/localai.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/client/localai.rs b/src/client/localai.rs
index eb4de65..ecb0e63 100644
--- a/src/client/localai.rs
+++ b/src/client/localai.rs
@@ -58,7 +58,7 @@ impl LocalAIClient {
fn request_builder(&self, client: &ReqwestClient, data: SendData) -> Result<RequestBuilder> {
let api_key = self.get_api_key().ok();
- let body = openai_build_body(data, self.model.llm_name.clone());
+ let body = openai_build_body(data, self.model.name.clone());
let chat_endpoint = self
.config