Compare commits

2 Commits

Author SHA1 Message Date
1512c7c23a initial commit
Some checks failed
Deploy Bot / build-and-deploy (push) Failing after 9s
2025-06-07 21:54:08 +04:00
be53654811 initial commit
Some checks failed
Deploy Bot / build-and-deploy (push) Failing after 3s
2025-06-07 21:31:49 +04: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 = "http://localhost:11434/api/generate"; const OLLAMA_URL = "https://ollama.miduway.space/api/generate";
bot.start((ctx) => bot.start((ctx) =>
ctx.reply("Привет! Я — Mistral-бoт через Ollama. Напиши что-нибудь.") ctx.reply("Привет! Я — Mistral-бoт через Ollama. Напиши что-нибудь.")