You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
feat(api): integrate external abort signal with internal controllers
Previously, these three providers used their own AbortControllers but did not
listen to the external abort signal from the Task execution chain. This meant
clicking stop would not immediately cancel requests to these providers. Now all
providers consistently respect the user's stop action.
Also add optional metadata parameter with abortSignal to completePrompt methods
across 22 provider implementations:
- Anthropic, Anthropic Vertex, Base OpenAI Compatible
- Gemini/Vertex, LiteLLM, LM Studio, MiniMax, Mistral
- Native Ollama, OpenAI, OpenAI Compatible, OpenRouter
- Qwen Code, Requesty, Unbound, Vercel AI Gateway
- Opencode Go, xAI, Zoo Gateway, VSCode LM, Poe, Bedrock
Add abortSignal tests for all modified providers.
- Add comment explaining Mistral completePrompt does not support non-streaming abort (Mistral SDK limitation)
0 commit comments