mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-02-03 04:37:40 +01:00
Add missing await
This commit is contained in:
parent
3b10ae00c7
commit
d62f18b523
@ -938,7 +938,7 @@ async function classifyCallback(/** @type {{api: string?, prompt: string?}} */ {
|
||||
return '';
|
||||
}
|
||||
|
||||
const label = getExpressionLabel(text, expressionApi, { customPrompt: prompt });
|
||||
const label = await getExpressionLabel(text, expressionApi, { customPrompt: prompt });
|
||||
console.debug(`Classification result for "${text}": ${label}`);
|
||||
return label;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user