Compare commits

..

1 Commits

Author SHA1 Message Date
53012dcbe1 Merge pull request 'production' (#2) from production into develop
Reviewed-on: #2
2025-06-07 17:22:56 +00:00

View File

@ -5,7 +5,7 @@ const botToken = "7745542423:AAHc3JM1kvO-Z_1OBp1L95T9QWr4jRrbfpY"; // замен
const bot = new Telegraf(botToken); const bot = new Telegraf(botToken);
// Новый API Ollama // Новый API Ollama
const OLLAMA_URL = "https://ollama.miduway.space/api/generate"; const OLLAMA_URL = "http://localhost:11434/api/generate";
bot.start((ctx) => bot.start((ctx) =>
ctx.reply("Привет! Я — Mistral-бoт через Ollama. Напиши что-нибудь.") ctx.reply("Привет! Я — Mistral-бoт через Ollama. Напиши что-нибудь.")