mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-19 00:01:29 +00:00
fix(logging): satisfy callback constructor type gate
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
10d7cdd0a8
commit
0bcea2dcfe
1 changed files with 1 additions and 1 deletions
|
|
@ -4300,7 +4300,7 @@ def _construct_custom_logger_compatible_class(
|
|||
custom_logger_init_args: dict | None = None, # mutable-ok: callback constructor API
|
||||
) -> CustomLogger | None:
|
||||
try:
|
||||
resolved_custom_logger_init_args: Final[dict] = ( # mutable-ok: callback constructor API
|
||||
custom_logger_init_args = ( # rebind-ok: callback constructors require normalized kwargs
|
||||
custom_logger_init_args or {}
|
||||
)
|
||||
if logging_integration == "agentops": # Add AgentOps initialization
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue