Build Agentic workflows, RAG pipelines, with rich AI model and tool support on one collaborative workspace. Deploy on cloud, VPC, or self-hosted, so teams move from prototype to production without rebuilding the stack.
Python agentagentic-aiagentic-frameworkagentic-workflowaiautomationclaudedeepseekgenaigptllmlow-codemcpnextjsno-codeopenaipythonskillsworkflow
fix: MCP tool time configuration not work (#28740)
非法操作f9b4c3134441
diff --git a/web/app/components/tools/mcp/modal.tsx b/web/app/components/tools/mcp/modal.tsxindex 68f97703bf3..836fc5e0aa9 100644--- a/web/app/components/tools/mcp/modal.tsx+++ b/web/app/components/tools/mcp/modal.tsx@@ -99,8 +99,8 @@ const MCPModal = ({const [appIcon, setAppIcon] = useState<AppIconSelection>(() => getIcon(data))const [showAppIconPicker, setShowAppIconPicker] = useState(false)const [serverIdentifier, setServerIdentifier] = React.useState(data?.server_identifier || '')- const [timeout, setMcpTimeout] = React.useState(data?.timeout || 30)- const [sseReadTimeout, setSseReadTimeout] = React.useState(data?.sse_read_timeout || 300)+ const [timeout, setMcpTimeout] = React.useState(data?.configuration?.timeout || 30)+ const [sseReadTimeout, setSseReadTimeout] = React.useState(data?.configuration?.sse_read_timeout || 300)const [headers, setHeaders] = React.useState<HeaderItem[]>(Object.entries(data?.masked_headers || {}).map(([key, value]) => ({ id: uuid(), key, value })),)@@ -118,8 +118,8 @@ const MCPModal = ({setUrl(data.server_url || '')setName(data.name || '')setServerIdentifier(data.server_identifier || '')- setMcpTimeout(data.timeout || 30)- setSseReadTimeout(data.sse_read_timeout || 300)+ setMcpTimeout(data.configuration?.timeout || 30)+ setSseReadTimeout(data.configuration?.sse_read_timeout || 300)setHeaders(Object.entries(data.masked_headers || {}).map(([key, value]) => ({ id: uuid(), key, value })))setAppIcon(getIcon(data))setIsDynamicRegistration(data.is_dynamic_registration)