From 3eb076edf5254db9c77ed17d6ff34cbcf5ce3330 Mon Sep 17 00:00:00 2001 From: thiswillbeyourgithub <26625900+thiswillbeyourgithub@users.noreply.github.com> Date: Thu, 8 Aug 2024 17:19:17 +0200 Subject: [PATCH] fix: wrong order of arguments for ollama --- litellm/llms/ollama.py | 15 ++++++++------- 1 file changed, 8 insertions(+), 7 deletions(-) diff --git a/litellm/llms/ollama.py b/litellm/llms/ollama.py index 6b984e1d82..f699cf0f5f 100644 --- a/litellm/llms/ollama.py +++ b/litellm/llms/ollama.py @@ -601,12 +601,13 @@ def ollama_embeddings( ): return asyncio.run( ollama_aembeddings( - api_base, - model, - prompts, - optional_params, - logging_obj, - model_response, - encoding, + api_base=api_base, + model=model, + prompts=prompts, + model_response=model_response, + optional_params=optional_params, + logging_obj=logging_obj, + encoding=encoding, ) + )