mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-10 22:41:41 +00:00
feat(proxy/_types.py): add new extra_headers param support to API request
allows admin to specify which headers they want to forward to the backend MCP server
This commit is contained in:
parent
274c5e963d
commit
562e7a4e03
1 changed files with 1 additions and 0 deletions
|
|
@ -918,6 +918,7 @@ class NewMCPServerRequest(LiteLLMPydanticObjectBase):
|
|||
mcp_info: Optional[MCPInfo] = None
|
||||
mcp_access_groups: List[str] = Field(default_factory=list)
|
||||
allowed_tools: Optional[List[str]] = None
|
||||
extra_headers: Optional[List[str]] = None
|
||||
# Stdio-specific fields
|
||||
command: Optional[str] = None
|
||||
args: List[str] = Field(default_factory=list)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue