Commit Graph
8349 Commits
Author SHA1 Message Date
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 e3b34e9a58.

* 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 1dd97c139e Text Completion: Improve generic source model display 2024-12-20 20:59: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 8d13445c0b.
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
Cohee 503c3ad22b Merge pull request #3206 from DocShotgun/staging
Add DRY to llama.cpp sampler order
2024-12-19 10:40:23 +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 00363cc206 Merge branch 'release' into staging 2024-12-17 21:44:28 +02:00
Cohee dbc78c1c42 Fix OpenRouter caching at depth with null model selection 2024-12-17 21:40:33 +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 7eacdac665 Add bypass status check for Generic TC API type 2024-12-16 21:29:41 +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
Cohee 0180e01c25 Merge pull request #3195 from RivelleDays/patch-2
Update zh-tw.json
2024-12-16 20:32:20 +02:00
ceruleandeep b094a355c0 Remove spurious attrib tags inserted by getMissingTranslations 2024-12-16 22:43:14 +11:00
ceruleandeep 2ef9f5d748 Fix i18n for Prompt Inspector in wand menu 2024-12-16 21:31:47 +11: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
Rivelle d8b1fd3b0b Update zh-tw.json
Adjust translation terms to align with actual functionality.
2024-12-16 15:41:01 +08:00
M0cho 3f253f42f2 Update: [constants.js] Remove BISON_SAFETY 2024-12-16 12:45:30 +09:00
M0cho 0e3b4335eb Update: [prompt-converters.js] Remove entire dummy img codes 2024-12-16 12:44:02 +09:00
cloak1505 ce536201e6 Fix Cohere context sizes 2024-12-15 17:12:58 -06:00
cloak1505 12cc607754 Replace invalid aya-23 model name 2024-12-15 17:12:45 -06:00
cloak1505 266b181d49 Add Cohere command-r7b-12-2024
Also slightly reorder model list
2024-12-15 14:47:22 -06:00
Cohee e49301308c Merge pull request #3189 from Succubyss/substr
Add /substr command
2024-12-15 17:27:00 +02:00
Cohee 4c3b987ee4 Merge pull request #3188 from InspectorCaracal/fix-double-prefix-2
Fix double prefix mk 2
2024-12-15 17:05:26 +02:00
M0cho d16f5a24f4 Update: [prompt-converters.js] Remove gemini-pro-vision from constants
Removed gemini-pro-vision from visionSupportedModels. Also removed dummyRequiredModels as Gemini Pro, its cause, has been deleted.
2024-12-15 13:07:02 +09:00
M0cho 43feffdfae Update: [chat-completions.js] Update sendMakerSuiteRequest function
Removed branching logic for differences in JSON request body between PaLM and Gemini, following the removal of PaLM from Google AI Studio.
2024-12-15 13:06:48 +09: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
M0cho 58213d0ab0 Update: [index.html] Fixed inconsistent notation of GAI models
Corrected the text from "Experiment" to "Experimental" to align with the terminology used on https://aistudio.google.com/.
2024-12-15 12:29:44 +09:00
M0cho 954ed6c2b2 Update: [index.html] Remove PaLM from GAI models
The PaLM family (PaLM 2, PaLM 2 Chat) is no longer available on AI Studio.
```
Google AI Studio API returned error: 404 Not Found {
  "error": {
    "code": 404,
    "message": "Requested entity was not found.",
    "status": "NOT_FOUND"
  }
```
2024-12-15 12:28:37 +09:00
M0cho df5f69dc66 Update: [index.html] Added notes for deprecated GAI models
Based on https://ai.google.dev/gemini-api/docs/models/gemini, the 1.0 Pro model has been marked as deprecated.
2024-12-15 12:18:34 +09:00
M0cho e762405cba Update: [index.html] Remove GAI models deleted from the API
The 1.0 Pro Vision model has already been removed.
```
Google AI Studio API returned error: 404 Not Found {
  "error": {
    "code": 404,
    "message": "Gemini 1.0 Pro Vision has been deprecated on July 12, 2024. Consider switching to a different model, for example gemini-1.5-flash.",
    "status": "NOT_FOUND"
  }
}
```
2024-12-15 12:11:56 +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 8811010c73 Merge pull request #3181 from SillyTavern/tc-split-generic
Add generic text completion API type (100% OAI compatible)
2024-12-14 16:05:44 +02:00
Cohee e15e6dc3bd One more example of generic endpoint 2024-12-14 16:04:01 +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
Cohee 103251070f Merge pull request #3186 from Succubyss/getcontext_gettexttokens
Expose `tokenizers` & `getTextTokens` in `getContext`
2024-12-14 14:14:00 +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