Roo-Code: Constantly getting error in API Request Failed
Which version of the app are you using?
v3.3.2
Which API Provider are you using?
OpenAI Compatible
Which Model are you using?
Deepseek-{V3,R1}
What happened?
I am constantly getting the error API Request Failed during conversations, the error reported is Cannot read properties of undefined (reading '0').
I am not sure but I think it might be because of parsing the streaming response?
I am able to get multiple responses successfully, but it gets to a point in the conversation where all requests start to return the above error and I need to start a new conversation.
Steps to reproduce
- Start a new conversation
- Send some messages, point to some files & folders relevant to the task
- The model will start doing its thing and eventually hang with the error mentioned.
Relevant API REQUEST output
Cannot read properties of undefined (reading '0')
Additional context
No response
About this issue
- Original URL
- State: closed
- Created 2 years ago
- Reactions: 9
- Comments: 35
has similar bug, set the Deepseek API two days ago and it went well, but after the update, I always stuck at the stage of waiting for API response.
I have this same issue with claude sonnet github version
feels like a war ;D
Pretty sure they serve the models in their own infra.
no, i dont have access
An error occurs again In this case, the length of the request is 0
I should’ve included in the issue description, but my API provider is Deepinfra, so we can’t consider this issue as only happening by contacting directly Deepseek’s servers.
Actually, I just tried curl and some other apps — they’re also getting stuck and timing out. So, most probably, they are experiencing some issues with infrastructure and this is not a block of AI code gens.
Same issue; requests to Deepseek are working as I can do so directly from my scripts. Roo Code however, not working.