debug: use console.log instead of logVerbose for always-visible logging
This commit is contained in:
1 parent
56b3b44342
commit
e7167e35ed
3 files changed
+11
-7
No files matched your search
@@ -163,14 +163,16 @@ export const dispatchTelegramMessage = async ({
|
||||
disableBlockStreaming,
|
||||
onModelSelected: (ctx) => {
|
||||
// Mutate the object directly instead of reassigning to ensure the closure sees updates
|
||||
logVerbose(
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(
|
||||
`[responsePrefix] telegram onModelSelected fired: provider=${ctx.provider}, model=${ctx.model}, thinkLevel=${ctx.thinkLevel}`,
|
||||
);
|
||||
prefixContext.provider = ctx.provider;
|
||||
prefixContext.model = extractShortModelName(ctx.model);
|
||||
prefixContext.modelFull = `${ctx.provider}/${ctx.model}`;
|
||||
prefixContext.thinkingLevel = ctx.thinkLevel ?? "off";
|
||||
logVerbose(`[responsePrefix] telegram prefixContext updated: ${JSON.stringify(prefixContext)}`);
|
||||
// eslint-disable-next-line no-console
|
||||
console.log(`[responsePrefix] telegram prefixContext updated: ${JSON.stringify(prefixContext)}`);
|
||||
},
|
||||
},
|
||||
});
|
||||
|
||||
Reference in new issue
Block a user