This commit is contained in:
2
index.js
2
index.js
@ -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://ollama.miduway.space/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. Напиши что-нибудь.")
|
||||||
|
Reference in New Issue
Block a user