mirror of
https://github.com/BaaRai/ARTEX.git
synced 2026-11-13 11:40:53 +08:00
Bot: log the raw reply tail for triage debugging
This commit is contained in:
@@ -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