Skip to content

armgit / ARTEX

Public Imported from GitHub
0

ARTEX - AI autonomous penetration testing system (English translation; upstream: Autumn-27/ARTEX, AGPL-3.0)

Bot: switch the model to deepseek-flash

BaaRaif95e975e31fb
diff --git a/.github/scripts/bot.sh b/.github/scripts/bot.sh
index 4c1a988..aa3643b 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-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 \