mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-12-03 21:17:28 +00:00
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:
parent
765308712e
commit
f95e975e31
1 changed files with 1 additions and 1 deletions
2
.github/scripts/bot.sh
vendored
2
.github/scripts/bot.sh
vendored
|
|
@ -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 \
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue