forked from phoenix/litellm-mirror
use types for ProxyErrorTypes
This commit is contained in:
parent
fad595fd47
commit
c6256284da
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