Remove debug logging for responsePrefix template resolution

This commit is contained in:
Sebastian
2026-01-14 23:36:47 -05:00
parent e7167e35ed
commit 6ef3837e73
3 changed files with 0 additions and 20 deletions

View File

@@ -163,16 +163,10 @@ export const dispatchTelegramMessage = async ({
disableBlockStreaming,
onModelSelected: (ctx) => {
// Mutate the object directly instead of reassigning to ensure the closure sees updates
// 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";
// eslint-disable-next-line no-console
console.log(`[responsePrefix] telegram prefixContext updated: ${JSON.stringify(prefixContext)}`);
},
},
});