mirror of
https://gitee.com/wanwujie/deer-flow
synced 2026-04-23 14:14:46 +08:00
fix: Add streamable MCP server support (#468)
* fix: Add streamable MCP server support(#349) * “Revert-timeout” * fix lint and test check * modify streamable error notify --------- Co-authored-by: Willem Jiang <willem.jiang@gmail.com>
This commit is contained in:
@@ -47,6 +47,11 @@ export const MCPConfigSchema = z.object({
|
||||
message: "`env` must be an object of key-value pairs",
|
||||
})
|
||||
.optional(),
|
||||
transport: z
|
||||
.enum(["sse", "streamable_http"], {
|
||||
message: "transport must be either sse or streamable_http"
|
||||
})
|
||||
.default("sse"),
|
||||
}),
|
||||
],
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user