mirror of
https://github.com/BerriAI/litellm.git
synced 2026-10-03 02:22:24 +00:00
Update litellm/proxy/_experimental/mcp_server/mcp_context.py
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
This commit is contained in:
parent
d15796cfc3
commit
64d381d41a
1 changed files with 2 additions and 0 deletions
|
|
@ -20,6 +20,8 @@ _mcp_gateway_initialize_instructions: ContextVar[Optional[str]] = ContextVar(
|
|||
"_mcp_gateway_initialize_instructions", default=None
|
||||
)
|
||||
|
||||
# Per-request scoped server name; set in MCP HTTP/SSE handlers when the path
|
||||
# identifies exactly one upstream server. Never populated from client-supplied headers.
|
||||
_mcp_gateway_server_name: ContextVar[Optional[str]] = ContextVar(
|
||||
"_mcp_gateway_server_name", default=None
|
||||
)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue