fix: add oauth2_flow to NewMCPServerRequest and guard auto-detect with token_url

This commit is contained in:
joereyna 2026-03-12 18:21:19 -07:00
parent feee689e87
commit 377b79afae

View file

@ -1123,6 +1123,7 @@ class NewMCPServerRequest(LiteLLMPydanticObjectBase):
authorization_url: Optional[str] = None
token_url: Optional[str] = None
registration_url: Optional[str] = None
oauth2_flow: Optional[str] = None
allow_all_keys: bool = False
available_on_public_internet: bool = True
is_byok: bool = False