Skip to content
This repository was archived by the owner on Sep 18, 2025. It is now read-only.
This repository was archived by the owner on Sep 18, 2025. It is now read-only.

POST "http://127.0.0.1:11434/v1/chat/completions": 400 Bad Request {"message":"registry.ollama.ai/library/deepseek-r1:8b does not support tools","type":"api_error","param":null,"code":null} #326

Description

Reopening This.

Here is my config.

{
"data": {
"directory": ".opencode"
},
"providers": {
},
"lsp": {
"go": {
"enabled": false,
"command": "/usr/bin/gopls",
"args": null,
"options": null
}
},
"agents": {
"coder": {
"model": "local.deepseek-r1:8b",
"maxTokens": 5000,
"reasoningEffort": "high"
},
"summarizer": {
"model": "local.deepseek-r1:8b",
"maxTokens": 80,
"reasoningEffort": "medium"
},
"task": {
"model": "local.deepseek-r1:8b",
"maxTokens": 5000,
"reasoningEffort": "high"
},
"title": {
"model": "local.deepseek-r1:8b",
"maxTokens": 80,
"reasoningEffort": "medium"
}
},
"tui": {
"theme": "opencode"
},
"shell": {
"path": "/bin/zsh",
"args": [
"-l"
]
},
"autoCompact": true
}

I have deepseek r1 installed and up with ollama and exported LOCAL_ENDPOINT=http://127.0.0.1:11434/v1/

Not sure why I am still getting this error when trying to make a call

POST "http://127.0.0.1:11434/v1/chat/completions": 400 Bad Request {"message":"registry.ollama.ai/library/deepseek-r1:8b does not support tools","type":"api_error","param":null,"code":null}

Originally posted by @cryphorix in #252

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions