Add OpenCode DeepSeek examples
Browse files- README.md +25 -0
- examples/opencode.json +11 -0
README.md
ADDED
|
@@ -0,0 +1,25 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
---
|
| 2 |
+
license: cc0-1.0
|
| 3 |
+
language:
|
| 4 |
+
- en
|
| 5 |
+
tags:
|
| 6 |
+
- opencode
|
| 7 |
+
- openrouter
|
| 8 |
+
- deepseek
|
| 9 |
+
- coding
|
| 10 |
+
- chat-completions
|
| 11 |
+
pretty_name: OpenCode DeepSeek Flash 1017 examples
|
| 12 |
+
---
|
| 13 |
+
# OpenCode DeepSeek Flash 1017 examples
|
| 14 |
+
|
| 15 |
+
A small set of configuration examples for using OpenRouter with OpenCode and DeepSeek V4.1 Flash 1017.
|
| 16 |
+
|
| 17 |
+
The example key below has a limited budget and is restricted to `deepseek/deepseek-v4.1-flash-1017`.
|
| 18 |
+
|
| 19 |
+
```text
|
| 20 |
+
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
|
| 21 |
+
```
|
| 22 |
+
|
| 23 |
+
Use OpenCode's `/connect` command, choose OpenRouter and enter the example key. Select `openrouter/deepseek/deepseek-v4.1-flash-1017` as the model. The JSON configuration in this repository sets that default model.
|
| 24 |
+
|
| 25 |
+
See also the [DeepSeek API smoke tests](https://huggingface.co/datasets/covertlabsio/deepseek-api-smoke-tests-20261026).
|
examples/opencode.json
ADDED
|
@@ -0,0 +1,11 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
{
|
| 2 |
+
"$schema": "https://opencode.ai/config.json",
|
| 3 |
+
"model": "openrouter/deepseek/deepseek-v4.1-flash-1017",
|
| 4 |
+
"provider": {
|
| 5 |
+
"openrouter": {
|
| 6 |
+
"models": {
|
| 7 |
+
"deepseek/deepseek-v4.1-flash-1017": {}
|
| 8 |
+
}
|
| 9 |
+
}
|
| 10 |
+
}
|
| 11 |
+
}
|