From 744733ac2d79186241d4d5bc38542b3627145086 Mon Sep 17 00:00:00 2001 From: Deepanshu Date: Thu, 27 Aug 2026 18:38:42 -0400 Subject: [PATCH] chore(proxy): regenerate the stale lazy OpenAPI snapshot and dashboard schema.d.ts CI's "Check UI API Types Sync" job failed on d6d68f866e: the frozen litellm/proxy/_lazy_openapi_snapshot.json (used to serve /openapi.json for routes not imported in the current process) had drifted out of sync with the actual lazily-loaded routes/models already present in this branch's code (e.g. MCPCredentials.upstream_token_header, a2a_registration). Unrelated to this PR's own tag-rate-limiting changes -- regenerating via `python -m litellm.proxy._lazy_openapi_snapshot` then `npm run gen:api` (both commands CI's own failure message names) brings both frozen artifacts back in sync with the code already on this branch. --- litellm/proxy/_lazy_openapi_snapshot.json | 35 +++++++++++++++++++ ui/litellm-dashboard/src/lib/http/schema.d.ts | 5 +++ 2 files changed, 40 insertions(+) diff --git a/litellm/proxy/_lazy_openapi_snapshot.json b/litellm/proxy/_lazy_openapi_snapshot.json index 1963c7799a2..040d258f97a 100644 --- a/litellm/proxy/_lazy_openapi_snapshot.json +++ b/litellm/proxy/_lazy_openapi_snapshot.json @@ -10238,6 +10238,18 @@ "description": "AWS Bedrock runtime endpoint URL", "title": "Aws Bedrock Runtime Endpoint" }, + "aws_external_id": { + "anyOf": [ + { + "type": "string" + }, + { + "type": "null" + } + ], + "description": "External ID required by the target role's trust policy on sts:AssumeRole", + "title": "Aws External Id" + }, "aws_profile_name": { "anyOf": [ { @@ -25237,6 +25249,9 @@ }, { "$ref": "#/components/schemas/ChatCompletionImageObject" + }, + { + "$ref": "#/components/schemas/ChatCompletionToolReferenceObject" } ] }, @@ -25324,6 +25339,26 @@ "title": "ChatCompletionToolParamFunctionChunk", "type": "object" }, + "ChatCompletionToolReferenceObject": { + "description": "Anthropic tool-search result block, carried through untouched so it survives a round trip.", + "properties": { + "tool_name": { + "title": "Tool Name", + "type": "string" + }, + "type": { + "const": "tool_reference", + "title": "Type", + "type": "string" + } + }, + "required": [ + "type", + "tool_name" + ], + "title": "ChatCompletionToolReferenceObject", + "type": "object" + }, "ChatCompletionUserMessage": { "properties": { "cache_control": { diff --git a/ui/litellm-dashboard/src/lib/http/schema.d.ts b/ui/litellm-dashboard/src/lib/http/schema.d.ts index 9a968e53fde..511cf3c0013 100644 --- a/ui/litellm-dashboard/src/lib/http/schema.d.ts +++ b/ui/litellm-dashboard/src/lib/http/schema.d.ts @@ -29466,6 +29466,11 @@ export interface components { * @description AWS Bedrock runtime endpoint URL */ aws_bedrock_runtime_endpoint?: string | null; + /** + * Aws External Id + * @description External ID required by the target role's trust policy on sts:AssumeRole + */ + aws_external_id?: string | null; /** * Aws Profile Name * @description AWS profile name for credential retrieval