The deepseek-copilot.experimental.stabilizeToolList setting can be used to improve DeepSeek context cache hit rates by ensuring the tools parameter in the DeepSeek API remains complete and stable across multiple conversation turns.
When to enable this setting:
- If you have 64 or fewer enabled tools: You usually do not need to enable this, unless you notice the tool list changing between conversation turns.
- If you have between 64 and 128 enabled tools: Consider enabling this only if the tool list is changing across turns or if DeepSeek context cache hit rates are suboptimal.
- If you have more than 128 enabled tools: It is not recommended to enable this. DeepSeek supports a maximum of 128 functions per
tools request. If you exceed this number, the extension cannot guarantee a stable tool list. You should disable unused tools before enabling this setting.
Trade-offs:
Enabling this may increase input token usage because each request might include more function tool definitions.
[Open Plugin Settings](command:workbench.action.openSettings?%5B%22%40id%3Adeepseek-copilot.experimental.stabilizeToolList%22%5D)