mirror of
https://github.com/BerriAI/litellm.git
synced 2025-04-26 11:14:04 +00:00
use types for ProxyErrorTypes
This commit is contained in:
parent
113f625469
commit
d3fc5d4a17
1 changed files with 5 additions and 0 deletions
|
@ -1641,3 +1641,8 @@ class SpendCalculateRequest(LiteLLMBase):
|
|||
model: Optional[str] = None
|
||||
messages: Optional[List] = None
|
||||
completion_response: Optional[dict] = None
|
||||
|
||||
|
||||
class ProxyErrorTypes(str, enum.Enum):
|
||||
budget_exceeded = "budget_exceeded"
|
||||
auth_error = "auth_error"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue