-
Notifications
You must be signed in to change notification settings - Fork 2.6k
Description
Which version of the app are you using?
VSCode 1.96.4, Roo-Code 3.3.4
Which API Provider are you using?
Ollama
Which Model are you using?
DeepSeek-R1-Distill-Qwen32B download from huggingface
What happened?
The local LLM can answer the first question and showed API Streaming Failed after that.
Error messages:
API Streaming Failed
Cannot read properties of undefined (reading 'type')
[TASK RESUMPTION] This task was interrupted just now. It may or may not be complete, so please reassess the task context. Be aware that the project state may have changed since then. The current working directory is now 'e:/mycoding/python/AutoPG'. If the task has not been completed, retry the last step before interruption and proceed with completing the task.
Note: If you previously attempted a tool use that the user did not provide a result for, you should assume the tool use was not successful and assess whether you should retry. If the last tool was a browser_action, the browser has been closed and you must launch a new browser if needed.
IMPORTANT: If the last tool use was a write_to_file that was interrupted, the file was reverted back to its original state before the interrupted edit, and you do NOT need to re-read the file as you already have its up-to-date contents.
<environment_details>
VSCode Visible Files
bubble_sort.py
VSCode Open Tabs
bubble_sort.py
Current Time
1/28/2025, 1:46:19 PM (Asia/Shanghai, UTC+8:00)
Current Mode
code
Current Working Directory (e:/mycoding/python/AutoPG) Files
bubble_sort.py
</environment_details>
Steps to reproduce
- Setup LLM configuration
- Ask Roo to build up bubble sort code
- LLM show the code in chat window
- Boom, red error showed there
- At same situation, Google Gemini was running well
Relevant API REQUEST output
[TASK RESUMPTION] This task was interrupted just now. It may or may not be complete, so please reassess the task context. Be aware that the project state may have changed since then. The current working directory is now 'e:/mycoding/python/AutoPG'. If the task has not been completed, retry the last step before interruption and proceed with completing the task.
Note: If you previously attempted a tool use that the user did not provide a result for, you should assume the tool use was not successful and assess whether you should retry. If the last tool was a browser_action, the browser has been closed and you must launch a new browser if needed.
IMPORTANT: If the last tool use was a write_to_file that was interrupted, the file was reverted back to its original state before the interrupted edit, and you do NOT need to re-read the file as you already have its up-to-date contents.
<environment_details>
# VSCode Visible Files
bubble_sort.py
# VSCode Open Tabs
bubble_sort.py
# Current Time
1/28/2025, 1:46:19 PM (Asia/Shanghai, UTC+8:00)
# Current Mode
code
# Current Working Directory (e:/mycoding/python/AutoPG) Files
bubble_sort.py
</environment_details>Additional context
No response