better-monitor-61654
07/04/2026, 12:34 PMpause endpoint for cloud backend, but the interrupt endpoint for local backend.
Why this difference?
I prefer interrupt always, because I want the LLM to stop the inference immediately.
IMO, it should be a) a configuration option, but not hardcoded by kind or b) use interrupt always (since the LLM request can be resumed anyway later).
What do you think?limited-student-10747
07/04/2026, 2:35 PMcalm-artist-7206
07/04/2026, 8:01 PMbland-bear-604
07/04/2026, 8:14 PMgetActiveBackend().backend.kind.
⢠local ā new ConversationClient(...) straight to the agent-server host.
⢠cloud ā callCloudProxy(...), which itself splits: app-host calls go direct (bearer), sandbox/runtime calls tunnel through /api/cloud-proxy with X-Session-API-Key (per-conv runtime hosts aren't the cloud origin).
the pause button is just one instance: cloud pauses the sandbox (graceful, waits for the current LLM call), local calls interrupt (immediate). same affordance, two backend verbs ā so your read was right, and the "move cloud into typescript-client" idea is exactly the seam this wants: pick one adapter per backend once, instead of re-deciding kind in ~15 methods.
diagrams + code links (grounded to 1499376c) on the page.