Public API to stop a running agent prompt or workflow run #252
FredKSchott
started this conversation in
Feature Request
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Summary
Add public endpoints (and matching
@flue/sdkmethods) to stop an in-flight agent prompt and to cancel a running workflow run.Background & Motivation
The public route surface is observe-only today. A client can disconnect from an event stream, but the underlying agent prompt or workflow run keeps executing — and keeps spending tokens. Anyone building a UI on top of Flue (including the planned
@flue/reacthooks) needs an honest "stop" affordance; right now there is no way to provide one, so client APIs must omit it entirely.Goals
POST /agents/:name/:id/stop).POST /runs/:runId/cancel).@flue/sdk.Example
Beta Was this translation helpful? Give feedback.
All reactions