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: log the raw reply tail for triage debugging

BaaRaid1d28cb3335e
diff --git a/.github/scripts/bot.sh b/.github/scripts/bot.sh
index d194a1e..b25ca07 100644
--- a/.github/scripts/bot.sh
+++ b/.github/scripts/bot.sh
@@ -117,6 +117,7 @@ $body
Repository file list:
$(repo_context)")
[ -z "$answer" ] && { log "model returned nothing"; exit 0; }
+ log "raw reply tail: ...${answer: -160}"
clean_text=$(split_labels <<<"$answer")
reply_labels=$(tail -1 /tmp/bot-labels-line 2>/dev/null)
[ -z "$reply_labels" ] && reply_labels="none"