From 804d58eb205aea7ab6a86ee17b2a733e6ab04e13 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Thu, 14 Dec 2023 15:23:52 -0800 Subject: [PATCH] =?UTF-8?q?bump:=20version=201.14.4=20=E2=86=92=201.14.5.d?= =?UTF-8?q?ev1?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- litellm/llms/bedrock.py | 1 + pyproject.toml | 4 ++-- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/litellm/llms/bedrock.py b/litellm/llms/bedrock.py index 5207c4cca..616b9264e 100644 --- a/litellm/llms/bedrock.py +++ b/litellm/llms/bedrock.py @@ -552,6 +552,7 @@ def _embedding_func_single( ## FORMAT EMBEDDING INPUT ## provider = model.split(".")[0] inference_params = copy.deepcopy(optional_params) + inference_params.pop("user", None) # make sure user is not passed in for bedrock call if provider == "amazon": input = input.replace(os.linesep, " ") data = {"inputText": input, **inference_params} diff --git a/pyproject.toml b/pyproject.toml index 26d913932..e54daa6c5 100644 --- a/pyproject.toml +++ b/pyproject.toml @@ -1,6 +1,6 @@ [tool.poetry] name = "litellm" -version = "1.14.4" +version = "1.14.5.dev1" description = "Library to easily interface with LLM API providers" authors = ["BerriAI"] license = "MIT License" @@ -55,7 +55,7 @@ requires = ["poetry-core", "wheel"] build-backend = "poetry.core.masonry.api" [tool.commitizen] -version = "1.14.4" +version = "1.14.5.dev1" version_files = [ "pyproject.toml:^version" ]