From 472594111f401e5e7d69394f63d2646b29e6f706 Mon Sep 17 00:00:00 2001 From: Danil Nikolaev Date: Thu, 22 Jan 2026 12:32:29 +0300 Subject: [PATCH] fix "null" --- src/callback_commands/ollama-cancel.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/callback_commands/ollama-cancel.ts b/src/callback_commands/ollama-cancel.ts index 001c663..2189cc4 100644 --- a/src/callback_commands/ollama-cancel.ts +++ b/src/callback_commands/ollama-cancel.ts @@ -48,7 +48,7 @@ export class OllamaCancel extends CallbackCommand { await bot.editMessageText({ chat_id: chatId, message_id: messageId, - text: `${content}${cancelledText}`, + text: `${content ? content : ""}${cancelledText}`, parse_mode: "Markdown", reply_markup: {inline_keyboard: []}, }).catch(logError);