From d60e485c0347da2c3eeb41c3df242fa9749737ec Mon Sep 17 00:00:00 2001 From: Krish Dholakia Date: Fri, 28 Mar 2025 09:28:09 -0700 Subject: [PATCH 1/2] Update README.md (#9616) --- README.md | 3 --- 1 file changed, 3 deletions(-) diff --git a/README.md b/README.md index 2d2f71e4d1..1c4e148443 100644 --- a/README.md +++ b/README.md @@ -16,9 +16,6 @@ PyPI Version - - CircleCI - Y Combinator W23 From 69e28b92c6d683e4dd34611c362d38626716fe11 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Fri, 28 Mar 2025 09:38:32 -0700 Subject: [PATCH 2/2] fix: fix python38 linting error --- litellm/llms/anthropic/common_utils.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litellm/llms/anthropic/common_utils.py b/litellm/llms/anthropic/common_utils.py index 967d29f454..9eae6734ff 100644 --- a/litellm/llms/anthropic/common_utils.py +++ b/litellm/llms/anthropic/common_utils.py @@ -2,7 +2,7 @@ This file contains common utils for anthropic calls. """ -from typing import Optional, Union +from typing import List, Optional, Union import httpx @@ -41,7 +41,7 @@ class AnthropicModelInfo(BaseLLMModelInfo): def get_models( self, api_key: Optional[str] = None, api_base: Optional[str] = None - ) -> list[str]: + ) -> List[str]: api_base = AnthropicModelInfo.get_api_base(api_base) api_key = AnthropicModelInfo.get_api_key(api_key) if api_base is None or api_key is None: