mirror of
https://github.com/SillyTavern/SillyTavern.git
synced 2025-06-05 21:59:27 +02:00
[skip ci] Reformat code
This commit is contained in:
@@ -2181,7 +2181,7 @@ async function Generate(type, { automatic_trigger, force_name2, resolve, reject,
|
||||
};
|
||||
|
||||
}
|
||||
else if(main_api == 'koboldhorde'){
|
||||
else if (main_api == 'koboldhorde') {
|
||||
if (preset_settings != 'gui') {
|
||||
const maxContext = horde_settings.auto_adjust_context_length ? adjustedParams.maxContextLength : max_context;
|
||||
generate_data = getKoboldGenerationData(finalPromt, this_settings, this_amount_gen, maxContext, isImpersonate);
|
||||
@@ -3615,7 +3615,7 @@ function changeMainAPI() {
|
||||
for (const apiName in apiElements) {
|
||||
const apiObj = apiElements[apiName];
|
||||
//do not hide items to then proceed to immediately show them.
|
||||
if(selectedVal === apiName){
|
||||
if (selectedVal === apiName) {
|
||||
continue;
|
||||
}
|
||||
apiObj.apiSettings.css("display", "none");
|
||||
|
Reference in New Issue
Block a user