fix: add team_id field to NewMCPServerRequest

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
This commit is contained in:
yuneng-jiang 2026-03-19 17:56:08 -07:00
parent cc7e27e094
commit 971cc2a9af

View file

@ -1144,6 +1144,10 @@ class NewMCPServerRequest(LiteLLMPydanticObjectBase):
None,
description="Server-managed: set by the endpoint; caller values are overridden.",
)
team_id: Optional[str] = Field(
None,
description="Team ID to assign the MCP server to. Required for team MCP managers.",
)
@model_validator(mode="before")
@classmethod