Skip to content

Commit 80a425d

Browse files
LyoSUclaude
andcommitted
debug: temp avatar logging to diagnose ? initials
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
1 parent 9f183a8 commit 80a425d

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

methods/generate.js

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,13 @@ module.exports = async (parm) => {
9191
// Normalize all messages first (sync, no I/O)
9292
const validMessages = parm.messages.filter(Boolean)
9393
for (const message of validMessages) {
94+
if (message.avatar) {
95+
console.log('[DEBUG-AVATAR] before normalize:', JSON.stringify(message.from))
96+
}
9497
normalizeMessage(message)
98+
if (message.avatar) {
99+
console.log('[DEBUG-AVATAR] after normalize:', JSON.stringify(message.from))
100+
}
95101
}
96102

97103
// Generate quotes with concurrency limit to avoid Telegram API rate limits

0 commit comments

Comments
 (0)