mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
Add event type for text completion generation request settings ready
This commit is contained in:
@ -1,4 +1,6 @@
|
||||
import {
|
||||
eventSource,
|
||||
event_types,
|
||||
getRequestHeaders,
|
||||
getStoppingStrings,
|
||||
max_context,
|
||||
@ -1048,6 +1050,8 @@ export function getTextGenGenerationData(finalPrompt, maxTokens, isImpersonate,
|
||||
params = Object.assign(params, llamaCppParams);
|
||||
}
|
||||
|
||||
eventSource.emitAndWait(event_types.TEXT_COMPLETION_SETTINGS_READY, params);
|
||||
|
||||
return params;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user