Improve Model Session Stability During High Demand
Feature Description
Currently, when the selected AI model is experiencing high traffic, users are prompted to switch models and re-run their prompts:
"The model you've selected is experiencing a high volume of traffic. Try changing the model and re-running your prompt."
This becomes problematic when an AI Agent is actively working on code. If the session is interrupted due to model unavailability, it often leaves code in a partially modified or broken state, resulting in incomplete changes that can be difficult to recover from.
Ensuring that active sessions are prioritized would greatly improve reliability and user experience during critical operations.
Use Case
Once an AI Agent session has begun, especially during an active code-editing operation, the platform should prioritize and preserve that session's continuity—even during high-demand periods. Cutting off an in-progress session increases the risk of broken code and disrupts the development workflow.
Additional Context
No response
I've experienced this issue as well. It often leads to broken code that is hard to recover from without discarding the changes and starting over.
I've experienced this issue as well. It often leads to broken code that is hard to recover from without discarding the changes and starting over.
On point. That's why I suggested this feature. Hope devs will hear us.
I have found that I am able to recover the task implementation by adding the prompt "Please continue with the task" instead of clicking the "Retry" button or "Retry" on the task. The status on the task is left in the "Error implementing task" state, but the agent will continue and finish the work. Once the task is finished it properly updates the task to "Task Complete". This has been reliable so far and has allowed me to continue and finish interrupted tasks.
Hello, @vnedyalk0v 👋 and thanks for opening this issue. We're aware of the root cause here and consolidating all issues tied to throttling (due to the high demand) in issue #413. Please follow/upvote that issue to help it gain traction and to receive updates.
CC: @jeastman and @afonseca08