File tree 7 files changed +14
-13
lines changed
7 files changed +14
-13
lines changed Original file line number Diff line number Diff line change @@ -351,10 +351,11 @@ MEDIUM_LMSTUDIO_MODEL= # Default: hermes-3-llama-3.1-8b
351
351
LARGE_LMSTUDIO_MODEL = # Default: hermes-3-llama-3.1-8b
352
352
353
353
# Remaining Provider Configurations
354
- GOOGLE_GENERATIVE_AI_API_KEY = # Gemini API key
355
- ALI_BAILIAN_API_KEY = # Ali Bailian API Key
356
- NANOGPT_API_KEY = # NanoGPT API Key
357
- TOGETHER_API_KEY = # Together API Key
354
+ GOOGLE_GENERATIVE_AI_API_KEY = # Gemini API key
355
+ ALI_BAILIAN_API_KEY = # Ali Bailian API Key
356
+ NANOGPT_API_KEY = # NanoGPT API Key
357
+ TOGETHER_API_KEY = # Together API Key
358
+ TOGETHER_IMAGE_MODEL = # Default: black-forest-labs/FLUX.1-schnell
358
359
359
360
# #####################################
360
361
# ### Crypto Plugin Configurations ####
Original file line number Diff line number Diff line change @@ -1510,7 +1510,7 @@ export class MessageManager {
1510
1510
const response = await generateShouldRespond ( {
1511
1511
runtime : this . runtime ,
1512
1512
context : shouldRespondContext ,
1513
- modelClass : ModelClass . SMALL ,
1513
+ modelClass : ModelClass . LARGE ,
1514
1514
} ) ;
1515
1515
1516
1516
if ( response === "RESPOND" ) {
Original file line number Diff line number Diff line change @@ -862,7 +862,7 @@ export class VoiceManager extends EventEmitter {
862
862
const response = await generateShouldRespond ( {
863
863
runtime : this . runtime ,
864
864
context : shouldRespondContext ,
865
- modelClass : ModelClass . SMALL ,
865
+ modelClass : ModelClass . LARGE ,
866
866
} ) ;
867
867
868
868
if ( response === "RESPOND" ) {
@@ -890,7 +890,7 @@ export class VoiceManager extends EventEmitter {
890
890
const response = await generateMessageResponse ( {
891
891
runtime : this . runtime ,
892
892
context,
893
- modelClass : ModelClass . SMALL ,
893
+ modelClass : ModelClass . LARGE ,
894
894
} ) ;
895
895
896
896
response . source = "discord" ;
Original file line number Diff line number Diff line change @@ -873,7 +873,7 @@ export class MessageManager {
873
873
const response = await generateShouldRespond ( {
874
874
runtime : this . runtime ,
875
875
context : shouldRespondContext ,
876
- modelClass : ModelClass . SMALL ,
876
+ modelClass : ModelClass . LARGE ,
877
877
} ) ;
878
878
879
879
return response === "RESPOND" ;
Original file line number Diff line number Diff line change @@ -438,7 +438,7 @@ export class TwitterInteractionClient {
438
438
const shouldRespond = await generateShouldRespond ( {
439
439
runtime : this . runtime ,
440
440
context : shouldRespondContext ,
441
- modelClass : ModelClass . MEDIUM ,
441
+ modelClass : ModelClass . LARGE ,
442
442
} ) ;
443
443
444
444
// Promise<"RESPOND" | "IGNORE" | "STOP" | null> {
Original file line number Diff line number Diff line change @@ -583,7 +583,7 @@ export class TwitterPostClient {
583
583
const response = await generateText ( {
584
584
runtime : this . runtime ,
585
585
context,
586
- modelClass : ModelClass . SMALL ,
586
+ modelClass : ModelClass . LARGE ,
587
587
} ) ;
588
588
589
589
const rawTweetContent = cleanJsonResponse ( response ) ;
@@ -709,7 +709,7 @@ export class TwitterPostClient {
709
709
const response = await generateText ( {
710
710
runtime : this . runtime ,
711
711
context : options ?. context || context ,
712
- modelClass : ModelClass . SMALL ,
712
+ modelClass : ModelClass . LARGE ,
713
713
} ) ;
714
714
715
715
elizaLogger . log ( "generate tweet content response:\n" + response ) ;
@@ -833,7 +833,7 @@ export class TwitterPostClient {
833
833
const actionResponse = await generateTweetActions ( {
834
834
runtime : this . runtime ,
835
835
context : actionContext ,
836
- modelClass : ModelClass . SMALL ,
836
+ modelClass : ModelClass . LARGE ,
837
837
} ) ;
838
838
839
839
if ( ! actionResponse ) {
Original file line number Diff line number Diff line change @@ -295,7 +295,7 @@ export const models: Models = {
295
295
name : "togethercomputer/m2-bert-80M-32k-retrieval" ,
296
296
} ,
297
297
[ ModelClass . IMAGE ] : {
298
- name : "black-forest-labs/FLUX.1-schnell" ,
298
+ name : settings . TOGETHER_IMAGE_MODEL || "black-forest-labs/FLUX.1-schnell" ,
299
299
steps : 4 ,
300
300
} ,
301
301
} ,
You can’t perform that action at this time.
0 commit comments