Skip to content

Commit 7d38322

Browse files
authored
docs(readme): document model ID overrides (#22)
- Add modelIdOverrides to the settings table with a valid settings.json example - Clean out/ before packaging to avoid stale compiled files in the VSIX
1 parent 27deac1 commit 7d38322

2 files changed

Lines changed: 14 additions & 1 deletion

File tree

README.md

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -84,11 +84,23 @@ Both support optional thinking mode, tool calling, and 1M token context.
8484
|---|---|---|
8585
| `deepseek-copilot.baseUrl` | `https://api.deepseek.com` | API endpoint — change for self-hosted / proxied deployments |
8686
| `deepseek-copilot.maxTokens` | `0` | Max output tokens (`0` = no limit). Useful for cost control |
87+
| `deepseek-copilot.modelIdOverrides` | prefilled official ID map | API model IDs to send for DeepSeek V4 Flash / Pro. Change only for compatible third-party APIs with different model names |
8788
| `deepseek-copilot.visionModel` | *(auto)* | Which Copilot model to proxy images through |
8889
| `deepseek-copilot.visionPrompt` | *(built-in)* | Prompt used to describe image attachments |
8990

9091
Thinking Effort is configured from Copilot Chat's model picker for each DeepSeek model.
9192

93+
Example `settings.json` override for compatible API proxies:
94+
95+
```json
96+
{
97+
"deepseek-copilot.modelIdOverrides": {
98+
"deepseek-v4-flash": "your-flash-model-id",
99+
"deepseek-v4-pro": "your-pro-model-id"
100+
}
101+
}
102+
```
103+
92104
## Compared to alternatives
93105

94106
| | This extension | Local proxy (e.g. LiteLLM) | Standalone DeepSeek extensions |

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,8 @@
154154
}
155155
},
156156
"scripts": {
157-
"vscode:prepublish": "npm run compile",
157+
"clean": "node -e \"require('node:fs').rmSync('out', { recursive: true, force: true, maxRetries: process.platform === 'win32' ? 10 : 0 })\"",
158+
"vscode:prepublish": "npm run clean && npm run compile",
158159
"compile": "tsc -p ./",
159160
"watch": "tsc -watch -p ./",
160161
"lint": "oxlint",

0 commit comments

Comments
 (0)