mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-13 23:11:40 +00:00
make MCP event store bounds plain constants
The documentation CI check requires every os.getenv key to be documented in the litellm-docs config_settings reference; the event store bounds don't need to be operator-tunable, so drop the env lookups instead
This commit is contained in:
parent
841e3ca429
commit
37c75ff43b
1 changed files with 2 additions and 6 deletions
|
|
@ -146,12 +146,8 @@ MCP_PER_USER_TOKEN_EXPIRY_BUFFER_SECONDS = int(
|
|||
|
||||
# Bounds for the in-memory Streamable HTTP event store backing MCP session
|
||||
# resumability (Last-Event-ID replay).
|
||||
MCP_EVENT_STORE_MAX_STREAMS = int(
|
||||
os.getenv("LITELLM_MCP_EVENT_STORE_MAX_STREAMS", "1000")
|
||||
)
|
||||
MCP_EVENT_STORE_MAX_EVENTS_PER_STREAM = int(
|
||||
os.getenv("LITELLM_MCP_EVENT_STORE_MAX_EVENTS_PER_STREAM", "100")
|
||||
)
|
||||
MCP_EVENT_STORE_MAX_STREAMS = 1000
|
||||
MCP_EVENT_STORE_MAX_EVENTS_PER_STREAM = 100
|
||||
|
||||
# MCP timeout defaults (seconds). Override via env vars for slow/custom MCP servers.
|
||||
MCP_CLIENT_TIMEOUT = float(os.getenv("LITELLM_MCP_CLIENT_TIMEOUT", "60.0"))
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue