From 698ec389e00d6f71a5c46839b81d286dec9810eb Mon Sep 17 00:00:00 2001 From: BaaRai <130491490+BaaRai@users.noreply.github.com> Date: Sat, 10 Oct 2026 19:02:13 +0200 Subject: [PATCH] Bot: back to deepseek-chat deepseek-flash dropped the LABELS instruction twice in live tests (decorated once, absent once); deepseek-chat followed it exactly on the first try. The price difference is fractions of a cent per call, reliability wins. The tolerant parser from #20 stays: it is harmless and protects against any model formatting quirks. --- .github/scripts/bot.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/scripts/bot.sh b/.github/scripts/bot.sh index 6859757..d194a1e 100644 --- a/.github/scripts/bot.sh +++ b/.github/scripts/bot.sh @@ -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 \