Bot: switch the model to deepseek-flash

DeepSeek's current recommendation: V4.1-Flash replaces V4-Pro and is
the efficient line (new encoder-decoder MoE, quarter-size KV cache,
off-peak at half price). Plenty for triage work; the API name is
deepseek-flash.
This commit is contained in:
BaaRai
2026-10-10 18:56:18 +02:00
parent 765308712e
commit f95e975e31
+1 -1
View File
@@ -27,7 +27,7 @@ ask_model() { # $1 = system prompt, $2 = user payload; prints the answer
local body="${2:0:$MAX_CHARS}"
local req
req=$(jq -n --arg sys "$1" --arg body "$body" \
'{model: "deepseek-chat",
'{model: "deepseek-flash",
messages: [{role: "system", content: $sys}, {role: "user", content: $body}],
max_tokens: 900, temperature: 0.2}')
curl -sS --max-time 120 https://api.deepseek.com/chat/completions \