From 3aa63d524ec768205f76c93e983c7953f798b11b Mon Sep 17 00:00:00 2001 From: Ishaan Jaffer Date: Fri, 17 Apr 2026 13:27:47 -0700 Subject: [PATCH] style(github_copilot): simplify _get_github_headers return type annotation --- litellm/llms/github_copilot/authenticator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/litellm/llms/github_copilot/authenticator.py b/litellm/llms/github_copilot/authenticator.py index 85c22516f95..7978ee02a67 100644 --- a/litellm/llms/github_copilot/authenticator.py +++ b/litellm/llms/github_copilot/authenticator.py @@ -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[str, str]: + def _get_github_headers(self, access_token: Optional[str] = None) -> dict: """ Generate standard GitHub headers for API requests.