forked from phoenix/litellm-mirror
add LiteLLM_ErrorLogs to types
This commit is contained in:
parent
d6f7fa7f4e
commit
ac1cabe963
1 changed files with 10 additions and 0 deletions
|
@ -912,5 +912,15 @@ class LiteLLM_SpendLogs(LiteLLMBase):
|
|||
request_tags: Optional[Json] = None
|
||||
|
||||
|
||||
class LiteLLM_ErrorLogs(LiteLLMBase):
|
||||
request_id: Optional[str] = str(uuid.uuid4())
|
||||
model_name: Optional[str] = ""
|
||||
model_id: Optional[str] = ""
|
||||
request_kwargs: Optional[dict] = {}
|
||||
exception_type: Optional[str] = ""
|
||||
status_code: Optional[str] = ""
|
||||
exception_string: Optional[str] = ""
|
||||
|
||||
|
||||
class LiteLLM_SpendLogs_ResponseObject(LiteLLMBase):
|
||||
response: Optional[List[Union[LiteLLM_SpendLogs, Any]]] = None
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue