Commit Graph

252 Commits

Author SHA1 Message Date
based 7ecc0295dc scale cookie method 2023-08-20 20:55:37 +10:00
Cohee 106f7afdcb Slight performance increase for opening large World Infos 2023-08-20 13:15:02 +03:00
Cohee 7528a3828a
Merge pull request #978 from 50h100a/mancer-url-ui 2023-08-20 11:33:15 +03:00
Cohee d3efc90886
Merge pull request #975 from StefanDanielSchwarz/roleplay-preset-newlines 2023-08-20 11:29:38 +03:00
RossAscends 334dcc7454 WIP splitting of style.css 5.6k --> 3.5k lines 2023-08-20 15:49:27 +09:00
50h100a 8dca75f6c3 single-URL ui for mancer.
automatically produce streaming URL from blocking URL.
2023-08-20 00:33:00 -04:00
Stefan Daniel Schwarz 357b765897 roleplay preset newlines 2023-08-20 01:03:34 +02:00
RossAscends 93cb3bfee3 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into staging 2023-08-20 03:39:30 +09:00
RossAscends 16888a007f unify import/export icons 2023-08-20 03:39:28 +09:00
Cohee aef78c6d99 Fix group candidates search. Fix tag exclusion filter display 2023-08-19 21:08:35 +03:00
based e0de442523 Merge branch 'staging' of https://github.com/Cohee1207/SillyTavern into qolfeatures 2023-08-20 03:22:54 +10:00
Cohee1207 06c7b8d7d6 [WIP] Add UI for auto-select instruct 2023-08-19 20:18:39 +03:00
based ce40780ed1 Added option to exclude assistant prefix to Claude prompt (for jailbreaks already appending Assistant:) 2023-08-20 03:09:50 +10:00
Cohee1207 771c9d6165 Optimize SVG loader. Add ai21 icon 2023-08-19 19:48:33 +03:00
based 0d694dcc32 Added power user option to remove examples 2023-08-20 02:25:07 +10:00
Cohee 438c78574f
Merge pull request #971 from kingbased/jurassic
AI21 Adapter
2023-08-19 18:48:15 +03:00
based 0f21eabb6e AI21 Adapter + Tokenization implementation 2023-08-20 01:20:42 +10:00
Cohee1207 336e27a92d Move 3rd-party scripts into /lib 2023-08-19 16:29:46 +03:00
Cohee1207 991ff98eaa Performance optimizations for character edit / chat opening 2023-08-19 15:58:17 +03:00
city-unit 8581ef14dd Add search filtering for past chats 2023-08-18 23:48:08 -04:00
Cohee f27107e0ef Refactor and optimize group members display 2023-08-19 02:53:05 +03:00
Cohee 602c5cd791 Add pagination for characters list view 2023-08-18 23:13:15 +03:00
RossAscends a0ed362591 move char panel token counter to desc box 2023-08-18 22:47:43 +09:00
RossAscends 0c5c8c50ad half-fix for small boxes in mobile no spoiler view 2023-08-18 22:45:40 +09:00
Cohee c24f636a10 Add Last output sequence setting for instruct mode 2023-08-17 23:33:27 +03:00
Cohee 80092b3170 #790 Simplify local prompt formatting. Use handlebars to render story string. 2023-08-17 22:47:34 +03:00
Cohee a9a929afaf Fix HTML template oddity 2023-08-17 13:10:44 +03:00
Cohee 0b412033ba Streamline and simply Novel logit bias. Make it a part of preset 2023-08-17 13:05:22 +03:00
Mike Weldon 722801bb50 Add logit biases for NovelAI 2023-08-16 22:14:04 -07:00
Cohee 1f2394cada Apply preset manager for NovelAI 2023-08-16 21:43:38 +03:00
Cohee 81ed4d8431 Reorderable samplers for Novel 2023-08-16 20:34:47 +03:00
Mike Weldon feb523bd01 NovelAI Kayra 1.1 update
* Updated some presets and added Cosmic Cube
* Change defaults for NovelAI to select Clio on cold start
* Automatically change the preset to an appropriate default whenever you change the model
* Removed deprecated Top G sampler
2023-08-15 18:52:29 -07:00
Cohee fa35e1185e Merge branch 'release' into staging 2023-08-15 21:51:08 +03:00
Cohee 8470acda41 Add English language option 2023-08-15 21:47:49 +03:00
Cohee eb81c4807a Add UI locale selector 2023-08-15 21:37:56 +03:00
Cohee 869478627d Add UI locale selector 2023-08-15 21:32:17 +03:00
Cohee 57b9a94c17 Add banned tokens for Novel 2023-08-15 15:51:14 +03:00
Cohee 706be4390d Add new Claude instant model 2023-08-15 14:57:11 +03:00
Cohee e1ea448236
Merge pull request #939 from SillyTavern/hotfix-prompt-manager 2023-08-15 09:51:14 +03:00
Mike Weldon b0cce17638 Minor string changes to match NAI UX 2023-08-14 19:43:05 -07:00
Mike Weldon 41ec7e5600 Many NovelAI fixes from dev guidance
* Remove AI Module "Autoselect" and make the auto-instruct work for all modules. This is how NAI is supposed to work.
* Log the response from the API.
* Move the AI Module setting up to the top of the settings window since it isn't part of the preset.
* Refactor phrase_rep_pen to use the actual API strings.
* Clamp the maximum token length to 150 before we call the API.
* Clamp the minimum token length in the UX from 1 to 150.
* Fix bug where the preamble was not initialized on cold start.
* Get rid of extra newline before dinkus.
* Make always_force_name2 default true.
2023-08-14 19:35:21 -07:00
maver 2bb8fa5ea1 Update quick edit textareas when prompt manager re-renders 2023-08-15 01:20:42 +02:00
Cohee 9f49a2612c Return option to close chat to menu 2023-08-15 00:10:48 +03:00
Cohee 238b667262 Merge branch 'staging' of https://github.com/SillyLossy/TavernAI into staging 2023-08-14 22:19:17 +03:00
Cohee 3850e6b50a Replace object stores for Chroma and token cache 2023-08-14 22:19:14 +03:00
maver 151a13eefa Fix formatting 2023-08-14 20:35:45 +02:00
maver 033dc45ab9 Move quick edit ui identifiers into configuration 2023-08-14 20:29:01 +02:00
maver 6caa8a4765 Add nsfw prompt to quick edit drawer 2023-08-14 20:28:57 +02:00
Cohee 8c759e87cf Better UI control for phrase rep pen 2023-08-14 19:00:36 +03:00
Cohee ce03921df4 Move CFG block for ooba higher 2023-08-14 13:10:44 +03:00
Cohee 32eb877fdb Add native presetable CFG scale for ooba 2023-08-14 13:06:20 +03:00
Cohee 7107813b6e Move prompt manager down to ease mobile scrolling 2023-08-14 12:45:20 +03:00
Cohee d395d3d8e6 Add peek proxy password btn 2023-08-14 12:01:06 +03:00
city-unit f528791c4f Merge branch 'staging' of https://github.com/city-unit/SillyTavern into feature/ui 2023-08-13 18:46:37 -04:00
city-unit ad04344392 Api/Model icon option 2023-08-13 18:43:16 -04:00
SDS 33a32d0380
Set TextGen temperature slider min value to 0.0
When updating the TextGen preset, I noticed the slider not going to the true minimum, so I fixed that as well. Same as [#825](https://github.com/SillyTavern/SillyTavern/issues/825) for KoboldAI.
2023-08-13 20:11:02 +02:00
Cohee c0bc425c8b Debounce manager changes 2023-08-13 18:43:17 +03:00
Cohee 9b8d069e3b Apply CFG extension for Novel 2023-08-13 15:38:07 +03:00
Cohee 9615495878
Merge pull request #768 from SillyTavern/prompt-manager-cherrypicked
Feature: Prompt manager (cherrypicked onto stage)
2023-08-13 14:44:28 +03:00
Cohee dd21091807 Selectable NovelAI module 2023-08-12 21:26:51 +03:00
Cohee 166ab4dbab Move assistant prefill to quick edit 2023-08-12 18:40:39 +02:00
Cohee 5f43121e15 Expand quick edits rows 2023-08-12 18:40:39 +02:00
maver db8624cefe Move quick edits on top of prompt manager 2023-08-12 18:40:39 +02:00
maver 1b7a1cbc4a Add quick edit drawer and fields for main and jailbreak 2023-08-12 18:40:39 +02:00
maver 6e4689ba39 Add theme tint and blur to prompt manager popup drawer 2023-08-12 18:40:39 +02:00
maver fc44a02323 Set utility prompt text area size to 3 rows 2023-08-12 18:40:39 +02:00
maver 82a11316bc Add continue nudge to editable utility prompts 2023-08-12 18:40:39 +02:00
maver f2227ded9a Move utility prompts in its own, independent dropdown
And merge with existing advanced prompt bits
2023-08-12 18:40:38 +02:00
maver 3cc092a432 Add margin utility classes 2023-08-12 18:40:38 +02:00
maver 9669199408 Allow user to edit new chat, new group chat and new example chat prompts 2023-08-12 18:40:38 +02:00
maver 632fa770be Create a deep copy of prompt defaults on char select
Along other minor fixes and optimizations
2023-08-12 18:40:38 +02:00
maver a0bd67e455 Allow markers to inspected for their content 2023-08-12 18:40:38 +02:00
maver facf625cac Improve ui wording 2023-08-12 18:40:38 +02:00
maver 221ecbf8d6 Add reset for main,nsfw and jailbreak prompts 2023-08-12 18:40:38 +02:00
maver 7c1e370abe Allow the user to toggle names in chat history 2023-08-12 18:40:38 +02:00
maver aaa2c48e7d Add basic claude support 2023-08-12 18:40:38 +02:00
maver e91e1996b1 Remove main prompt input field.
Being replaced by prompt manager
2023-08-12 18:40:38 +02:00
maver 175b14f5a6 Fix missing element terminator 2023-08-12 18:40:18 +02:00
maver a627f684d2 Remove obsolete jailbreak toggle. 2023-08-12 18:40:18 +02:00
maver a041230a99 Let oai prompt manager handle enhanced definitions 2023-08-12 18:40:17 +02:00
maver 709964dd23 Add openai prompt manager edit popup 2023-08-12 18:39:54 +02:00
Cohee1207 116f80d952 #925 Add Mancer name to select 2023-08-12 18:35:03 +03:00
Cohee1207 82f6d11795 Add lazy chat messages rendering 2023-08-12 13:10:50 +03:00
Cohee 2a1eb029a2
Merge pull request #922 from mweldon/novelai-update 2023-08-12 12:14:29 +03:00
RossAscends 71c60c3c61 hide proxy password from view 2023-08-12 16:25:49 +09:00
Mike Weldon a0573413b2 Add new NAI samplers and update presets 2023-08-11 17:58:40 -07:00
Cohee 93123062af #918 Save default position and depth for A/N 2023-08-11 17:40:02 +03:00
Cohee 9e43f5f8b7 Add flat budget cap for hybrid WI budgeting 2023-08-10 20:45:57 +03:00
Cohee b75997cebd Move openrouter cost to more in your face position 2023-08-10 20:12:43 +03:00
Cohee c6b18de4ef Currency formatting 2023-08-10 13:01:55 +03:00
Cohee 78c599a413 #903 Load koboldcpp samplers order + show sampler ids 2023-08-10 12:34:22 +03:00
Cohee 1a07fa8365 [Feature Request] Can we please have <xml_tags> visibility back? #907 2023-08-10 11:47:17 +03:00
Cohee 1f8f200caf #909 Add OpenRouter prompt cost calculation 2023-08-09 21:59:34 +03:00
Cohee 7c6429a577 Add a hint for quick reply slots. 2023-08-08 20:57:23 +03:00
Cohee 508e1a06da Merge branch 'staging' of https://github.com/SillyLossy/TavernAI into staging 2023-08-08 17:11:48 +03:00
Cohee 5ba7588838 Option to disable name forcing for instruct groups and personas 2023-08-08 17:11:38 +03:00
Cohee 0cb63e689d
Merge pull request #872 from 50h100a/kai-fmt 2023-08-08 00:41:12 +03:00
Mika 8128c2436b Changed Assistant Prefill to a textarea to allow for a longer prefill message. 2023-08-05 14:59:29 +09:00
Cohee1207 d05d4042fe Unbreak HTML 2023-08-04 23:52:19 +03:00
50h100a 6b2455da2b setting for relaxed api urls 2023-08-04 16:49:55 -04:00
Cohee 7b5bb030ad
Merge pull request #877 from city-unit/feature/ui
Fix assistant prefill title alignment
2023-08-04 23:34:42 +03:00
Cohee1207 19b3e13675 Merge branch 'staging' of http://github.com/cohee1207/SillyTavern into staging 2023-08-04 23:29:25 +03:00
city-unit d16f6f8fea Fix assistant prefill title alignment 2023-08-04 16:26:25 -04:00
Cohee1207 6b288ca83c Adjust Novel settings to match the site more closely 2023-08-04 20:38:26 +03:00
Stefan Daniel Schwarz b407fe2388 custom_stopping_strings_macro toggleable option 2023-08-04 16:53:49 +02:00
Cohee 84283bc2b4 Add "Best match" tokenizer option 2023-08-04 14:17:05 +03:00
Mike Weldon 079b1623c5 NovelAI preamble code cleanup 2023-08-03 18:27:23 -07:00
Cohee ea809023b5
Merge pull request #858 from 50h100a/mancer-api
Mancer API
2023-08-03 23:06:53 +03:00
majick d5e32af9b2 Proposed: Skull icon to delete past chat 2023-08-03 07:07:59 -07:00
Cohee 37e653dcf4 Add toggle for persona info notifications 2023-08-03 14:24:45 +03:00
50h100a 2fc6813e66 code review adjustments part 1 2023-08-03 06:07:54 -04:00
gd1551 67fa7b9607 Update Custom Stop Strings to note NovelAI support 2023-08-03 11:06:29 +03:00
Cohee 1b005ef47f
Merge pull request #856 from mweldon/preamble 2023-08-03 10:24:31 +03:00
RossAscends 68e5ae63d6 move closechat/togglepanels to slashcommands 2023-08-03 13:21:38 +09:00
50h100a 61c0e3b08b Merge branch 'staging' of https://github.com/SillyTavern/SillyTavern into mancer-api 2023-08-02 23:46:03 -04:00
Mike Weldon 1d0f67c144 Add NAI preamble to start of chat buffer 2023-08-02 18:22:06 -07:00
Cohee1207 f198f5eb6e Fix localization hiding Usage Stats button 2023-08-02 23:04:52 +03:00
50h100a 42cc66f06e First pass UI for extending webui 2023-08-02 03:30:57 -04:00
Cohee 5645432e9d #823 Allow arbitrary line breaks in instruct sequences and custom chat separators 2023-08-01 14:17:33 +03:00
Cohee 49f7185c8c #829 Close chat option 2023-07-30 21:35:21 +03:00
Cohee1207 51449c4913 Rename Settings option 2023-07-30 16:40:45 +03:00
Cohee 6d9c2ec365
Merge pull request #819 from pyrater/staging
Show / Hide Top Bar
2023-07-30 16:38:44 +03:00
Cohee ad26a1968b
Merge pull request #818 from city-unit/feature/WI
Add optional alerting for WI debugging.
2023-07-30 16:29:33 +03:00
Cohee1207 52289acc62 Reformat index.html 2023-07-30 16:28:55 +03:00
Cohee c8e456d773
Merge pull request #827 from Ahbahl/staging
Moves Claude Assistant prefill box below JB
2023-07-30 16:28:19 +03:00
Cohee1207 d00fbacec3 #822 Increase instruct sequences max lengths 2023-07-30 16:27:29 +03:00
Cohee1207 ccbec7715a #825 Set temperature slider min value to 0.0 2023-07-30 16:21:01 +03:00
Ahbahl 1f63fd9344 Moves Claude Assistant prefill below JB to be more in line with how prompts are structured. 2023-07-30 15:13:10 +02:00
pyrater 844d9c86a4
Merge branch 'SillyTavern:staging' into staging 2023-07-30 11:50:09 +09:00
joe 0aee97ccca Added Option to toggle/Hide settings bar. 2023-07-30 11:47:17 +09:00
city-unit fa06e5ee5a Add optional alerting for WI debugging. 2023-07-29 22:15:54 -04:00
Cohee dddc49c235 #798 Claude assistant prefill 2023-07-30 01:51:59 +03:00
Mike Weldon b107848ccb Add Kayra presets 2023-07-28 17:23:28 -07:00
Cohee 8e06d18664 #804 Add kayra model 2023-07-28 21:45:44 +03:00
Cohee 3fb4756c03 #803 Add a separate field for proxy password 2023-07-28 21:33:29 +03:00
Cohee1207 707ce62017 Advanced Character Search #786 2023-07-28 00:38:43 +03:00
Cohee1207 ddf485f354 #787 Display character version in the list 2023-07-28 00:04:21 +03:00
Cohee1207 c3f61af18a #788 Fix NovelAI tokenizer labels 2023-07-27 23:47:29 +03:00
Cohee1207 3eea8a714c #789 Add sorting by char.data strings size ("tokens") 2023-07-27 23:45:25 +03:00
Cohee cf3baccc5e Fix spelling mistakes 2023-07-24 11:18:03 +03:00
Cohee 130559d499 #746 Add preset manager for ooba/kobold 2023-07-23 23:52:31 +03:00
Cohee 1b9ca4c9d9 Unhide advanced parameters for Novel 2023-07-23 02:09:03 +03:00
Cohee1207 732761a427 #724 Fix samplers order being too cool for your tiny phones 2023-07-22 14:18:34 +03:00
ThisIsPIRI e2f1f4a57a Add repetition penalty range for ooba 2023-07-22 07:38:35 +09:00
Cohee1207 7205255d18 Increase default context cap for Kobold and ooba to 4k 2023-07-21 23:47:43 +03:00
Cohee1207 f28e7cf47c Redirect to OpenAI site to view usage 2023-07-21 23:35:54 +03:00
Cohee 053dbbd25c Onboarding experience and new default user avatar 2023-07-21 16:42:18 +03:00
Cohee 500eae40e2 Load external API models into OAI list 2023-07-21 13:35:39 +03:00
RossAscends b53bc7cc0e add OR credit viewing link to api panel 2023-07-21 18:41:19 +09:00
RossAscends 932da47476 fix floating prompt scrolling 2023-07-21 16:05:05 +09:00