llmQueryStop
Requests that an active BetterForms LLM query stream stop gracefully.
llmQueryStop requests that an active /llm/query stream stop.
Expected Options
Key
Type
Description
options.streamId
string
Stream identifier returned or tracked by the active LLM query flow
Example
{
"action": "llmQueryStop",
"options": {
"streamId": "stream_123"
}
}Behavior Notes
If
streamIdis missing, BetterForms logs a warning and exits gracefully.When
streamIdis present, BetterForms calls thellm/query/stopservice.Failures are handled gracefully so the UI can request stop without needing to trap every stop-state edge case itself.
Related Pages
Last updated
Was this helpful?