fix: использовать переменную окружения для выбора модели OpenRouter
This commit is contained in:
parent
31b7e14f75
commit
e6a9743de3
3
bot.js
3
bot.js
@ -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: [
|
||||
|
||||
Loading…
Reference in New Issue
Block a user