fix: troca chatLog.success inexistente por chatLog.info

chatLog não tem success: a chamada lançava TypeError dentro do try, e
analyzeQueryContext e enrichQueries sempre descartavam a resposta do
modelo e caíam no fallback heurístico.
This commit is contained in:
evandro committed 2026-11-16 00:16:21 -03:00
1 parent 94941414e9
commit 7247e1e80b
2 files changed
+2 -2

No files matched your search

+1 -1
View File
@@ -176,7 +176,7 @@ export async function enrichQueries(
result.expanded.length +
result.contextual.length;
chatLog.success(
chatLog.info(
`[QueryEnricher] ${totalQueries} queries geradas: ` +
`${result.literal.length} literal, ${result.semantic.length} semântica, ` +
`${result.related.length} relacionadas, ${result.expanded.length} expandidas, ` +