diff --git a/litellm/llms/ollama/completion/handler.py b/litellm/llms/ollama/completion/handler.py index b7608e62fb89..208a9d810cd7 100644 --- a/litellm/llms/ollama/completion/handler.py +++ b/litellm/llms/ollama/completion/handler.py @@ -52,7 +52,7 @@ async def ollama_aembeddings( response = await litellm.module_level_aclient.post(url=url, json=data) - response_json = await response.json() + response_json = response.json() embeddings: List[List[float]] = response_json["embeddings"] for idx, emb in enumerate(embeddings):