Commit Graph

5119 Commits

Author SHA1 Message Date
f056e6a89c Merge pull request #3213 from SillyTavern/expressions-webllm
Expressions: Add WebLLM extension classification
2024-12-21 18:38:55 +02:00
f794b7621f Merge pull request #3210 from SillyTavern/sendtextarea-fieldsizing
Use CSS resizing for send textarea
2024-12-21 17:56:13 +02:00
2fbe689605 Implement autofit for edit textarea 2024-12-21 16:47:25 +02:00
222edd5c36 OpenRouter: Update providers list 2024-12-21 01:30:35 -06:00
f649e4698b Invert if cssAutofit 2024-12-21 02:52:05 +02:00
d27d750cb2 Use CSS resizing for send textarea 2024-12-21 02:50:42 +02:00
f1bc217e79 Expressions: Add WebLLM extension classification 2024-12-21 01:14:50 +02:00
73614f2f8d Refactor prompt converters with group names awareness 2024-12-20 23:30:57 +02:00
d7328af4c8 Merge branch 'staging' into group-join-examples 2024-12-20 22:32:19 +02:00
94de9411b6 UI performance fixes (#3207)
* Optimize visibility checks for burger and wand menus

* Optimize message actions visibility toggle

* Run drawer toggle in animation frame

* Replace jQuery slideToggle with a 3rd-party lib

* Refactor export button functionality to manage popup state with a boolean flag

* Do not close the pinned drawer on unpin

* Revert "Do not close the pinned drawer on unpin"

This reverts commit e3b34e9a58.

* Refactor slideToggle options

* ease-in-out

* Don't skip frame on drawer toggle
2024-12-20 22:20:46 +02:00
4232f6c5f4 More null checks for llamacpp logprobs parser 2024-12-20 22:00:36 +02:00
7e7b3e30c4 Tool Calling: Implement stealth tool defintions (#3192)
* Tool Calling: Implement stealth tool defintions

* Move isStealth check up

* Always stop generation on stealth tool calls

* Image Generation: use stealth flag for tool registration

* Update stealth property description to clarify no follow-up generation will be performed

* Revert "Image Generation: use stealth flag for tool registration"

This reverts commit 8d13445c0b.
2024-12-19 21:17:47 +02:00
e83182c03b Image Generation: Add tool message visibility toggle 2024-12-19 19:33:29 +02:00
f3c12fb926 Merge pull request #3205 from SillyTavern/forbid-empty-varnames
Do not allow empty or undefined variable names.
2024-12-19 19:16:20 +02:00
d5ed0f6cdf Also check global variable names 2024-12-19 19:15:04 +02:00
6193eb14da Add DRY to llama.cpp sampler order 2024-12-18 19:04:49 -08:00
372ac26080 Do not allow empty or undefined variable names.
Closes #3204
2024-12-18 20:22:27 +02:00
8753ae34be Merge pull request #3193 from cloak1505/r7b
Add Cohere command-r7b-12-2024
2024-12-17 12:18:54 +02:00
a6f37880e2 Merge pull request #3198 from ceruleandeep/i18n/generateImage
Fix i18n tags for Generate Image/Stop Image Generation, add translations
2024-12-17 07:55:08 +02:00
0819588e7a Merge pull request #3190 from M0ch0/staging
Update for Latest Google AI Studio
2024-12-16 21:04:44 +02:00
247a23bda9 Fix i18n for "Generate Caption" in wand menu 2024-12-16 20:51:29 +11:00
0ea4494dea Fix i18n tags for Generate Image/Stop Image Generation, add translations 2024-12-16 20:03:40 +11:00
ce536201e6 Fix Cohere context sizes 2024-12-15 17:12:58 -06:00
2d66b7204a Fixes to group join examples parsing 2024-12-15 18:09:17 +02:00
e49301308c Merge pull request #3189 from Succubyss/substr
Add /substr command
2024-12-15 17:27:00 +02:00
9ea8fc92e4 Update: [openai.js] Remove deleted GAI models from context length checks
Removed gemini-pro-vision and text-bison-001 (PaLM) from context length checks.
2024-12-15 13:06:30 +09:00
9cab0618b6 Update: [caption/settings.html] Remove GAI version of gemini-pro-vision
Retained the OpenRouter version, as it is still available via Vertex.
2024-12-15 12:43:16 +09:00
6fce056b8c Add /substr command 2024-12-14 19:25:09 -06:00
b8fc9f2194 Fix name-inclusion logic check 2024-12-14 15:10:31 -07:00
713c05f808 Add /getcharlore and /getpersonalore commands
Closes #3183
2024-12-14 18:48:14 +02:00
e960ae64c5 Add a name argument for /getchatbook
Closes #2599
2024-12-14 18:20:13 +02:00
756f88b5aa Merge branch 'staging' into tc-split-generic 2024-12-14 15:24:10 +02:00
5c1a9a3003 Merge pull request #3187 from InspectorCaracal/fix-double-prefix
Fix example messages being double-prefixed for group chats
2024-12-14 15:17:56 +02:00
a7e8d00145 Use Array.includes 2024-12-14 15:16:43 +02:00
1ef25d6176 fix double-prefixing on example messages 2024-12-13 17:56:06 -07:00
0e5100180b expose tokenizers & getTextTokens in getContext 2024-12-13 16:29:34 -06:00
cd0b834291 Implement "except" mode for type-specific controls in settings 2024-12-13 20:58:16 +02:00
6f4350b3a7 Add error handler to filter closure executor 2024-12-13 01:23:13 +02:00
294b15976c Add validation for filter inject argument 2024-12-13 01:20:43 +02:00
3167019faf Add generic text completion API type (100% OAI compatible) 2024-12-13 01:12:10 +02:00
205f1d7adb Add filter arg for inject command 2024-12-13 00:02:24 +02:00
47dea8159e Merge branch 'staging' into inject-filter 2024-12-12 23:35:23 +02:00
cf1b98e25d Add 'gemini-2.0-flash-exp' to supported vision models 2024-12-11 23:40:45 +02:00
c4c9f43a60 Merge pull request #3176 from M0ch0/staging
Support Gemini-2.0-flash-exp
2024-12-11 23:39:55 +02:00
a64c8ade9d Support Gemini 2.0 Flash-exp 2024-12-12 06:31:27 +09:00
0090d68559 Fix title of checkbox 2024-12-11 23:25:52 +02:00
d9e0df0884 Extensions: stable manifests sorting if conflicts in loading order 2024-12-11 23:00:57 +02:00
3be17e2ed8 Merge branch 'staging' into persona-lorebook 2024-12-11 18:25:58 +02:00
62be0939d0 Refactor manifests sorting 2024-12-11 18:20:29 +02:00
bc94ff7800 Preserve scrollTop on popup reopen 2024-12-11 18:09:30 +02:00