mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-03 02:22:24 +00:00
fix: move PLR0915 noqa to def line so ruff suppresses it
This commit is contained in:
parent
9ca3e41121
commit
3a91cf0fa1
1 changed files with 2 additions and 2 deletions
|
|
@ -968,8 +968,8 @@ class Logging(LiteLLMLoggingBaseClass):
|
|||
self._get_masked_api_base(additional_args.get("api_base", ""))
|
||||
)
|
||||
|
||||
def pre_call(self, input, api_key, model=None, additional_args=None):
|
||||
additional_args = additional_args or {} # noqa: PLR0915
|
||||
def pre_call(self, input, api_key, model=None, additional_args=None): # noqa: PLR0915
|
||||
additional_args = additional_args or {}
|
||||
# Log the exact input to the LLM API
|
||||
litellm.error_logs["PRE_CALL"] = locals()
|
||||
try:
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue