joel image handler
This commit is contained in:
@@ -16,6 +16,12 @@ interface BotConfig {
|
||||
maxTokens: number;
|
||||
temperature: number;
|
||||
};
|
||||
replicate: {
|
||||
apiKey: string;
|
||||
};
|
||||
fal: {
|
||||
apiKey: string;
|
||||
};
|
||||
klipy: {
|
||||
apiKey: string;
|
||||
};
|
||||
@@ -62,11 +68,17 @@ export const config: BotConfig = {
|
||||
),
|
||||
classificationModel: getEnvOrDefault(
|
||||
"AI_CLASSIFICATION_MODEL",
|
||||
"google/gemma-3-12b-it:free" // Free model, good for simple classification
|
||||
"google/gemma-3-12b-it:free"
|
||||
),
|
||||
maxTokens: parseInt(getEnvOrDefault("AI_MAX_TOKENS", "500")),
|
||||
temperature: parseFloat(getEnvOrDefault("AI_TEMPERATURE", "1.2")),
|
||||
},
|
||||
replicate: {
|
||||
apiKey: getEnvOrDefault("REPLICATE_API_KEY", ""),
|
||||
},
|
||||
fal: {
|
||||
apiKey: getEnvOrDefault("FAL_KEY", ""),
|
||||
},
|
||||
klipy: {
|
||||
apiKey: getEnvOrDefault("KLIPY_API_KEY", ""),
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user