[Feature Request] Automatically Retry and Resume Tasks on API Stream Failure #2270
oldjs
started this conversation in
1. Feature requests
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.
-
Describe
When using kilocode to execute a multi-step task, the process is often interrupted by an "API stream transmission failed" error, followed by a "terminated" status. This appears to be caused by high load on the underlying AI model's API (seemingly the Claude API).
The main issue is that after this failure, the task does not automatically attempt to recover. I have to manually intervene and re-prompt the assistant to continue its work. This is very inconvenient, especially for complex or long-running tasks.
Steps to Reproduce
dev-docs/redis_cache_guide.md
as shown in the attached screenshot), the underlying API call fails.Expected Behavior
When a temporary API request or stream failure occurs, kilocode should ideally:
Actual Behavior
The task halts completely upon API failure, requiring the user to manually restart or continue the process. This adds friction and disrupts the workflow.
Screenshot

Implementing an automatic recovery mechanism would significantly enhance the stability and user experience of the product. Thank you for considering this suggestion.
Beta Was this translation helpful? Give feedback.
All reactions