mirror of
https://github.com/open-webui/mcpo
synced 2025-06-26 18:26:58 +00:00
add sse_read_timeout=None back
This commit is contained in:
parent
c34e4c55e5
commit
ee5c129de6
@ -112,7 +112,7 @@ async def lifespan(app: FastAPI):
|
|||||||
await create_dynamic_endpoints(app, api_dependency=api_dependency)
|
await create_dynamic_endpoints(app, api_dependency=api_dependency)
|
||||||
yield
|
yield
|
||||||
if server_type == "sse":
|
if server_type == "sse":
|
||||||
async with sse_client(url=args[0]) as (
|
async with sse_client(url=args[0], sse_read_timeout=None) as (
|
||||||
reader,
|
reader,
|
||||||
writer,
|
writer,
|
||||||
):
|
):
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user