Skip to content

Commit 833bf1d

Browse files
authored
fix ollama embedding model response #7451 (#7473)
1 parent 01a108c commit 833bf1d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

litellm/llms/ollama/completion/handler.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ async def ollama_aembeddings(
5252

5353
response = await litellm.module_level_aclient.post(url=url, json=data)
5454

55-
response_json = await response.json()
55+
response_json = response.json()
5656

5757
embeddings: List[List[float]] = response_json["embeddings"]
5858
for idx, emb in enumerate(embeddings):

0 commit comments

Comments
 (0)