mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-31 06:56:59 +00:00
fix(xai): annotate error-class overrides and regenerate schema.d.ts with enterprise routes
This commit is contained in:
parent
5b91e1cc73
commit
6d1bdf678a
3 changed files with 4 additions and 2 deletions
|
|
@ -128,7 +128,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,
|
||||
|
|
|
|||
|
|
@ -254,7 +254,7 @@ class XAIResponsesAPIConfig(OpenAIResponsesAPIConfig):
|
|||
return join_api_base(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
|
|
@ -52571,6 +52571,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