fix: использовать переменную окружения для выбора модели OpenRouter

This commit is contained in:
Vufer 2025-06-27 18:58:47 +03:00
parent 31b7e14f75
commit e6a9743de3

3
bot.js
View File

@ -461,7 +461,8 @@ ${conversationFlow}`;
'X-Title': 'Telegram History Bot'
},
body: JSON.stringify({
model: 'google/gemini-2.5-flash-preview-05-20',
model: process.env.OPENROUTER_MODEL,
// model: 'google/gemini-2.5-flash-preview-05-20',
// model: 'google/gemini-2.0-flash-exp:free',
// model: 'deepseek/deepseek-chat-v3-0324:free',
messages: [