From 81624f7267ba20799a3bbf779abfe41df30d349c Mon Sep 17 00:00:00 2001 From: sigoden Date: Tue, 7 Nov 2023 09:55:06 +0800 Subject: refactor: rename Model.llm_name to name (#216) --- src/client/localai.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/client/localai.rs') 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 { 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 -- cgit v1.2.3