4001 Commits

Author SHA1 Message Date
Cohee
7ec9996c1f Add prompt cost for OpenRouter under text completion 2024-03-13 02:55:09 +02:00
Cohee
6ede13979b
Merge pull request #1926 from deciare/char-jailbreak-continue
Fix Continue operation when character jailbreak enabled for Text Completion.
2024-03-13 02:30:06 +02:00
Cohee
e24fbfdc1d Update default OAI sampler parameters 2024-03-13 02:25:20 +02:00
Deciare
be74f0a6d1 Fix Continue operation when jailbreak enabled.
When character jailbreak prompt is enabled for the text generation API,
the jailbreak prompt was always inserted as the last message in history,
so the Continue operation was completing the jailbreak prompt instead of
the character's last output.
2024-03-12 20:07:40 -04:00
Cohee
b3aee73ac5 Proper English language display name 2024-03-13 00:04:13 +02:00
Cohee
da6545e615 Add {{name}} macro for instruct sequences. Resolves to an actual name behind the message (useful for group chats). When can't be determined, defaults to "System". 2024-03-12 23:26:45 +02:00
Cohee
7ad2473f99 Add char.card Jailbreak support for Text Completion APIs 2024-03-12 23:22:29 +02:00
Cohee
5efdecc825 Add new OpenAI embedding models for selection 2024-03-12 21:41:30 +02:00
Kristian Schlikow
44a7dd3d74
Add NomicAI for vectorization (#1922)
* Crudely add NomicAi for vectorization

* Move NomicAI to its own endpoint, properly handle API key

* Adjust clear button html

* Remove leftover nomicai http header code

* Revert changes to openai-vectors.js

* Fix UI issues

* Revert change to settings, fix UI

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-03-12 21:10:25 +02:00
Cohee
700c20d441 Add moment mutability notice for future generations 2024-03-12 20:45:30 +02:00
Cohee
c259294f58
Merge pull request #1924 from deffcolony/staging
added Vietnamese entry
2024-03-12 20:42:04 +02:00
deffcolony
33ed1d4616 Update lang.json 2024-03-12 19:40:01 +01:00
deffcolony
458bd8747f Update lang.json 2024-03-12 19:36:36 +01:00
deffcolony
23eec8318a added Vietnamese entry
+added Vietnamese to lang.json
+organized the order
2024-03-12 19:32:32 +01:00
Cohee
a9ec171c50 Cache parsed timestamps for quicker rendering 2024-03-12 20:29:07 +02:00
Cohee
3912c67965 Skip applying translations if no locale data is loaded 2024-03-12 20:24:45 +02:00
deffcolony
c27f8462fc bring back dashes and lower case 2024-03-12 19:12:59 +01:00
deffcolony
b6c29f7129 added new langs
+added new lang: Arabic, Portugese, Vietnamese
+added display names for all langs
+added data-i18n= tags for translation
2024-03-12 19:03:12 +01:00
Cohee
6b2374c405 Add function to write extension fields to character cards. 2024-03-12 01:49:05 +02:00
Cohee
c9c6d798d9 Fix Claude error in empty chats with no history 2024-03-12 01:17:35 +02:00
Cohee
5d561b64e2 Fix names in completions not getting added when squashing assistant messages 2024-03-12 01:10:53 +02:00
Cohee
9f0c2e0ddb Neither is this. 2024-03-11 02:56:43 +02:00
Cohee
a1256d9753 This doesn't actually work. 2024-03-11 02:55:15 +02:00
Cohee
21dc49ecc6 Fix indentation 2024-03-11 00:54:58 +02:00
Cohee
c8c08fd5d9 Set doc-height when window load fires 2024-03-11 00:54:37 +02:00
Cohee
d0fec68768 Extend markdown guide 2024-03-10 23:53:55 +02:00
Cohee
e061f006a2 Align WI editor dropdowns 2024-03-10 22:58:25 +02:00
Cohee
5f246aa756 Deduplicate locale loading logic 2024-03-10 20:49:11 +02:00
Alex
dd7f1a05ba
Merge branch 'SillyTavern:staging' into staging 2024-03-10 04:10:14 -07:00
Cohee
169c71a7c7 Add padding to creator's note content 2024-03-10 01:06:55 +02:00
AlexVeeBee
6a7e730923 Merge branch 'staging' of https://github.com/AlexVeeBee/SillyTavern into staging 2024-03-09 23:04:44 +00:00
AlexVeeBee
c9374bce13 remove useless console.log 2024-03-09 23:04:22 +00:00
Cohee
d2935934f1 Tighter layout of character panel 2024-03-10 01:04:12 +02:00
AlexVeeBee
458535c7bc Split i18n.json file 2024-03-09 23:03:51 +00:00
Cohee
c69b8137d7 Reduced motion disables background transition 2024-03-10 00:55:34 +02:00
Cohee
de3039977c Fix substituteParams JSDoc 2024-03-10 00:52:39 +02:00
Cohee
596ab89ef7 Run macro substitution before adding text to WI recursion buffer 2024-03-10 00:52:27 +02:00
Cohee
62a073c51a Merge branch 'release' into staging 2024-03-10 00:43:08 +02:00
Cohee
68c1ab9f95
Merge pull request #1912 from johnbenac/AllTalk_Tip
Add tip to AllTalk endpoint field.
2024-03-10 00:42:40 +02:00
johnbenac
d9ff9e796b
Add tip to AllTalk endpoint field. 2024-03-09 15:57:01 -05:00
Cohee
cdbb979a3e
Merge pull request #1909 from ThisIsPIRI/unlock
Prevent presets without a max context/response value from unchecking unlocked context
2024-03-09 21:14:00 +02:00
Cohee
2f6ae8d49a Add names for non-sysprompt example messages 2024-03-09 21:10:20 +02:00
Cohee
26c0886856 Placeholder for Pygmalion character source 2024-03-09 21:10:20 +02:00
Cohee
91d6a139e5
Merge pull request #1906 from DreamGenX/dreamgen_api
Add support for DreamGen API.
2024-03-08 21:16:37 +02:00
Cohee
35ee126c03 Trim whitespace at the end of Claude's prefill.
Otherwise it won't pass validation. I didn't make the rules.
2024-03-08 19:35:49 +02:00
ThisIsPIRI
535126083e Prevent presets without a max context/response value from unchecking unlocked context 2024-03-08 17:12:53 +09:00
DreamGenX
c9c0f238a9 add 'stream' to dreamgen fields 2024-03-08 09:07:26 +01:00
DreamGenX
0985bb0507 remove style description from system prompt template 2024-03-08 08:39:47 +01:00
DreamGenX
bf787a9445 support dreamgen non-streaming 2024-03-08 08:32:47 +01:00
Cohee
ff7c250946 Add logo 2024-03-08 08:51:10 +02:00