Skip to content

Commit e9bacb9

Browse files
committed
adding env override option
1 parent 98c6177 commit e9bacb9

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

.env.example

+1
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ GOOGLE_GENERATIVE_AI_API_KEY= # Gemini API key
265265
ALI_BAILIAN_API_KEY= # Ali Bailian API Key
266266
NANOGPT_API_KEY= # NanoGPT API Key
267267
TOGETHER_API_KEY= # Together API Key
268+
TOGETHER_IMAGE_MODEL= # Default: black-forest-labs/FLUX.1-schnell
268269

269270
######################################
270271
#### Crypto Plugin Configurations ####

packages/core/src/models.ts

+1-1
Original file line numberDiff line numberDiff line change
@@ -295,7 +295,7 @@ export const models: Models = {
295295
name: "togethercomputer/m2-bert-80M-32k-retrieval",
296296
},
297297
[ModelClass.IMAGE]: {
298-
name: "black-forest-labs/FLUX.1-schnell",
298+
name: settings.TOGETHER_IMAGE_MODEL || "black-forest-labs/FLUX.1-schnell",
299299
steps: 4,
300300
},
301301
},

0 commit comments

Comments
 (0)