Commit Graph

896 Commits

Author SHA1 Message Date
Yokayo d65f068310
More localizable strings 2024-04-24 20:58:24 +07:00
Yokayo b1c199e650
Add more localizable strings 2024-04-24 19:02:00 +07:00
Cohee 4370db6bdc Implement World Info activation using Vector Storage 2024-04-23 03:09:52 +03:00
Cohee 70c4e82b89 Merge branch 'staging' into neo-server 2024-04-20 21:10:43 +03:00
RossAscends cee1774554 TC/kobold/novel sampler panel layout shuffle 2024-04-21 00:37:03 +09:00
Cohee b3bbec83b6 Merge branch 'staging' into neo-server 2024-04-20 02:56:05 +03:00
Cohee 3ff5884112 Forbid external media by default 2024-04-20 01:11:37 +03:00
Cohee 2a2a63c52c Add Perplexity as Chat Completion source 2024-04-20 00:09:38 +03:00
Cohee 88637adfe2 Merge branch 'staging' into neo-server 2024-04-17 19:39:57 +03:00
Cohee 8ce6872d6f #2091 Extend custom OAI API type input caps 2024-04-15 02:04:41 +03:00
Cohee 2b12d3f8e8 Merge branch 'staging' into neo-server 2024-04-15 01:23:36 +03:00
Cohee f7eb57082a
Merge pull request #2090 from Dakraid/feature/zoomed-avatar-tweaks
Adjust style and add magnification to zoomed avatar
2024-04-15 00:44:27 +03:00
Cohee 0263be8c1f Merge branch 'staging' into neo-server 2024-04-15 00:26:52 +03:00
Cohee 4a553e1fc8 Merge branch 'release' into staging 2024-04-15 00:26:43 +03:00
Kristan Schlikow 54eec3e215
Separate handling for closing for mobile and desktop
Clicking on the image only closes on desktop now, while on mobile the close button has to be pressed as touch is used for the magnification
2024-04-14 22:17:38 +02:00
Cohee 23ac23010d Fix the rest of mobile cases 2024-04-14 21:17:18 +03:00
Cohee 607e85639c Code clean-up 2024-04-14 19:31:38 +03:00
Kristan Schlikow 835d6c71fa
Add option to toggle magnification behaviour 2024-04-14 17:00:10 +02:00
Cohee 9cb777a4e9 Increase default avatar size 400x600 => 512x768 2024-04-14 17:36:48 +03:00
Kristan Schlikow ec76742d0e
Fix positioning of the drag icon
Image still gets magnified when the icon is grabbed, but that is a minor aesthetic bug without influence on the functionality
2024-04-14 03:10:08 +02:00
Kristan Schlikow 0c4da602ab
Adjust style and add magnification to zoomed avatar 2024-04-14 02:58:23 +02:00
Ondřej Sakala 5ce625fb6b added a web-search toggle for Cohere API 2024-04-14 02:25:11 +02:00
Cohee 31ba3cf039 Merge branch 'staging' into neo-server 2024-04-11 21:47:10 +03:00
Cohee ee62f77e96
Merge pull request #2063 from kingbased/goog
Gemini system prompt support
2024-04-11 19:49:20 +03:00
Cohee d2ac782c3c Fix broken HTML and code style 2024-04-11 19:21:59 +03:00
Yokayo f6b80c021a
Localize more strings 2024-04-11 14:52:26 +07:00
based 4ac6bbd515 thought it looked a little strange 2024-04-11 17:01:19 +10:00
based 34bca69950 system prompt support for gemini 1.5 2024-04-11 16:38:20 +10:00
Cohee bd4d8847ce Merge branch 'staging' into neo-server 2024-04-10 21:41:03 +03:00
Cohee 53baa7aae7 #2051 #2031 Selectable prompt converter for custom OAI type 2024-04-10 21:12:57 +03:00
Cohee a9a3d91e4f Fix char management dropdown on rectangular avatars 2024-04-10 20:31:38 +03:00
Cohee b5d7d0a73f
Merge pull request #2050 from Dakraid/feature/new-avatar-tag-layout
Update layout for avatar tags and controls
2024-04-10 20:27:31 +03:00
Cohee 9b97294799 Denser layout 2024-04-10 20:27:06 +03:00
Kristan Schlikow b811d69068
Fix sizing on smaller resolutions 2024-04-10 19:10:15 +02:00
Cohee 91e93958b8
Merge pull request #2055 from kingbased/turbo
new turbo model
2024-04-10 14:30:06 +03:00
Kristan Schlikow 7d4e689bec
Update layout for avatar tags and controls 2024-04-10 12:15:51 +02:00
Cohee 75857ae18c #2041 Fix WI checkboxes missing in localizations 2024-04-10 12:17:35 +03:00
based 62ed8faef0 didn't really make sense to have these i guess 2024-04-10 14:33:38 +10:00
based 540cddf300 new turbo model 2024-04-10 14:24:43 +10:00
Cohee 497f38111f Merge branch 'staging' into neo-server 2024-04-09 20:26:03 +03:00
LenAnderson 0e2a82ce00 add generic popups with their own elements 2024-04-08 18:42:33 -04:00
Cohee 72792ae9f9 Basic account management 2024-04-08 02:38:20 +03:00
Wolfsblvt 4a4296127c Group chat-specific join prefix/suffix for char fields
- Add group chat setting fields for "prefix" and "suffix"
- Settings will be visible when any "join" setting is selected
- each part will be surrounded, which optional macro replacements on the prefix/suffix
2024-04-07 21:12:41 +02:00
Cohee 495cf5d9ca Move context formatting help link 2024-04-06 15:47:11 +03:00
Cohee b1c2617b0d Only init scroll height of WI keys when first opening the drawer 2024-04-05 13:53:39 +03:00
Cohee 3a0ceae80a Optimize scroll height resets on WI entry render, remove silly logs 2024-04-05 13:45:28 +03:00
Cohee 0804843805 Add per-character and per-group overrides for external media 2024-04-05 00:39:54 +03:00
Cohee 6cc73c2a0b Add instruct last system sequence 2024-04-04 22:27:08 +03:00
Cohee 42138ca09b Add command-r-plus 2024-04-04 20:38:34 +03:00
Cohee d8fa692774 Unify API connect UI positioning 2024-04-03 01:45:38 +03:00
Cohee 54a6f4bc62 Add speed control 2024-04-02 22:52:51 +03:00
Cohee 51b3b8bfaa Add smooth streaming 2024-04-02 14:56:15 +03:00
kingbri 4f0322351e Sampling: Add ability to send JSON schemas
TabbyAPI supports the ability to send JSON schemas with prompts in
addition to EBNF strings supported by outlines. Add an extra box
for TabbyAPI only.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-04-02 00:59:21 -04:00
Cohee 9838ba8044 #1994 Add Cohere as a Chat Completion source 2024-04-02 00:20:17 +03:00
Cohee 045d4e972a
Merge pull request #1982 from Wolfsblvt/improve-bulk-edit-and-fixes
Improve bulk edit and bug fixes to tags
2024-03-31 11:00:28 +03:00
Cohee a96bb40505 #1991 Add API key for llama.cpp 2024-03-31 00:27:12 +02:00
Cohee 153f75cf1a Add role selection to Character's Note depth prompt 2024-03-30 23:12:01 +02:00
Wolfsblvt 1ff40f0af4 Merge remote-tracking branch 'upstream/staging' into improve-bulk-edit-and-fixes 2024-03-30 19:03:03 +01:00
Cohee 03d0182cfb Fix button margin 2024-03-29 19:47:52 +02:00
Cohee 06d1369f58 Make default instruct/context restorable 2024-03-29 19:39:59 +02:00
Wolfsblvt 167673fcf5 Updated code documentation
- Updated code documentation for all methods added/changed with this PR
- Expanded tooltip to "bulk edit" to explain how it works
2024-03-29 04:41:16 +01:00
Wolfsblvt 9005d3f790 Merge remote-tracking branch 'upstream/staging' into improve-bulk-edit-and-fixes 2024-03-29 02:42:27 +01:00
Cohee 65a580a402 Adjust sequence naming 2024-03-28 23:12:19 +02:00
Cohee fcdd90cec4 Adjust last prompt line of quite gens 2024-03-28 21:51:02 +02:00
Cohee 423a1f85be Adjust naming and layout of sequences drawer 2024-03-28 20:28:30 +02:00
Cohee d02c93e84f Merge branch 'staging' into instruct-rework 2024-03-28 01:34:04 +02:00
Cohee 4a71bda1dc Bit tighter character panel layout 2024-03-28 01:28:41 +02:00
Cohee 310acfe810 Use new instruct sequences in prompt formatting 2024-03-28 00:52:20 +02:00
Cohee 8b7b32a141 (WIP) Add new instruct mode sequences. Deprecates separator sequence.
1. Separate suffixes for all roles
2. System message sequences
3. User alignment message
2024-03-27 23:40:10 +02:00
Wolfsblvt a4c4f36fc6 Bulk edit select improvements & bulk tag edit inline avatars
- bulk edit tags shows inline avatars for all selected characters
- allow shift-click selecting/deselecting multiple characters on bulk edit
- bulk select all button added
- bulk select shows selected character count
2024-03-27 08:33:32 +01:00
based 6a51855f19 Update Makersuite models 2024-03-27 13:52:51 +10:00
Cohee 6fa6f0c815 Fix panel buttons alignment 2024-03-26 16:10:55 +02:00
Cohee c6971be269
Merge pull request #1967 from DreamGenX/dreamgen_help_link
Dreamgen help link
2024-03-25 19:12:13 +02:00
DreamGenX f65d4fd589 DreamGen API Help: Link to guide rather than API Keys page. 2024-03-25 18:08:29 +01:00
Cohee 129febedce
Merge pull request #1962 from 50h100a/pr_mancerargs
Updates to Mancer parameters and a logprobs fix
2024-03-25 18:59:25 +02:00
DreamGenX c6f2504549 DreamGen API Help: Link to guide rather than API Keys page. 2024-03-25 16:18:56 +01:00
Cohee 101693ba99 Add i18n tags to onboarding. 2024-03-25 14:16:54 +02:00
Cohee 4caa3b4f20 And then there were none 2024-03-24 21:49:12 +02:00
Cohee e153861043 Hide radio controls in drawers 2024-03-24 21:25:27 +02:00
50h100a 6f7e7b85ab For Mancer:
- Allow logprobs (works)
- Allow multiswipe (not yet)
- Adjust visible samplers
Fix: 0 logprob is 100% chance, handle accordingly.
2024-03-24 14:45:37 -04:00
Cohee 3b637cc9a6 Add forbid overrides to prompts 2024-03-24 01:28:35 +02:00
Cohee 6665666098 Add continue postfix controls for Chat Completion 2024-03-23 23:02:42 +02:00
Cohee bb6ac5147b Add roles to Author's Notes 2024-03-23 18:45:37 +02:00
Cohee 607df2f555 Add ability to insert role-typed prompt injections 2024-03-23 17:36:43 +02:00
Cohee 6fe1b0f0e2 #1933 Gemini 1.5 Pro 2024-03-21 19:25:54 +02:00
Cohee 3b293de3ec Allow AVIF and friends for avatar images 2024-03-21 14:47:22 +02:00
Cohee a15ab86fd0 #1941 Add reload loop if settings fail to load 2024-03-20 00:03:13 +02:00
Cohee 965bb54f7d Option to add names to completion contents 2024-03-19 21:53:40 +02:00
Cohee c0c4187bc6 Indicate UX change of bogus folders 2024-03-19 11:02:59 +02:00
Cohee 3d86d6f7d8 Reduce language selector width 2024-03-19 02:38:42 +02:00
Cohee 5b7b06aba8 Make logprobs draggable, fix conflicts between moving UI and maximization, fix z-fighting 2024-03-19 01:40:02 +02:00
Cohee f18733266d Add ability to maximize floating drawers (logprobs, A/N, CFG) 2024-03-18 02:12:23 +02:00
Cohee c393dac2e4 Fix class on hotswap wrapper 2024-03-18 01:32:02 +02:00
Cohee 7f909b99f9 Merge branch 'staging' into tags-as-folders-enhancements 2024-03-17 14:09:24 +02:00
Cohee dc74f546d5
Merge pull request #1875 from kalomaze/cubic-curve
smoothing_curve UI support
2024-03-17 02:20:51 +02:00
Cohee 77784585ba Merge branch 'staging' into tags-as-folders-enhancements 2024-03-16 22:32:01 +02:00
Cohee 7aa5ab2d8d Fix performance of loading very large chats 2024-03-16 02:19:41 +02:00
Cohee 753b7dd526
Merge pull request #1931 from deffcolony/staging
added data-i18n tags
2024-03-15 21:36:46 +02:00
deffcolony 2db2e2d687 added data-i18n tags
+updated and added data-i18n tags
2024-03-15 00:35:21 +01:00
Cohee ce756bc4f7 Allow setting altering group greetings with extensions. Add ability to add extensions when creating characters. 2024-03-14 23:10:35 +02:00
Cohee acf36b6107 Add koboldcpp API key/password support 2024-03-14 00:34:09 +02:00
Cohee 1f20833f44 Add Claude 3 Haiku 2024-03-13 23:56:08 +02:00
Cohee e6fe82760f Change ids on OR prompt cost 2024-03-13 11:19:30 +02:00
Cohee 7ec9996c1f Add prompt cost for OpenRouter under text completion 2024-03-13 02:55:09 +02:00
Cohee b3aee73ac5 Proper English language display name 2024-03-13 00:04:13 +02:00
Cohee 7ad2473f99 Add char.card Jailbreak support for Text Completion APIs 2024-03-12 23:22:29 +02:00
deffcolony b6c29f7129 added new langs
+added new lang: Arabic, Portugese, Vietnamese
+added display names for all langs
+added data-i18n= tags for translation
2024-03-12 19:03:12 +01:00
Cohee 21dc49ecc6 Fix indentation 2024-03-11 00:54:58 +02:00
Cohee c8c08fd5d9 Set doc-height when window load fires 2024-03-11 00:54:37 +02:00
Cohee e061f006a2 Align WI editor dropdowns 2024-03-10 22:58:25 +02:00
Cohee d2935934f1 Tighter layout of character panel 2024-03-10 01:04:12 +02:00
Cohee 73fdcbad44 Fix some bugs (see below):
1. Remove yellow highlights in hotswaps list.
2. Decrease font size of group members list, make it respect the block limits (1 row for small avatars, 3 rows for big avatars).
3. Fix autoload loading the first character if the latest selected entity was a group.
4. Fix tag key potentially skipping the first character.
5. Fix being unable to open groups from the hotswaps panel.
6. Fix left alignment of hotswaps panel, now centered.
7. Fix rounding of missing group avatars (most noticeable when favorited).
2024-03-09 21:58:13 +02:00
Cohee 32049b7e1d Merge branch 'staging' into tags-as-folders-enhancements 2024-03-09 21:15:13 +02:00
Cohee 91d6a139e5
Merge pull request #1906 from DreamGenX/dreamgen_api
Add support for DreamGen API.
2024-03-08 21:16:37 +02:00
Cohee a015a3c509 Sort textgen sources alphabetically 2024-03-08 08:45:16 +02:00
Cohee e9d0c5bb05 Fix horde worker link 2024-03-08 07:50:14 +02:00
DreamGenX bc8d41b530 Implement suggestions 2024-03-07 17:28:38 +01:00
DreamGenX 5c410986a4 Add support for DreamGen API.
API docs: https://dreamgen.com/docs/models/opus/v1
API keys: https://dreamgen.com/account/api-keys

I decided to base this on the text-completion API since it's more
flexible with SillyTavern's prompt formating capabilities.

This also means that custom context and instruct settings are required.

Will add documentation in a followup PR.
2024-03-07 12:25:48 +01:00
Wolfsblvt dae90373e7 Tag Filters: Improve grid view
- Add character count to groups and folders in grid view
- Fix name cut-off for groups
2024-03-07 05:20:43 +01:00
Wolfsblvt 9f42cafc39 Tag Folders: Clear all filters button
- Add "clear all filters" button for tag and search filters
- Resize back button to take less space
- Fix char grid display
2024-03-07 04:26:33 +01:00
Wolfsblvt fb97f563b7 Tag Folders: show hidden numbers
- Show hidden counts for folders, and total
- Rework resizing of character names to shrink additional data first
- Better placement for group numbers
2024-03-07 02:15:41 +01:00
Wolfsblvt fc6146fa00 Tag Folders: Rework favorites display
- Favorites display uses same method than inline avatars
- Favorites now respect avatar style
2024-03-06 04:59:39 +01:00
Wolfsblvt 8e184254c8 Merge branch 'staging' into tags-as-folders-enhancements 2024-03-06 01:07:22 +01:00
Wolfsblvt e578d3dbb6 Tag Folders: hidden/closed folders
- Implement folder types: Open, Closed, None
- Closed folders hide characters from most places
- "character(s)" singular wording on entity list
- small refactoring for that code
2024-03-06 00:28:14 +01:00
Cohee 00a4a12d7d Remove "Exclude Assistant suffix" option 2024-03-05 20:41:53 +02:00
Cohee 02ab29626a Rewrite system prompt toggle description 2024-03-05 20:17:25 +02:00
based 3e1d44fc29 remove deprecated option + reverse proxy support in claude vision 2024-03-06 02:47:00 +10:00
based de0e0dad27 he forgor oop 2024-03-05 15:33:07 +10:00
based 64d9c9dc5d anthropic captioning 2024-03-05 07:07:38 +10:00
based cbda133d75 missed one 2024-03-05 05:54:24 +10:00
based 7bb8741cfa fix older model naming for the new api 2024-03-05 05:50:29 +10:00
based 04bb882e90 implement messages api and selector for nuclaude models 2024-03-05 04:40:19 +10:00
Cohee 24b33a5f77 Add option for inline character card replacements 2024-03-03 21:04:27 +02:00
Cohee 2e002032b3
Merge pull request #1882 from berbant/staging
Link to character's source page
2024-03-03 20:24:51 +02:00
Cohee b9392893dc [FEATURE_REQUEST] Option to toggle disable instruct formatting for example dialogue insertion #1881 2024-03-03 19:12:20 +02:00
Cohee 6ea2cf2abe Indicate OR instruct override as legacy 2024-03-03 19:06:37 +02:00
RossAscends be38359d66 add maximize button to creator note 2024-03-03 22:25:20 +09:00
RossAscends 1e555bcb8f markdown support in spoiler display 2024-03-03 19:54:21 +09:00
RossAscends 77791ae3e9 revamp creator note & spoiler hide/show 2024-03-03 18:55:16 +09:00
Wolfsblvt c0e112d195 Tag Folders: inline info for groups and avatars
- Add list of character avatars to folders (overflow hidden)
- Add and/or move count of characters for both groups and folders in overview
- Add name list of all chars for groups, above tags
- Replace alt texts of all avatar images with the entity name
- Made title/mouseover tooltip more useful with separation between types and their names
- refactored CSS usage of avatar sizes to global variables
- grid view alignment changes
2024-03-03 02:12:18 +01:00
Wolfsblvt 3e44dddfda Tag Folders: Drilldown for select and improved filter
- drilldown visible for bogus folder selections
- drilldown can be changed and refreshed
- enhanced filters (remove empty folders/tags from list by default)
2024-03-03 02:12:17 +01:00
Wolfsblvt 25b528ee4f Tag Folders: add tag folder sorting and enabling
- make tags sortable per drag&drop (then sorted everywhere)
- each tag can individually be enabled as folder
- fix redraw of tags/entity list on tag changes
2024-03-03 02:11:35 +01:00
berbant a38bfe39b5
Add Link to Source to Dropdown menu 2024-03-02 23:21:53 +04:00
Cohee 95c49029f7 Add aphrodite model selector 2024-03-01 23:02:43 +02:00
Cohee b716dfbc0d
Merge pull request #1874 from deciare/underline-text-format
Support underlined text formatting
2024-03-01 17:49:14 +02:00
kalomaze 45776de1d5 Smoothing curve support for ooba 2024-03-01 00:06:34 -06:00
Deciare d554edc023 Support underlined text formatting.
- Enable the `underline` option for Showdown.
- Implement option for underlined text colour.
- Update stylesheet.
2024-03-01 00:35:27 -05:00
Cohee 2ef41ed883 Change "new preset" icon.
The biggest oversight is no more.
2024-02-29 22:49:05 +02:00
Cohee eaeafde0e4 Use Readability to extract text from HTML 2024-02-29 16:37:52 +02:00
Cohee a2ac659056 Add step to aphro multiswipe control 2024-02-29 15:02:16 +02:00