From 786749775114856e147291d3ce22185ea75325ea Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Fri, 17 Apr 2026 13:45:50 -0700 Subject: [PATCH] style(github_copilot): revert authenticator.py to origin/main formatting --- litellm/llms/github_copilot/authenticator.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/litellm/llms/github_copilot/authenticator.py b/litellm/llms/github_copilot/authenticator.py index 6c646c4f755..85c22516f95 100644 --- a/litellm/llms/github_copilot/authenticator.py +++ b/litellm/llms/github_copilot/authenticator.py @@ -26,7 +26,7 @@ GITHUB_API_KEY_URL = "https://api.github.com/copilot_internal/v2/token" class Authenticator: def __init__(self) -> None: - """GitHub Copilot authenticator - sets up configurable token file paths.""" + """Initialize the GitHub Copilot authenticator with configurable token paths.""" # Token storage paths self.token_dir = os.getenv( "GITHUB_COPILOT_TOKEN_DIR", @@ -194,7 +194,7 @@ class Authenticator: if not os.path.exists(self.token_dir): os.makedirs(self.token_dir, exist_ok=True) - def _get_github_headers(self, access_token: Optional[str] = None) -> dict: + def _get_github_headers(self, access_token: Optional[str] = None) -> Dict[str, str]: """ Generate standard GitHub headers for API requests.