@@ -277,7 +277,7 @@ export class TwitterPostClient {
277
277
twitterPostTemplate ,
278
278
} ) ;
279
279
280
- console . log ( "twitter context:\n" + context ) ;
280
+ // console.log("twitter context:\n" + context);
281
281
282
282
elizaLogger . debug ( "generate post prompt:\n" + context ) ;
283
283
@@ -434,9 +434,7 @@ export class TwitterPostClient {
434
434
this . runtime . character . templates ?. twitterPostTemplate ||
435
435
twitterPostTemplate ,
436
436
} ) ;
437
- console . log ( "tweetState INSIDE generate tweet content:\n" + tweetState ) ;
438
- console . log ( "context INSIDE generate tweet content:\n" + context ) ;
439
- console . log ( "runtime INSIDE generate tweet content:\n" + this . runtime ) ;
437
+
440
438
const response = await generateText ( {
441
439
runtime : this . runtime ,
442
440
context : options ?. context || context ,
@@ -525,7 +523,6 @@ export class TwitterPostClient {
525
523
this . runtime . character . name ,
526
524
"twitter"
527
525
) ;
528
- // elizaLogger.log(`Fetched ${homeTimeline.length} tweets to process`);
529
526
// this is testing code ####################################
530
527
let tweets = [ ] ;
531
528
// Check if we're in test mode with a specific tweet
@@ -545,7 +542,6 @@ export class TwitterPostClient {
545
542
546
543
const results = [ ] ;
547
544
// this is testing code ####################################
548
- //for (const tweet of homeTimeline) {
549
545
for ( const tweet of tweets ) {
550
546
elizaLogger . log ( `Processing tweet ID: ${ tweet . id } ` ) ;
551
547
//test image description function
@@ -618,7 +614,6 @@ export class TwitterPostClient {
618
614
) ;
619
615
continue ;
620
616
}
621
- actionResponse . reply = true ;
622
617
const executedActions : string [ ] = [ ] ;
623
618
624
619
// Execute actions
@@ -919,7 +914,7 @@ export class TwitterPostClient {
919
914
}
920
915
) ;
921
916
922
- console . log ( "enrichedState INSIDE REPLY" , enrichedState ) ;
917
+ // console.log("enrichedState INSIDE REPLY", enrichedState);
923
918
// Generate and clean the reply content
924
919
const replyText = await this . generateTweetContent ( enrichedState , {
925
920
template :
0 commit comments