Chat Completion: Reduce number of toggles in AI Response Configuration (#4821)

* Chat Completion: Reduce number of toggles in AI Response Configuration

* Consolidate migration logic

* Don't enable media inlining if image inlining was disabled

* Fix icons showing on media toggle off

* Update i18n
This commit is contained in:
Cohee
2025-11-28 00:16:23 +02:00
committed by GitHub
parent 0b5b3f089e
commit 0a22856faf
23 changed files with 99 additions and 235 deletions
+1
View File
@@ -532,6 +532,7 @@ label[for="bind_preset_to_connection"]:has(input:checked) {
}
#openai_settings input[type="checkbox"]:not(:checked)~[data-cc-toggle],
#openai_settings input[type="checkbox"]:not(:checked)~*:has([data-cc-toggle]),
#openai_settings [data-cc-toggle="false"]>.icon-supported,
#openai_settings [data-cc-toggle="true"]>.icon-unsupported {
display: none;