You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Direct curl command to ollama works. Ollama also registes this call. Litellm can not process response
curl -X POST http://localhost:3360/embeddings
-H "Content-Type: application/json"
-d '{
"model": "bge-m3",
"input": "Hello, how are you?"
}'
{"error":{"message":"litellm.APIConnectionError: object dict can't be used in 'await' expression\nTraceback (most recent call last):\n File "/usr/local/lib/python3.13/site-packages/litellm/main.py", line 3149, in aembedding\n response = await init_response # type: ignore\n ^^^^^^^^^^^^^^^^^^^\n File "/usr/local/lib/python3.13/site-packages/litellm/llms/ollama/completion/handler.py", line 55, in ollama_aembeddings\n response_json = await response.json()\n ^^^^^^^^^^^^^^^^^^^^^\nTypeError: object dict can't be used in 'await' expression\n\nReceived Model Group=bge-m3\nAvailable Model Group Fallbacks=None","type":null,"param":null,"code":"500"}}%
The text was updated successfully, but these errors were encountered:
Direct curl command to ollama works. Ollama also registes this call. Litellm can not process response
curl -X POST http://localhost:3360/embeddings
-H "Content-Type: application/json"
-d '{
"model": "bge-m3",
"input": "Hello, how are you?"
}'
{"error":{"message":"litellm.APIConnectionError: object dict can't be used in 'await' expression\nTraceback (most recent call last):\n File "/usr/local/lib/python3.13/site-packages/litellm/main.py", line 3149, in aembedding\n response = await init_response # type: ignore\n ^^^^^^^^^^^^^^^^^^^\n File "/usr/local/lib/python3.13/site-packages/litellm/llms/ollama/completion/handler.py", line 55, in ollama_aembeddings\n response_json = await response.json()\n ^^^^^^^^^^^^^^^^^^^^^\nTypeError: object dict can't be used in 'await' expression\n\nReceived Model Group=bge-m3\nAvailable Model Group Fallbacks=None","type":null,"param":null,"code":"500"}}%
The text was updated successfully, but these errors were encountered: