improvements

This commit is contained in:
2026-01-22 13:50:36 +03:00
parent a7efc1a778
commit e833c16878
3 changed files with 50 additions and 32 deletions
+4
View File
@@ -27,6 +27,8 @@ export class OllamaCancel extends CallbackCommand {
const aborted = abortOllamaRequest(uuid);
console.log(`aborted request ${uuid}:`, aborted);
} else {
console.log(`no request with uuid "${uuid}" found`);
}
let msg: StoredMessage | null = null;
@@ -36,6 +38,8 @@ export class OllamaCancel extends CallbackCommand {
logError(e);
}
console.log(`Message for ${chatId}-${messageId}:`, msg);
let content: string | null = null;
if (msg?.text?.trim()?.length > 0) {