From b6f9ee31e93d2009afe4deabb3347aee2a9ce40c Mon Sep 17 00:00:00 2001 From: Or Yaacov <48175064+oryaacov@users.noreply.github.com> Date: Wed, 1 Apr 2026 16:37:57 +0300 Subject: [PATCH] Update litellm/llms/anthropic/experimental_pass_through/adapters/transformation.py Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com> --- .../experimental_pass_through/adapters/transformation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/llms/anthropic/experimental_pass_through/adapters/transformation.py b/litellm/llms/anthropic/experimental_pass_through/adapters/transformation.py index d5ff48e22d6..197c1e811e4 100644 --- a/litellm/llms/anthropic/experimental_pass_through/adapters/transformation.py +++ b/litellm/llms/anthropic/experimental_pass_through/adapters/transformation.py @@ -815,7 +815,7 @@ class LiteLLMAnthropicMessagesAdapter: name=truncated_name, ) if "input_schema" in tool: - function_chunk["parameters"] = copy.copy(tool["input_schema"]) # type: ignore + function_chunk["parameters"] = copy.deepcopy(tool["input_schema"]) # type: ignore if "description" in tool: function_chunk["description"] = tool["description"] # type: ignore