From cb0472ff6fafe357917e7e0e366ea9067caab55b Mon Sep 17 00:00:00 2001 From: ririnto Date: Sat, 16 May 2026 19:49:02 +0900 Subject: [PATCH] style(github_copilot): apply black formatting Apply Black formatting to the GitHub Copilot Anthropic Messages tests. --- litellm/llms/github_copilot/messages/transformation.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/litellm/llms/github_copilot/messages/transformation.py b/litellm/llms/github_copilot/messages/transformation.py index 17b72a52b49..036544a0cd9 100644 --- a/litellm/llms/github_copilot/messages/transformation.py +++ b/litellm/llms/github_copilot/messages/transformation.py @@ -87,9 +87,7 @@ class GithubCopilotAnthropicMessagesConfig(AnthropicMessagesConfig): The caller-supplied ``api_base`` is intentionally ignored to avoid leaking the Copilot bearer token to a caller-controlled URL. """ - resolved = ( - self.authenticator.get_api_base() or DEFAULT_GITHUB_COPILOT_API_BASE - ) + resolved = self.authenticator.get_api_base() or DEFAULT_GITHUB_COPILOT_API_BASE if not resolved.endswith("/v1/messages"): resolved = f"{resolved}/v1/messages" return resolved