Commit Graph

5357 Commits

Author SHA1 Message Date
0024f96a99 Merge pull request #2325 from bdashore3/tabby-multiswipe
Tabby multiswipe
2024-05-28 10:39:46 +03:00
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
965dac6514 #2296 Add data bank bulk edit 2024-05-27 22:22:21 +03:00
80e104e723 Don't open click to edit in document mode if text selected 2024-05-27 21:50:42 +03:00
a6e6677c32 Merge branch 'release' into staging 2024-05-27 19:58:19 +03:00
66db820c9e Fix external style declaration filtering 2024-05-27 19:55:55 +03:00
62a1919402 Use recursive stylesheet sanitation 2024-05-27 14:28:40 +03:00
99e09f0b91 Improve external media removal in style blocks 2024-05-27 14:28:28 +03:00
8726def6e0 Use recursive stylesheet sanitation 2024-05-27 14:26:59 +03:00
1bc45d2869 Improve external media removal in style blocks 2024-05-27 13:43:59 +03:00
2c049e5611 Remove imports from embedded styles 2024-05-27 13:26:24 +03:00
630111c737 Remove imports from embedded styles 2024-05-27 13:25:21 +03:00
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
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
ef137f68c4 Fallback to Fuse if not parsed expression 2024-05-25 17:32:11 +03:00
cb381595f9 Function calling for Mistral 2024-05-25 17:31:40 +03:00
b545185f1a Transform LLM emotion response to lower 2024-05-25 17:11:58 +03:00
fa6fc45e6f Function calling for Cohere 2024-05-25 17:09:47 +03:00
dc8530049f Reference implementation: Set expressions with function calling 2024-05-25 15:38:32 +03:00
a20c6bb01e Extension framework for function tool calling 2024-05-25 15:31:57 +03:00
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
439ef0dc5e #2308 Preserve itemized prompts for branches and checkpoints 2024-05-25 00:07:36 +03:00
da4f0f53be Resolve char macros to message name in first message display 2024-05-24 23:41:27 +03:00
b20cf52fe6 Merge pull request #2291 from Yokayo/staging
Localizable prompt manager
2024-05-24 22:32:04 +03:00
761f903fdb Expand rightmost column a bit 2024-05-24 22:27:24 +03:00
a717e2ace8 Prefer const 2024-05-24 22:25:18 +03:00
5c3ad3e0bc Let's make the diff even cleaner! 2024-05-24 22:23:55 +03:00
1ed1e18304 Revert async forEach executor 2024-05-24 22:23:04 +03:00
0ebac0e2af Pretty print PM exports 2024-05-24 22:15:28 +03:00
800c94cb93 Fix for character export HTML 2024-05-24 22:11:36 +03:00
2f2a4fca35 Sanitize error text 2024-05-24 22:05:28 +03:00
d5f6849c8e Fix HTML error 2024-05-24 22:04:00 +03:00
61e5c32cd2 Fix make draggable 2024-05-24 22:00:21 +03:00
8bcb1ef2db Merge branch 'staging' into pm-i18n 2024-05-24 21:56:34 +03:00
0e7eff155d Fix ephemeral injects clean-up 2024-05-24 21:53:29 +03:00
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
e1dfbc0bea Merge branch 'release' into staging 2024-05-24 20:36:01 +03:00
7dc3b06d0f /api returns current name if no params 2024-05-24 20:34:29 +03:00
4d161768c0 New Cohere model 2024-05-24 17:17:21 +03:00
967a7980f5 Add vector retrieval score threshold 2024-05-23 17:28:43 +03:00
5450bacf0f Merge branch 'staging' of https://github.com/Yokayo/SillyTavern into staging 2024-05-23 17:17:22 +07:00
97965b2de5 Fix templates 2024-05-23 17:16:16 +07:00
039f3b875b Add "ephemeral" option script /inject 2024-05-23 02:34:13 +03:00
1f46d334b1 Merge pull request #2302 from Wolfsblvt/world-override-failsafe
Implement failsafe for world creation with same name
2024-05-23 02:11:54 +03:00
8a8e8a89dc Remove debug log.
Don't think it makes much sense
2024-05-23 02:10:39 +03:00
a11231dd2e Revert export removal 2024-05-23 01:47:06 +03:00
92cb70213a Fix no sanitize check on wi create 2024-05-23 00:39:49 +02:00
ab8c67ede6 Refactor overwrite check to utility function
- Refactor overwrite check to utility function
- Don't mind me refactoring character delete functions. I tried something, but I think the refactoring still makes sense
2024-05-22 23:52:35 +02:00
23d3b85696 Merge pull request #2295 from bdashore3/new-samplers
Add new tabby Samplers
2024-05-22 23:45:14 +03:00
65c3dfb694 Zen sliders fix 2024-05-22 23:37:51 +03:00