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
randomizeUserId: false
# 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
captionSystemPrompt: ""
# -- DEEPL TRANSLATION CONFIGURATION --

View File

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