sync update from LAN repo (source dhk-1 @ 3e87be55)

This commit is contained in:
gozeros committed 2026-10-21 15:06:08 +08:00
1 parent ab6068a7c1
commit 42f2a26fa8
1482 files changed
+227759 -9584

No files matched your search

@@ -78,6 +78,9 @@ async def stateless_stream(body: RunCreateRequest, request: Request) -> Streamin
"Connection": "keep-alive",
"X-Accel-Buffering": "no",
"Content-Location": f"/api/threads/{thread_id}/runs/{record.run_id}",
# The LangGraph SDK prefixes Location with apiUrl (already /api)
# and uses it for Last-Event-ID reconnection after a dropped SSE.
"Location": f"/threads/{thread_id}/runs/{record.run_id}/stream",
},
)