Commit Graph

5469 Commits

Author SHA1 Message Date
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
PasserDreamer 813b9e6a4b Fix other i18n entity changes. 2024-05-26 23:58:12 +08:00
PasserDreamer b8e8e96f01 update entity "novelaipreserts" to "novelaipresets" 2024-05-26 23:25:00 +08: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 31f4a34f5a
Merge pull request #2312 from NijikaMyWaifu/gpt4o-tokenizer-for-gemini
Use GPT-4o tokenizer for Gemini
2024-05-25 20:20:30 +03:00
PasserDreamer ee2b09ec4c update i18n 2024-05-25 23:58:18 +08: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 c6745d76a8
Update zh-tw.json 2024-05-25 22:03:54 +08:00
PasserDreamer 1e0efb73c5
Update zh-tw.json 2024-05-25 22:02:45 +08:00
PasserDreamer 73e6e3725d
Update template.json 2024-05-25 22:02:06 +08:00
PasserDreamer 83bfe59991
Update index.html 2024-05-25 22:01:27 +08:00
PasserDreamer df3552d0d8
Update zh-tw.json
missing comma
2024-05-25 21:42:42 +08:00
PasserDreamer c3544ba07d
Update zh-tw.json 2024-05-25 21:35:13 +08:00
PasserDreamer 1c7e696549
remove duplicates from template.json
remove duplicates entities.
2024-05-25 21:25:32 +08:00
PasserDreamer b23f6944f1
Update template.json
fix typo.
2024-05-25 21:16:48 +08: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
NijikaMyWaifu 33b22bd4f8
Use GPT-4o tokenizer for Gemini
Use GPT-4o tokenizer for Gemini, as Gemini tokenizer is more similar to GPT-4o's
2024-05-25 13:26:11 +08:00
Cohee 439ef0dc5e #2308 Preserve itemized prompts for branches and checkpoints 2024-05-25 00:07:36 +03:00
Cohee da4f0f53be Resolve char macros to message name in first message display 2024-05-24 23:41:27 +03:00
Cohee b20cf52fe6
Merge pull request #2291 from Yokayo/staging
Localizable prompt manager
2024-05-24 22:32:04 +03:00
Cohee 761f903fdb Expand rightmost column a bit 2024-05-24 22:27:24 +03:00
Cohee a717e2ace8 Prefer const 2024-05-24 22:25:18 +03:00
Cohee 5c3ad3e0bc Let's make the diff even cleaner! 2024-05-24 22:23:55 +03:00
Cohee 1ed1e18304 Revert async forEach executor 2024-05-24 22:23:04 +03:00
Cohee 0ebac0e2af Pretty print PM exports 2024-05-24 22:15:28 +03:00
Cohee 800c94cb93 Fix for character export HTML 2024-05-24 22:11:36 +03:00
Cohee 2f2a4fca35 Sanitize error text 2024-05-24 22:05:28 +03:00
Cohee d5f6849c8e Fix HTML error 2024-05-24 22:04:00 +03:00
Cohee 61e5c32cd2 Fix make draggable 2024-05-24 22:00:21 +03:00
Cohee 8bcb1ef2db Merge branch 'staging' into pm-i18n 2024-05-24 21:56:34 +03:00
Cohee 0e7eff155d Fix ephemeral injects clean-up 2024-05-24 21:53:29 +03:00
daiaji 66454bb711
Add reverse proxy support to Google MakerSuite to allow some Google MakerSuite URLs to no longer be hardcoded with domain names. (#2307)
* Add reverse proxy support to Google MakerSuite.

* Remove hardcoded URLs for some Google MakerSuite API calls.

* Don't send real key to alt.endpoint

* Fix for image captioning

* Fix key validation

* +fix key check for mistral

* Fix caption key validation

* Fix tokenization endpoint use

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-05-24 21:38:29 +03:00
Cohee e1dfbc0bea Merge branch 'release' into staging 2024-05-24 20:36:01 +03:00
Cohee 7dc3b06d0f /api returns current name if no params 2024-05-24 20:34:29 +03:00