From 86be28b640f746c2190196ea1c96ad18b93b0c00 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Fri, 21 Mar 2025 12:20:21 -0700 Subject: [PATCH] fix: fix linting error --- litellm/llms/anthropic/chat/transformation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/llms/anthropic/chat/transformation.py b/litellm/llms/anthropic/chat/transformation.py index aff70a6e628..1a77c453f40 100644 --- a/litellm/llms/anthropic/chat/transformation.py +++ b/litellm/llms/anthropic/chat/transformation.py @@ -387,7 +387,7 @@ class AnthropicConfig(BaseConfig): _input_schema["additionalProperties"] = True _input_schema["properties"] = {} else: - _input_schema.update(json_schema) + _input_schema.update(cast(AnthropicInputSchema, json_schema)) _tool = AnthropicMessagesTool( name=RESPONSE_FORMAT_TOOL_NAME, input_schema=_input_schema