mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-24 00:52:24 +00:00
refactor(proxy): drop redundant CustomLogger import in callback helper
CustomLogger is already imported at module scope (line 6), so the local re-import inside _register_custom_loggers_into_all_callback_lists is redundant. Addresses greptile review note on PR #28357. Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
This commit is contained in:
parent
03477c1b8b
commit
2560f8c52a
1 changed files with 0 additions and 2 deletions
|
|
@ -361,8 +361,6 @@ def _register_custom_loggers_into_all_callback_lists(
|
|||
|
||||
Idempotent: callbacks already present in a list are not added again.
|
||||
"""
|
||||
from litellm.integrations.custom_logger import CustomLogger
|
||||
|
||||
for callback in callbacks:
|
||||
if not isinstance(callback, CustomLogger):
|
||||
continue
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue