3168 Commits

Author SHA1 Message Date
Cohee
886f5adce7 Add /db-enable and /db-disable commands 2024-05-30 22:18:00 +03:00
Wolfsblvt
1c6671df31 popup fix scrollbar style, align toastr 2024-05-30 21:03:52 +02:00
Cohee
62eb790b0b Add /translate command 2024-05-30 22:03:51 +03:00
Cohee
e660ec1f14 Remove stray newlines from WI/AN entries 2024-05-30 21:23:13 +03:00
Cohee
6228d1d3b1 Add schedulers selection for AUTO1111 2024-05-30 21:04:22 +03:00
Cohee
716366070b Clamp /db-search threshold arg 2024-05-30 17:15:17 +03:00
Cohee
43f52d5436 Add /yt-script command 2024-05-30 17:01:00 +03:00
Cohee
2c911a3ea2 Add more Data Bank script commands 2024-05-30 14:49:57 +03:00
Wolfsblvt
6c3118549f Make generic popups be modal dialogs
- Switch generic popups to actual <dialog> elements
- Move toastr settings from html to JS
- Add style variable for animation duration (to re-use in CSS)
- Remember focus of popup on stacking pop-up close to switch back to the element you started out in
- Fix keybinds of popups to only act on actual result-triggering controls
- Fix toastr appearing behind popups by dynamically moving the container inside the currently open dialog
- Improve autofocus on popup open
- Make cleaner and prettier popup animations, and tie them to the animation speed
-
2024-05-30 05:11:23 +02:00
Vhallo
d25ba41fb5
Extending punctuation
Extending punctuation for thoughts.
2024-05-30 01:29:28 +02:00
Cohee
6a832bdf2a Fix summarize command return type 2024-05-30 01:48:27 +03:00
Cohee
bc94bcb25c Add data bank management commands 2024-05-30 01:47:33 +03:00
Cohee
9ff2da4c8c Implement sharable SD prefixes 2024-05-30 00:21:27 +03:00
Cohee
e007fe7529 Add SD style deletion 2024-05-29 23:44:11 +03:00
Cohee
283bb2fa89 Add SD multimodal prompt toast 2024-05-29 23:38:55 +03:00
Cohee
4eb6657b51 Add SD seed control 2024-05-29 23:29:45 +03:00
Cohee
b904f501ba Don't pre-render PM error if empty 2024-05-29 17:23:37 +03:00
Cohee
d350dbf0d7 Add Novel decrisper control 2024-05-29 03:00:42 +03:00
Cohee
110d343eea Add upscale amount control to DrawThings 2024-05-29 02:49:13 +03:00
Cohee
2aeaf43c28 Add CLIP skip control for SD 2024-05-29 02:14:08 +03:00
Cohee
f27a83ef73 Restrict function calling to non-streaming only 2024-05-29 01:11:40 +03:00
Cohee
b833f36c75 Function calling for Groq 2024-05-29 01:10:18 +03:00
Cohee
309eb80748 Function calling for Claude and OpenRouter 2024-05-29 00:56:55 +03:00
Cohee
865c48bcc0 Cohee forgot the ABC 2024-05-28 22:57:07 +03:00
Cohee
2b3dfc5ae2 Add ollama and llamacpp as vector sources 2024-05-28 22:54:50 +03:00
kingbri
4528655bb7 Textgen: Add multiswipe support for TabbyAPI
Tabby now supports batching and the "n" parameter for both non-streaming
and streaming. Add this into SillyTavern.

Signed-off-by: kingbri <bdashore3@proton.me>
2024-05-28 00:55:57 -04:00
Cohee
965dac6514 #2296 Add data bank bulk edit 2024-05-27 22:22:21 +03:00
Cohee
80e104e723 Don't open click to edit in document mode if text selected 2024-05-27 21:50:42 +03:00
Cohee
a6e6677c32 Merge branch 'release' into staging 2024-05-27 19:58:19 +03:00
Cohee
66db820c9e Fix external style declaration filtering 2024-05-27 19:55:55 +03:00
Cohee
62a1919402 Use recursive stylesheet sanitation 2024-05-27 14:28:40 +03:00
Cohee
99e09f0b91 Improve external media removal in style blocks 2024-05-27 14:28:28 +03:00
Cohee
8726def6e0 Use recursive stylesheet sanitation 2024-05-27 14:26:59 +03:00
Cohee
1bc45d2869 Improve external media removal in style blocks 2024-05-27 13:43:59 +03:00
Cohee
2c049e5611 Remove imports from embedded styles 2024-05-27 13:26:24 +03:00
Cohee
630111c737 Remove imports from embedded styles 2024-05-27 13:25:21 +03:00
Wolfsblvt
311fb261a4 Allow re-linking tag colors to theme
- Add button to link tag color back to theme color, but explicitly setting it to empty again
- Debounce redrawing of tag color for performance
2024-05-27 05:02:00 +02:00
Wolfsblvt
24224dc0b1 Fix and improve more tag popups
- Rework tag color pickers to... actually work without hacks
- Color picker default to main text color and tag default background. If default color is chosen, sets "empty" in tag, for possible style changes
- Fix tabbing on tag name in tag view list being broken
- Unique names on new tag click
- Several fixes on tags popups
- Animation utility functions (for popup, heh)
- Utility function to get free (unique) name
2024-05-27 03:35:03 +02:00
Wolfsblvt
35e21c3568 WIP: Rework import tags popup for more options
- Rework "import tags" dialog, providing options which tags to import, and rendering the tags there, for manual management
- Refactor tag list function to allow custom remove actions
- Refactor functions to allow adding of multiple tags at once
2024-05-26 20:29:50 +02:00
PasserDreamer
678a0ee136
Merge branch 'SillyTavern:staging' into staging 2024-05-26 23:19:54 +08:00
steve green
00fc40408a
allow char scpoed regex (#2271)
* Update engine.js to allow char scpoed regex

no ui because i'm not good at it, but works.

* add typedef

* update

* little fix

* Rework scoped scripts UI

* Add locale attributes

* Purge allowance on delete

* add d&d for `saved_scoped_scripts`

* better code

* Save settings on regex scope toggle

* Fix reordering logic

* Fix scoped setter

* Add unique ids for regex scripts

* Wording

* Reload chat after deleting scripts

* Reload chat after toggling scoped regex

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-05-26 17:19:00 +03:00
Cohee
ef137f68c4 Fallback to Fuse if not parsed expression 2024-05-25 17:32:11 +03:00
Cohee
cb381595f9 Function calling for Mistral 2024-05-25 17:31:40 +03:00
Cohee
b545185f1a Transform LLM emotion response to lower 2024-05-25 17:11:58 +03:00
Cohee
fa6fc45e6f Function calling for Cohere 2024-05-25 17:09:47 +03:00
PasserDreamer
1e15be34b6 1. update index.html 18n.
2. update SD extension dropdown menu i18n.
3. update zh-tw.json.
4. add a template.json for translation.
2024-05-25 20:47:24 +08:00
Cohee
dc8530049f Reference implementation: Set expressions with function calling 2024-05-25 15:38:32 +03:00
Cohee
a20c6bb01e Extension framework for function tool calling 2024-05-25 15:31:57 +03:00
Wolfsblvt
4f2543f7ae Fix popup custom buttons 2024-05-25 01:02:13 +02:00
Wolfsblvt
d9582062d2 Expand popup functionality
- Add "custom buttons" functionality, each with their own popup result
- Handle 'Enter' by defining a default action
- Using default action to style the default button to make the default action visible
- Allow override of ok/cancel button on any popup type to display those
- Allow multiple popups to overlay each other
- Small styling changes for bottom spacing on non-input popups
2024-05-25 00:44:09 +02:00