mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-04 02:31:27 +00:00
fix(github-copilot): use lazy logging for rejected API bases
This commit is contained in:
parent
2e3bf10647
commit
e9934f5404
1 changed files with 2 additions and 1 deletions
|
|
@ -111,7 +111,8 @@ class Authenticator:
|
|||
if _is_secure_api_base(candidate):
|
||||
return candidate
|
||||
verbose_logger.warning(
|
||||
f"Ignoring {source} because it must be an HTTPS URL without credentials, query, or fragment"
|
||||
"Ignoring %s because it must be an HTTPS URL without credentials, query, or fragment",
|
||||
source,
|
||||
)
|
||||
return None
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue