mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Add missing await
This commit is contained in:
@ -938,7 +938,7 @@ async function classifyCallback(/** @type {{api: string?, prompt: string?}} */ {
|
|||||||
return '';
|
return '';
|
||||||
}
|
}
|
||||||
|
|
||||||
const label = getExpressionLabel(text, expressionApi, { customPrompt: prompt });
|
const label = await getExpressionLabel(text, expressionApi, { customPrompt: prompt });
|
||||||
console.debug(`Classification result for "${text}": ${label}`);
|
console.debug(`Classification result for "${text}": ${label}`);
|
||||||
return label;
|
return label;
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user