provider.options.baseURL will be overrideed by model.dev/provider #636

Closed
opened 2026-02-16 17:27:40 -05:00 by yindo · 0 comments
Owner

Originally created by @zWingz on GitHub (Jul 11, 2025).

{
"provider": {
    "deepseek": {
      "options": {
        "baseURL": "https://api.my-deepseek.com/v1",
        "apiKey": "api-key",
        "name": "deepseek"
      },
      "models": {
        "deepseek-r1": {
          "id": "deepseek-r1",
          "name": "deepseek-r1",
          "temperature": true,
          "reasoning": true,
          "tool_call": true,
          "limit": {
            "output": 8192,
            "context": 65536
          }
        }
      }
    }
  },
}

I have add a provider of deepseek in opencode.json, but the options.baseURL will be overrideed to https://api.deepseek.com/

Image
Originally created by @zWingz on GitHub (Jul 11, 2025). ```json { "provider": { "deepseek": { "options": { "baseURL": "https://api.my-deepseek.com/v1", "apiKey": "api-key", "name": "deepseek" }, "models": { "deepseek-r1": { "id": "deepseek-r1", "name": "deepseek-r1", "temperature": true, "reasoning": true, "tool_call": true, "limit": { "output": 8192, "context": 65536 } } } } }, } ``` I have add a provider of deepseek in opencode.json, but the `options.baseURL` will be overrideed to https://api.deepseek.com/ <img width="605" height="661" alt="Image" src="https://github.com/user-attachments/assets/6d0a3e2a-9351-4509-94d7-6c5e4a0e229a" />
yindo closed this issue 2026-02-16 17:27:40 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: anomalyco/opencode#636