joel image handler

This commit is contained in:
2026-02-02 12:18:44 +01:00
parent 09143a0638
commit a4300f8eec
14 changed files with 452 additions and 5 deletions

View File

@@ -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", ""),
},