From fe8f9b248e25c954747f8eb63eaedbad56f18624 Mon Sep 17 00:00:00 2001 From: shivam Date: Tue, 28 Jul 2026 00:11:23 +0000 Subject: [PATCH] refactor(anthropic): drop docstring per repo comment policy Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> --- litellm/llms/anthropic/chat/transformation.py | 7 ------- 1 file changed, 7 deletions(-) diff --git a/litellm/llms/anthropic/chat/transformation.py b/litellm/llms/anthropic/chat/transformation.py index a9866bc94da..faa13e7fb6f 100644 --- a/litellm/llms/anthropic/chat/transformation.py +++ b/litellm/llms/anthropic/chat/transformation.py @@ -2120,13 +2120,6 @@ class AnthropicConfig(AnthropicModelInfo, BaseConfig): @staticmethod def get_request_inference_geo(params: Mapping[str, Any] | None) -> str | None: - """ - Read the region a request asked to be served from. - - Anthropic echoes ``inference_geo`` on response usage for some surfaces but not all, and the - streamed usage LiteLLM reassembles can lose it, so the requested region keeps geo pricing - keyed on something when the response does not carry one. - """ if not params: return None value: Final = params.get("inference_geo")