Commit Graph
92 Commits
Author SHA1 Message Date
Cohee 4f3eb7417e Fix oai_settings assignment in getPresetList 2025-07-11 22:31:51 +03:00
Cohee 19a8a8625c Move event types + new events (#4257)
* Move app events to separate module

* Add event emission for preset changes and deletions

* Remove unnecessary blank line at the beginning of events.js

* Add await to selectPreset call in initTextGenSettings

* Emit events for preset deletion and change in initPresetManager

* Move event emit out of PRESET_CHANGED
2025-07-11 22:00:04 +03:00
Cohee ea5181af08 Preset Manager: Add methods for reading/writing custom data (#4246)
* Preset Manager: Add methods for reading/writing custom data

* Fix loading novel extensions on load

* Move ensurePlainObject to utils

* Init empty object in convertNovelPreset
2025-07-09 23:55:08 +03:00
CoheeandCopilot e0469b4808 Move Kobold Classic settings into related module (#4234)
* Move Kobold Classic settings into related module

* Update public/scripts/kai-settings.js

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>

---------

Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
2025-07-05 21:00:06 +03:00
Cohee 8d84871134 Sanitize filename before renaming
Fixes #3982
2025-05-24 00:02:48 +03:00
Cohee 1f7c65b45a #3982 CC: Fix visual duplication of presets on renaming 2025-05-24 00:01:50 +03:00
Cohee c3b1573c91 Force resave CC preset after renaming
Fixes #3828
2025-04-09 22:09:10 +03:00
Cohee c522baf4f7 Make texts translatable 2025-04-09 19:18:05 +03:00
Wolfsblvt ceceb8f3f0 Change same name logs to toast 2025-04-09 01:21:20 +02:00
Wolfsblvt 55ed5b325c Prevent similarily-ish preset renames
Adds validation to prevent renaming presets to names that are identical when ignoring case and accents
Avoids accidental duplicates by ensuring meaningful name changes during preset renames
2025-04-08 21:14:09 +02:00
Cohee 62342b35e2 Reasoning template 2025-03-16 15:01:31 +02:00
qvink ede9f242af Allow specifying API in presetManager.getPresetList() 2025-03-01 15:54:18 -07:00
qvink 5dc8450559 Fixing getCompletionPresetByName, removing openai option from getSelectedPresetName 2025-02-24 09:31:03 -07:00
qvink d2df04550a Adding function to get preset values by name 2025-02-23 22:11:33 -07:00
qvink 7eff895e88 Allowing the presetManager to return presets for chat completion 2025-02-23 21:23:43 -07:00
Cohee 8a4cf86b65 Integrate killswitch into the block 2025-02-15 00:28:38 +02:00
Cohee 412d638e9e Text Completion: Add global banned strings list 2025-02-13 22:07:36 +02:00
Cohee 515a5f6943 Exclude 'include_reasoning' from TC presets 2025-01-31 20:43:20 +02:00
Cohee 3167019faf Add generic text completion API type (100% OAI compatible) 2024-12-13 01:12:10 +02:00
Cohee eccd1ab381 Exclude 'derived' from instruct templates 2024-11-23 16:06:10 +02:00
Cohee e6d8f0a33e unvendor: Replace Fuse 2024-10-16 22:15:38 +03:00
Cohee 26716686ba Add parentheses for clarity 2024-10-09 01:31:45 +03:00
Cohee 7061753d84 Fix old name prepopulate, run formatter 2024-10-09 01:29:23 +03:00
Yokayo 90ef3e51c0 Add advanced formatting presets renaming buttons 2024-10-06 23:52:41 +07:00
Cohee d8f268a807 Add Novel preset converter 2024-09-24 12:50:47 +03:00
Cohee d1d1586008 Clear master import file input 2024-09-22 22:47:28 +03:00
Cohee 8bf253d293 Display names in master import 2024-09-22 20:50:36 +03:00
Cohee 63bd7611b3 Uncheck textgen preset from master export by default 2024-09-22 20:47:05 +03:00
Cohee 9101fb6573 Fix default sysprompt restoration 2024-09-22 20:06:26 +03:00
Cohee 9a8b38517c Fix button label consistency 2024-09-21 23:30:31 +03:00
Cohee 74a8499e0e Fix raw textgen preset import via master 2024-09-21 23:28:38 +03:00
Cohee c2f945ef88 Implement master AF import / export 2024-09-21 23:21:19 +03:00
Cohee bf5b6090eb Remove the concept of default context and instruct. Swap columns 2024-09-21 22:37:15 +03:00
Cohee 22f1b110e9 One extra check wouldn't hurt 2024-09-19 23:49:23 +03:00
Cohee b0c537d014 Migrate system prompts from imported instruct template 2024-09-18 00:38:15 +03:00
Cohee b377a2b7d3 Decouple system prompts from instruct mode 2024-09-17 10:37:36 +00:00
Cohee 42fa3c79d7 Add Tabby model selection 2024-09-08 22:23:25 +03:00
Cohee 830df41380 Update Advanced Formatting verbiage 2024-09-03 22:59:41 +03:00
Cohee 5f2a73ac9f Expose "Allow fallback providers" for OpenRouter 2024-07-19 23:34:16 +03:00
Cohee 6c03a61788 Exclude streaming and multiswipe from textgen presets 2024-07-12 23:43:21 +03:00
Cohee f74c212945 Fix popup type 2024-07-12 01:12:25 +03:00
Cohee f53fa0d19d Add missing await 2024-07-12 01:09:46 +03:00
Wolfsblvt 3983eef827 fix linting issue 2024-07-11 01:38:28 +02:00
Wolfsblvt 307a579f80 Move preset manager popups to new Popup 2024-07-11 01:37:56 +02:00
Cohee b62cbdeebd Merge branch 'staging' into DarokCx/release 2024-06-28 19:09:12 +03:00
DarokCx 29ff0876a7 Added additional headers 2024-06-28 08:20:15 -04:00
Cohee 985c2dd031 Don't indicate success in saving presets 2024-06-28 08:09:22 +00:00
Wolfsblvt 54e111886b Improve logs (+add toasts) on save calls
- Fixes #2429
2024-06-28 03:28:16 +02:00
Cohee eba0f54477 Merge branch 'staging' into slash-command-enums 2024-06-23 15:01:55 +03:00
Cohee a39a1a7cec Fix odd-named preset selection via command 2024-06-22 17:44:08 +03:00