initial commit
Some checks failed
Deploy Bot / build-and-deploy (push) Failing after 3s

This commit is contained in:
2025-06-07 21:31:49 +04:00
parent b05ba61ac1
commit be53654811

View File

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