mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Fix classify not using extension-defined prompt
This commit is contained in:
@ -1161,7 +1161,7 @@ export async function getExpressionLabel(text, expressionsApi = extension_settin
|
|||||||
}
|
}
|
||||||
|
|
||||||
const expressionsList = await getExpressionsList();
|
const expressionsList = await getExpressionsList();
|
||||||
const prompt = substituteParamsExtended(String(customPrompt), { labels: expressionsList }) || await getLlmPrompt(expressionsList);
|
const prompt = substituteParamsExtended(customPrompt, { labels: expressionsList }) || await getLlmPrompt(expressionsList);
|
||||||
let functionResult = null;
|
let functionResult = null;
|
||||||
eventSource.once(event_types.TEXT_COMPLETION_SETTINGS_READY, onTextGenSettingsReady);
|
eventSource.once(event_types.TEXT_COMPLETION_SETTINGS_READY, onTextGenSettingsReady);
|
||||||
eventSource.once(event_types.LLM_FUNCTION_TOOL_REGISTER, onFunctionToolRegister);
|
eventSource.once(event_types.LLM_FUNCTION_TOOL_REGISTER, onFunctionToolRegister);
|
||||||
|
Reference in New Issue
Block a user