badges on the right, evolution api sender
This commit is contained in:
@@ -80,13 +80,13 @@ export async function runTurnV3({
|
||||
locale: "es-AR",
|
||||
};
|
||||
|
||||
// Cargar configuración del tenant (se usa en NLU y handlers)
|
||||
const storeConfig = await getStoreConfig({ tenantId });
|
||||
|
||||
let nluResult;
|
||||
|
||||
if (USE_MODULAR_NLU) {
|
||||
// Nuevo sistema NLU modular con prompts editables
|
||||
// Cargar configuración del tenant desde la DB
|
||||
const storeConfig = await getStoreConfig({ tenantId });
|
||||
|
||||
nluResult = await llmNluModular({ input: nluInput, tenantId, storeConfig });
|
||||
audit.nlu = {
|
||||
raw_text: nluResult.raw_text,
|
||||
@@ -123,6 +123,7 @@ export async function runTurnV3({
|
||||
nlu,
|
||||
order,
|
||||
audit,
|
||||
storeConfig,
|
||||
};
|
||||
|
||||
// Regla universal: si quiere agregar productos, volver a CART
|
||||
|
||||
Reference in New Issue
Block a user