chore: update local ai endpoint (#704)
This commit is contained in:
parent
2023334eda
commit
505c11ff35
|
|
@ -241,7 +241,7 @@ impl AppFlowyAIClient {
|
|||
&self,
|
||||
platform: &str,
|
||||
) -> Result<RepeatedLocalAIPackage, AIError> {
|
||||
let url = format!("{}/local_ai/version?platform={platform}", self.url);
|
||||
let url = format!("{}/local_ai/plugin?platform={platform}", self.url);
|
||||
let resp = self.http_client(Method::GET, &url)?.send().await?;
|
||||
AIResponse::<RepeatedLocalAIPackage>::from_response(resp)
|
||||
.await?
|
||||
|
|
|
|||
Loading…
Reference in New Issue