mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-12-06 12:24:44 +00:00
Merge pull request #22 from BaaRai/bot/revert-flash
Bot: back to deepseek-chat
This commit is contained in:
commit
631859657a
1 file changed
+1
-1
@@ -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-flash",
|
||||
'{model: "deepseek-chat",
|
||||
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 \
|
||||
|
||||
Reference in new issue
Block a user