mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-10 03:28:53 +00:00
fix: merge upstream (41 commits), resolve .gitignore conflict, fix BLE001
- .gitignore: upstream removed package.json/out/ ignore entries; took theirs - deepkeep.py: added '# noqa: BLE001' on catch-all Exception handler (BLE001 rule newly enforced in ruff-strict-budget) - type_check_gate.py: added _resolve_base() fallback for basedpyright gate - Makefile: removed hard 'git fetch origin' from lint-basedpyright target
This commit is contained in:
parent
0ba8af87eb
commit
d240921fce
1 changed files with 1 additions and 1 deletions
|
|
@ -374,7 +374,7 @@ class DeepKeepGuardrail(CustomGuardrail):
|
|||
)
|
||||
except httpx.RequestError as e:
|
||||
return self._handle_guardrail_request_error(e, inputs, input_type, logging_obj)
|
||||
except Exception as e:
|
||||
except Exception as e: # noqa: BLE001
|
||||
return self._handle_guardrail_request_error(e, inputs, input_type, logging_obj, is_unreachable=False)
|
||||
|
||||
@staticmethod
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue