The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
docs(proxy): describe the /model/info JSON response and regenerate schema.d.ts
yassin3cc6a70466a0
diff --git a/litellm/proxy/proxy_server.py b/litellm/proxy/proxy_server.pyindex 568a3590d26..343be1c98f4 100644--- a/litellm/proxy/proxy_server.py+++ b/litellm/proxy/proxy_server.py@@ -15090,7 +15090,7 @@ async def model_info_v1(`model_info.direct_access` when the proxy database is connected.Returns:- Returns a dictionary containing information about each model.+ A JSON response whose `data` list holds one entry per model.Example Response:```jsondiff --git a/ui/litellm-dashboard/src/lib/http/schema.d.ts b/ui/litellm-dashboard/src/lib/http/schema.d.tsindex f5a1733d76b..a135ca242ad 100644--- a/ui/litellm-dashboard/src/lib/http/schema.d.ts+++ b/ui/litellm-dashboard/src/lib/http/schema.d.ts@@ -8938,7 +8938,7 @@ export interface paths {* `model_info.direct_access` when the proxy database is connected.** Returns:- * Returns a dictionary containing information about each model.+ * A JSON response whose `data` list holds one entry per model.** Example Response:* ```json@@ -16781,7 +16781,6 @@ export interface paths {* - permissions: Optional[dict] - [Not Implemented Yet] User-specific permissions, eg. turning off pii masking.* - metadata: Optional[dict] - Metadata for user, store information for user. Example metadata = {"team": "core-infra", "app": "app2", "email": "[email protected]" }* - max_parallel_requests: Optional[int] - Rate limit a user based on the number of parallel requests. Raises 429 error, if user's parallel requests > x.- * - soft_budget: Optional[float] - Get alerts when user crosses given budget, doesn't block requests.* - model_max_budget: Optional[dict] - Model-specific max budget for user. [Docs](https://docs.litellm.ai/docs/proxy/users#add-model-specific-budgets-to-keys)* - budget_fallbacks: Optional[Dict[str, List[str]]] - Per-model fallback chain tried in order when that model's own `model_max_budget` is exceeded, e.g. {"gpt-4o": ["gpt-4o-mini"]}.* - model_rpm_limit: Optional[float] - Model-specific rpm limit for user. [Docs](https://docs.litellm.ai/docs/proxy/users#add-model-specific-limits-to-keys)@@ -16918,7 +16917,6 @@ export interface paths {* - permissions: Optional[dict] - [Not Implemented Yet] User-specific permissions, eg. turning off pii masking.* - metadata: Optional[dict] - Metadata for user, store information for user. Example metadata = {"team": "core-infra", "app": "app2", "email": "[email protected]" }* - max_parallel_requests: Optional[int] - Rate limit a user based on the number of parallel requests. Raises 429 error, if user's parallel requests > x.- * - soft_budget: Optional[float] - Get alerts when user crosses given budget, doesn't block requests.* - model_max_budget: Optional[dict] - Model-specific max budget for user. [Docs](https://docs.litellm.ai/docs/proxy/users#add-model-specific-budgets-to-keys)* - budget_fallbacks: Optional[Dict[str, List[str]]] - Per-model fallback chain tried in order when that model's own `model_max_budget` is exceeded, e.g. {"gpt-4o": ["gpt-4o-mini"]}.* - model_rpm_limit: Optional[float] - Model-specific rpm limit for user. [Docs](https://docs.litellm.ai/docs/proxy/users#add-model-specific-limits-to-keys)@@ -19117,7 +19115,7 @@ export interface paths {* `model_info.direct_access` when the proxy database is connected.** Returns:- * Returns a dictionary containing information about each model.+ * A JSON response whose `data` list holds one entry per model.** Example Response:* ```json