mirror of
https://git.mirrors.martin98.com/https://github.com/open-webui/open-webui
synced 2025-08-18 03:35:54 +08:00
fix: /embed endpoint
This commit is contained in:
parent
ea883b2ed4
commit
53fbb19fa0
@ -706,7 +706,7 @@ async def generate_embeddings(
|
||||
url_idx: Optional[int] = None,
|
||||
user=Depends(get_verified_user),
|
||||
):
|
||||
return generate_ollama_batch_embeddings(form_data, url_idx)
|
||||
return await generate_ollama_batch_embeddings(form_data, url_idx)
|
||||
|
||||
|
||||
@app.post("/api/embeddings")
|
||||
|
Loading…
x
Reference in New Issue
Block a user