Fix ignore list of preset manager

This commit is contained in:
Cohee
2023-12-20 15:51:00 +02:00
parent b0a4341571
commit c212a71425
2 changed files with 6 additions and 1 deletions

View File

@@ -55,7 +55,7 @@ openai:
# Will send a random user ID to OpenAI completion API # Will send a random user ID to OpenAI completion API
randomizeUserId: false randomizeUserId: false
# If not empty, will add this as a system message to the start of every caption completion prompt # If not empty, will add this as a system message to the start of every caption completion prompt
# Example: "Perform the instructions to the best of your ability.\n\n" (for LLaVA) # Example: "Perform the instructions to the best of your ability.\n" (for LLaVA)
# Not used in image inlining mode # Not used in image inlining mode
captionSystemPrompt: "" captionSystemPrompt: ""
# -- DEEPL TRANSLATION CONFIGURATION -- # -- DEEPL TRANSLATION CONFIGURATION --

View File

@@ -304,7 +304,12 @@ class PresetManager {
'streaming_kobold', 'streaming_kobold',
'enabled', 'enabled',
'seed', 'seed',
'legacy_api',
'mancer_model', 'mancer_model',
'togetherai_model',
'ollama_model',
'server_urls',
'type',
]; ];
const settings = Object.assign({}, getSettingsByApiId(this.apiId)); const settings = Object.assign({}, getSettingsByApiId(this.apiId));