Skip to content

Run Local DeepSeek-R1-Distill-Qwen32B on Ollama, Error #611

@jazzlee008

Description

@jazzlee008

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

  1. Setup LLM configuration
  2. Ask Roo to build up bubble sort code
  3. LLM show the code in chat window
  4. Boom, red error showed there
  5. 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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions