remove logging
This commit is contained in:
@@ -118,18 +118,11 @@ export class OllamaChat extends ChatCommand {
|
|||||||
"Markdown",
|
"Markdown",
|
||||||
isOver ? {inline_keyboard: []} : cancelMarkup
|
isOver ? {inline_keyboard: []} : cancelMarkup
|
||||||
).catch(logError);
|
).catch(logError);
|
||||||
console.log("Thinking:\n");
|
|
||||||
}
|
}
|
||||||
|
|
||||||
isThinking = true;
|
isThinking = true;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (chunk.message.thinking) {
|
|
||||||
console.log(chunk.message.thinking);
|
|
||||||
} else {
|
|
||||||
console.log(chunk.message.content);
|
|
||||||
}
|
|
||||||
|
|
||||||
if (!isThinking) {
|
if (!isThinking) {
|
||||||
currentText += content;
|
currentText += content;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user