mirror of
https://github.com/open-webui/open-webui.git
synced 2025-12-12 20:35:19 +00:00
fix: /embed endpoint
This commit is contained in:
parent
ea883b2ed4
commit
53fbb19fa0
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue