Repository navigation
FAQ: How do I connect DeepSeek's own API and pick a thinking level? #2872
|
This is a maintainer-written FAQ, seeded from the questions people ask most. The answer below is marked as the accepted answer. If your case is different, reply here or open a new Q&A. I have a DeepSeek platform key and want codeaf to call DeepSeek directly instead of going through OpenRouter. How do I connect it, and how do I make the model think harder (or less)? |
Replies: 1 comment
|
Connect DeepSeek's own API
codeaf checks the key with a one-token call before it saves anything. A key with the wrong shape is stopped before any call ( The provider may be named Pick a thinking level The ladder is
The conversation's rung is sticky across restarts, and task workers this conversation hands out start at it. The install-wide default is the thinking row in Sources: the README (provider list) and the manual pages |
Connect DeepSeek's own API
codeaf connect deepseek. The key is read from stdin when it is piped, or asked for without echo on a terminal./connect, choose DeepSeek in theprovidersgroup, and paste the key atyour key. A key may also be the name of an environment variable, such as$DEEPSEEK_API_KEY.codeaf checks the key with a one-token call before it saves anything. A key with the wrong shape is stopped before any call (
that is not the shape of a deepseek key — they start with sk-), and a refusal carries DeepSeek's own words. On success you see something likedeepseek-direct is connected · 6 models.The provider may be named
deepseek-directrather than…