mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-09 03:18:44 +00:00
fix:test_api_error_handling
This commit is contained in:
parent
0d050dc0ea
commit
15a28c7fe2
1 changed files with 1 additions and 1 deletions
|
|
@ -118,7 +118,7 @@ class LassoGuardrail(CustomGuardrail):
|
|||
Falls back to UUID if ULID library is not available.
|
||||
"""
|
||||
if ULID_AVAILABLE and ulid is not None:
|
||||
return str(ulid.new()) # type: ignore
|
||||
return str(ulid.ULID()) # type: ignore
|
||||
else:
|
||||
verbose_proxy_logger.debug("ULID library not available, using UUID")
|
||||
return str(uuid.uuid4())
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue