mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
style(github_copilot): apply black formatting
Apply Black formatting to the GitHub Copilot Anthropic Messages tests.
This commit is contained in:
parent
323bf577a6
commit
cb0472ff6f
1 changed files with 1 additions and 3 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue