mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-12 23:01:41 +00:00
Update litellm/llms/anthropic/experimental_pass_through/adapters/transformation.py
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
b0a37e59e7
commit
b6f9ee31e9
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue