mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-12-06 12:24:44 +00:00
Bot: log the raw reply tail for triage debugging
This commit is contained in:
1 parent
631859657a
commit
d1d28cb333
1 file changed
+1
@@ -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"
|
||||
|
||||
Reference in new issue
Block a user