docs: SSE keepalive for long tool calls
This commit is contained in:
parent
9620768897
commit
3b1c6160b5
1 changed files with 3 additions and 0 deletions
|
|
@ -56,6 +56,9 @@ refused unless `--allow-origin` names it.
|
|||
scope; docs/credential-broker.md). They reach each tool call as `STOREBOUND_PROFILE_<NAME>_*` env, held in memory for
|
||||
10 minutes and never written. A project picks its profile as usual (the config's `account`).
|
||||
- `project` may also be a folder name under the roots (a shared server keeps its checkouts there).
|
||||
- Long calls: a `tools/call` whose request accepts `text/event-stream` is answered as SSE, with a comment line every
|
||||
20 s until the result arrives as one `message` event, so a proxy that cuts silent responses (Cloudflare: 100 s)
|
||||
keeps the connection. Other requests get plain JSON.
|
||||
- Long calls: a `tools/call` whose request accepts `text/event-stream` is answered as SSE, with a comment line every
|
||||
20 s until the result arrives as one `message` event, so a proxy that cuts silent responses (Cloudflare: 100 s)
|
||||
keeps the connection. Other requests get plain JSON.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue