@@ -331,7 +331,6 @@ export class TwitterInteractionClient {
331
331
} ;
332
332
const currentPost = formatTweet ( tweet ) ;
333
333
334
- elizaLogger . debug ( "Thread: " , thread ) ;
335
334
const formattedConversation = thread
336
335
. map (
337
336
( tweet ) => `@${ tweet . username } (${ new Date (
@@ -346,13 +345,9 @@ export class TwitterInteractionClient {
346
345
)
347
346
. join ( "\n\n" ) ;
348
347
349
- elizaLogger . debug ( "formattedConversation: " , formattedConversation ) ;
350
-
351
348
const imageDescriptionsArray = [ ] ;
352
349
try {
353
- elizaLogger . debug ( 'Getting images' ) ;
354
350
for ( const photo of tweet . photos ) {
355
- elizaLogger . debug ( photo . url ) ;
356
351
const description = await this . runtime
357
352
. getService < IImageDescriptionService > (
358
353
ServiceType . IMAGE_DESCRIPTION
@@ -460,18 +455,6 @@ export class TwitterInteractionClient {
460
455
this . runtime . character ?. templates ?. messageHandlerTemplate ||
461
456
twitterMessageHandlerTemplate ,
462
457
} ) ;
463
- // Add these debug logs:
464
- elizaLogger . debug ( "=== DEBUG: Template Context ===" ) ;
465
- elizaLogger . debug ( "Actions available:" , {
466
- actionNames : state . actionNames ,
467
- actions : state . actions
468
- } ) ;
469
- elizaLogger . debug ( "Character examples:" , {
470
- messageExamples : this . runtime . character . messageExamples ,
471
- postExamples : this . runtime . character . postExamples
472
- } ) ;
473
- elizaLogger . debug ( "Full context:" , context ) ;
474
- elizaLogger . debug ( "=== END DEBUG ===" ) ;
475
458
476
459
const response = await generateMessageResponse ( {
477
460
runtime : this . runtime ,
@@ -626,12 +609,6 @@ export class TwitterInteractionClient {
626
609
visited . add ( currentTweet . id ) ;
627
610
thread . unshift ( currentTweet ) ;
628
611
629
- elizaLogger . debug ( "Current thread state:" , {
630
- length : thread . length ,
631
- currentDepth : depth ,
632
- tweetId : currentTweet . id ,
633
- } ) ;
634
-
635
612
if ( currentTweet . inReplyToStatusId ) {
636
613
elizaLogger . log (
637
614
"Fetching parent tweet:" ,
@@ -671,14 +648,6 @@ export class TwitterInteractionClient {
671
648
// Need to bind this context for the inner function
672
649
await processThread . bind ( this ) ( tweet , 0 ) ;
673
650
674
- elizaLogger . debug ( "Final thread built:" , {
675
- totalTweets : thread . length ,
676
- tweetIds : thread . map ( ( t ) => ( {
677
- id : t . id ,
678
- text : t . text ?. slice ( 0 , 50 ) ,
679
- } ) ) ,
680
- } ) ;
681
-
682
651
return thread ;
683
652
}
684
653
}
0 commit comments