Commit Graph

5362 Commits

Author SHA1 Message Date
Cohee 865c48bcc0 Cohee forgot the ABC 2024-05-28 22:57:07 +03:00
Cohee 2b3dfc5ae2 Add ollama and llamacpp as vector sources 2024-05-28 22:54:50 +03:00
Cohee c858fccc5f Merge branch 'release' into staging 2024-05-28 20:10:42 +03:00
Cohee e66b270811 Change backups to be user data scoped 2024-05-28 17:49:34 +03:00
Cohee 1d32749ed2 Update latest tag for release branch pushes 2024-05-28 15:24:36 +03:00
Cohee 0024f96a99
Merge pull request #2325 from bdashore3/tabby-multiswipe
Tabby multiswipe
2024-05-28 10:39:46 +03:00
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
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
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
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
Cohee 4d161768c0 New Cohere model 2024-05-24 17:17:21 +03:00
Cohee 967a7980f5 Add vector retrieval score threshold 2024-05-23 17:28:43 +03:00
Yokayo 5450bacf0f Merge branch 'staging' of https://github.com/Yokayo/SillyTavern into staging 2024-05-23 17:17:22 +07:00
Yokayo 97965b2de5 Fix templates 2024-05-23 17:16:16 +07:00
Cohee 039f3b875b Add "ephemeral" option script /inject 2024-05-23 02:34:13 +03:00
Cohee 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
Cohee 8a8e8a89dc Remove debug log.
Don't think it makes much sense
2024-05-23 02:10:39 +03:00