improvements
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user