mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-17 04:34:25 +00:00
fix(xai): annotate error-class overrides and regenerate schema.d.ts with enterprise routes
This commit is contained in:
parent
86c9ae96fc
commit
2e60bf329e
3 changed files with 4 additions and 2 deletions
|
|
@ -118,7 +118,7 @@ class XAIChatConfig(OpenAIGPTConfig):
|
|||
)
|
||||
|
||||
def get_error_class(
|
||||
self, error_message: str, status_code: int, headers: dict[str, str] | httpx.Headers
|
||||
self, error_message: str, status_code: int, headers: dict | httpx.Headers # mutable-ok: mirrors the base class signature
|
||||
) -> BaseLLMException:
|
||||
return super().get_error_class(
|
||||
error_message=error_message,
|
||||
|
|
|
|||
|
|
@ -256,7 +256,7 @@ class XAIResponsesAPIConfig(OpenAIResponsesAPIConfig):
|
|||
return f"{api_base}/responses"
|
||||
|
||||
def get_error_class(
|
||||
self, error_message: str, status_code: int, headers: dict[str, str] | httpx.Headers
|
||||
self, error_message: str, status_code: int, headers: dict | httpx.Headers # mutable-ok: mirrors the base class signature
|
||||
) -> BaseLLMException:
|
||||
return super().get_error_class(
|
||||
error_message=error_message,
|
||||
|
|
|
|||
2
ui/litellm-dashboard/src/lib/http/schema.d.ts
generated
vendored
2
ui/litellm-dashboard/src/lib/http/schema.d.ts
generated
vendored
|
|
@ -52651,6 +52651,8 @@ export interface operations {
|
|||
object_team_id?: string | null;
|
||||
/** @description Filter by token (key hash) present in before_value or updated_values JSON (PostgreSQL only) */
|
||||
object_key_hash?: string | null;
|
||||
/** @description Match a row whose id, object_id, changed_by, or changed_by_api_key equals this value */
|
||||
search?: string | null;
|
||||
/** @description Column to sort by (e.g. 'updated_at', 'action', 'table_name') */
|
||||
sort_by?: string | null;
|
||||
/** @description Sort order ('asc' or 'desc') */
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue