4962 Commits

Author SHA1 Message Date
Cohee
2fbe689605 Implement autofit for edit textarea 2024-12-21 16:47:25 +02:00
Cohee
f649e4698b Invert if cssAutofit 2024-12-21 02:52:05 +02:00
Cohee
d27d750cb2 Use CSS resizing for send textarea 2024-12-21 02:50:42 +02:00
Cohee
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 e3b34e9a586db853dd84809f4187d5b29cb9ac36.

* Refactor slideToggle options

* ease-in-out

* Don't skip frame on drawer toggle
2024-12-20 22:20:46 +02:00
Cohee
4232f6c5f4 More null checks for llamacpp logprobs parser 2024-12-20 22:00:36 +02:00
Cohee
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 8d13445c0b66e4c0ef1ddcfaf18ab185464de600.
2024-12-19 21:17:47 +02:00
Cohee
e83182c03b Image Generation: Add tool message visibility toggle 2024-12-19 19:33:29 +02:00
Cohee
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
Cohee
d5ed0f6cdf Also check global variable names 2024-12-19 19:15:04 +02:00
DocShotgun
6193eb14da Add DRY to llama.cpp sampler order 2024-12-18 19:04:49 -08:00
Cohee
372ac26080 Do not allow empty or undefined variable names.
Closes #3204
2024-12-18 20:22:27 +02:00
Cohee
8753ae34be
Merge pull request #3193 from cloak1505/r7b
Add Cohere command-r7b-12-2024
2024-12-17 12:18:54 +02:00
Cohee
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
Cohee
0819588e7a
Merge pull request #3190 from M0ch0/staging
Update for Latest Google AI Studio
2024-12-16 21:04:44 +02:00
ceruleandeep
247a23bda9 Fix i18n for "Generate Caption" in wand menu 2024-12-16 20:51:29 +11:00
ceruleandeep
0ea4494dea Fix i18n tags for Generate Image/Stop Image Generation, add translations 2024-12-16 20:03:40 +11:00
cloak1505
ce536201e6
Fix Cohere context sizes 2024-12-15 17:12:58 -06:00
Cohee
e49301308c
Merge pull request #3189 from Succubyss/substr
Add /substr command
2024-12-15 17:27:00 +02:00
M0cho
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
M0cho
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
Succubyss
6fce056b8c Add /substr command 2024-12-14 19:25:09 -06:00
InspectorCaracal
b8fc9f2194
Fix name-inclusion logic check 2024-12-14 15:10:31 -07:00
Cohee
713c05f808 Add /getcharlore and /getpersonalore commands
Closes #3183
2024-12-14 18:48:14 +02:00
Cohee
e960ae64c5 Add a name argument for /getchatbook
Closes #2599
2024-12-14 18:20:13 +02:00
Cohee
756f88b5aa Merge branch 'staging' into tc-split-generic 2024-12-14 15:24:10 +02:00
Cohee
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
Cohee
a7e8d00145 Use Array.includes 2024-12-14 15:16:43 +02:00
InspectorCaracal
1ef25d6176
fix double-prefixing on example messages 2024-12-13 17:56:06 -07:00
Succubyss
0e5100180b expose tokenizers & getTextTokens in getContext 2024-12-13 16:29:34 -06:00
Cohee
cd0b834291 Implement "except" mode for type-specific controls in settings 2024-12-13 20:58:16 +02:00
Cohee
6f4350b3a7 Add error handler to filter closure executor 2024-12-13 01:23:13 +02:00
Cohee
294b15976c Add validation for filter inject argument 2024-12-13 01:20:43 +02:00
Cohee
3167019faf Add generic text completion API type (100% OAI compatible) 2024-12-13 01:12:10 +02:00
Cohee
205f1d7adb Add filter arg for inject command 2024-12-13 00:02:24 +02:00
Cohee
47dea8159e Merge branch 'staging' into inject-filter 2024-12-12 23:35:23 +02:00
Cohee
cf1b98e25d Add 'gemini-2.0-flash-exp' to supported vision models 2024-12-11 23:40:45 +02:00
Cohee
c4c9f43a60
Merge pull request #3176 from M0ch0/staging
Support Gemini-2.0-flash-exp
2024-12-11 23:39:55 +02:00
M0cho
a64c8ade9d Support Gemini 2.0 Flash-exp 2024-12-12 06:31:27 +09:00
Cohee
0090d68559 Fix title of checkbox 2024-12-11 23:25:52 +02:00
Cohee
d9e0df0884 Extensions: stable manifests sorting if conflicts in loading order 2024-12-11 23:00:57 +02:00
Cohee
3be17e2ed8 Merge branch 'staging' into persona-lorebook 2024-12-11 18:25:58 +02:00
Cohee
62be0939d0 Refactor manifests sorting 2024-12-11 18:20:29 +02:00
Cohee
bc94ff7800 Preserve scrollTop on popup reopen 2024-12-11 18:09:30 +02:00
Cohee
84bc14dfe5 Merge branch 'staging' into redesign-extension-manager 2024-12-11 17:50:28 +02:00
Cohee
0e81fb6a4a Async logic fixes 2024-12-11 17:49:03 +02:00
ceruleandeep
58ac746442 Show error popup if extension update fails 2024-12-11 19:37:21 +11:00
Cohee
e773678f2d Prompt Manager: forbid overrides if a prompt is disabled 2024-12-11 02:19:13 +02:00
Cohee
bcfb07de5e New llama-3.3 Groq model
Closes #3168
2024-12-10 17:59:59 +02:00
Cohee
df8e0ba923 Don't insert non-HTTP links to extension origin 2024-12-10 00:01:54 +02:00
Cohee
5a01eb8eb1 Ok, the manifest version can stay 2024-12-09 23:55:08 +02:00