This commit is contained in:
Yingwen Luo-LUOYW
2026-02-23 09:41:56 +08:00
15 changed files with 608 additions and 73 deletions

View File

@@ -261,6 +261,7 @@ class MCPServerConfig(Base):
env: dict[str, str] = Field(default_factory=dict) # Stdio: extra env vars
url: str = "" # HTTP: streamable HTTP endpoint URL
headers: dict[str, str] = Field(default_factory=dict) # HTTP: Custom HTTP Headers
tool_timeout: int = 30 # Seconds before a tool call is cancelled
class ToolsConfig(Base):