Stop a streaming text completion
One step with Dify. We can help you get access.
Get something done
Stop a streaming text completion
with Dify
Use Dify: its Dify Service Completion Messages API lets you stop a streaming text completion in a single step (POST /completion-messages/{task_id}/stop). capabilities.work can help you get signed up and connected.
- Can I cancel a text generator completion that is still streaming?
- What stops a runaway completion task in my text generation app?
Say it to your AI assistant
- Stop completion task {task_id} for user {user}.
- Halt the text generator output for task {task_id} started by {user}.
For your developer
POST /completion-messages/{task_id}/stop in Dify Service Completion Messages API. Full spec on APIs.io.