Commit Graph

201 Commits

Author SHA1 Message Date
Cohee
b6f9c6480b unvendor: Move formula rendering from core to extensions 2024-10-17 10:08:00 +00:00
Cohee
5765ea8500 Merge branch 'staging' into feat/AdditionalLogins 2024-10-09 01:34:29 +03:00
QuantumEntangledAndy
69a604044d
Add additional login methods 2024-10-06 14:35:03 +07:00
Cohee
3b4a455ef8 Split Custom OAI prompt post-processing modes 2024-10-05 16:09:39 +03:00
Cohee
e2dd7bfb4b Remove leftovers from prompt expansion 2024-10-01 02:15:27 +03:00
Cohee
3e13155659 Update Seraphina WI embed 2024-09-28 01:25:04 +03:00
Cohee
3e0beb836d Fix default lorebook 2024-09-28 01:21:17 +03:00
Cohee
df3d7a048e Deprecate unscoped vectors 2024-09-24 21:51:10 +03:00
Cohee
8c39e20ed9 Merge branch 'staging' into deprecate-cc-or-instruct 2024-09-24 21:19:03 +03:00
Cohee
bc6520c392 Tabs? Why does it have to be tabs? 2024-09-24 12:56:59 +03:00
Cohee
e730acbbe1 Port Erato presets 2024-09-24 12:55:25 +03:00
Cohee
26f4d1a4ad Remove CFG for Novel, fix logitbias and text adventure bans for Erato 2024-09-24 08:12:50 +00:00
Cohee
182756fcb2
Erato (#2896)
* Erato
erato
2024-09-24 03:10:31 +03:00
Cohee
3812e3bdcb Merge branch 'staging' into sysprompt-divorce 2024-09-22 19:56:29 +03:00
Cohee
a18dae8f69 Remove "include newlines" checkbox from context formatting settings 2024-09-22 19:55:43 +03:00
Cohee
9d0ffc2d0d Merge branch 'staging' into sysprompt-divorce 2024-09-22 18:42:19 +03:00
Cohee
e814d8c019 Adjust default extension prompts 2024-09-22 13:47:29 +03:00
Cohee
b2eab37a89 Adjust default extension prompts, remove square brackets 2024-09-22 12:58:46 +03:00
Cohee
bf5b6090eb Remove the concept of default context and instruct. Swap columns 2024-09-21 22:37:15 +03:00
Cohee
e122dd2d7a Merge branch 'staging' into sysprompt-divorce 2024-09-21 02:11:42 +03:00
pandora
125498cfd5
Fixing Mistral Templates (#2883)
* Update Mistral.json

* Rename Mistral.json to Mistral V1.json

* Create Mistral V2 & V3.json

* Create Mistral V3-Tekken.json

* Update and rename Mistral.json to Mistral V1.json

* Update Mistral V1.json

* Update Mistral V2 & V3.json

* Update Mistral V2 & V3.json

* Update Mistral V3-Tekken.json

* Update Mistral V1.json

* Create Mistral V2 & V3.json

* Create Mistral V3-Tekken.json

* Update Mistral V1.json

* Update Mistral V2 & V3.json

* Update Mistral V3-Tekken.json

* Update Mistral V1.json

* Update Mistral V2 & V3.json

* Update Mistral V3-Tekken.json

* Update Mistral V1.json

* Update Mistral V2 & V3.json

* Update Mistral V1.json

* Update Mistral V3-Tekken.json

* Update Mistral V1.json

* Update Mistral V2 & V3.json

* Update Mistral V3-Tekken.json

* Add to content index

* Remove example separators

* Simplify context fillers

* Add a hack for proper V1 format with names

* Readability

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-09-21 01:56:02 +03:00
Cohee
e2f88e6243 Add Unified sampling for Novel 2024-09-21 00:24:52 +03:00
Cohee
8efe0b6437 Add Min P for Novel 2024-09-20 22:42:56 +03:00
Cohee
5001187b3c Revert default prompt 2024-09-20 08:15:23 +00:00
Cohee
589dc8a858 Revert "Remove square brackets from default prompts"
This reverts commit 48cd881972.
2024-09-20 08:15:23 +00:00
Cohee
4e5a997e63 Set default sysprompt to neutral chat 2024-09-20 00:35:47 +03:00
Cohee
48cd881972 Remove square brackets from default prompts 2024-09-19 23:54:16 +03:00
Cohee
0f2daede51 Merge branch 'staging' into sysprompt-divorce 2024-09-18 23:40:46 +03:00
Cohee
1366c2741d
Throttle chat backups (#2865)
* Throttle chat backups

* Throttle chat backups and apply backup interval throttling

- Added a new configuration option `chatBackupThrottleInterval` to the `config.yaml` file to specify the interval in milliseconds to throttle chat backups per user.
- Updated the `getBackupFunction` function in `chats.js` to use the `chatBackupThrottleInterval` value from the configuration file when creating a throttled backup function.
2024-09-17 18:18:35 +03:00
Cohee
b377a2b7d3 Decouple system prompts from instruct mode 2024-09-17 10:37:36 +00:00
Cohee
9ef3385255
Implement collection scopes for vector models (#2846)
* Implement collection scopes for vector models

* Update makersuite-vectors.js to use Gemini API text-embedding-004 model

* Add model scope for Google vectors

* Fix purge log

* Refactor header setting

* Fix typo

* Only display UI warning if scopes disabled

* Remove i18n attribute

---------

Co-authored-by: ceruleandeep <83318388+ceruleandeep@users.noreply.github.com>
2024-09-16 09:29:39 +03:00
Cohee
ca4d3c5ffe
Refactor instruct names behavior controls (#2837)
* Refactor instruct names behavior controls
Closes #2819

* Remove current persona from force names

* Don't add current user name in groups

* Revert to old text

* Add titles to names behavior

* Proper default for names_behavior
2024-09-16 00:46:03 +03:00
Cohee
30af741c3e Deprecated forced instruct on OpenRouter for Chat Completion 2024-09-15 10:54:12 +03:00
Cohee
ab06aa4bf5 Add support for outgoing request proxying
Closes #2824
2024-09-11 22:36:50 +03:00
Cohee
81251b073a Implement downloadable tokenizers
Closes #2574, #2754
2024-09-06 16:28:34 +00:00
Cohee
a0dc16d84c Extend default context size to 8k 2024-09-02 02:26:17 +03:00
Succubyss
fa806707ef
default: parser flags → true 2024-08-26 10:07:59 -05:00
Cohee
7d4b3e0800 Use J1.5 Large by default 2024-08-26 12:11:29 +03:00
Cohee
5fc16a2474 New AI21 Jamba + tokenizer 2024-08-26 12:07:36 +03:00
Cohee
5d48e081a6 Upscale default avatars 2024-08-25 22:04:08 +03:00
Cohee
60c22bf803 Add config value for extensions auto-update 2024-08-25 19:48:01 +03:00
Cohee
eb015e4a9a Update default themes and settings 2024-08-25 16:43:50 +03:00
Cohee
1e3a97a3aa Fix ollama keepAlive config hint. 2024-08-24 10:15:48 +03:00
Cohee
7322dd1954 Add optional Claude system prompt cache. 2024-08-15 21:25:08 +03:00
Cohee
cb7185fa12 [chore] Fix grammar, add JSDocs 2024-08-15 20:29:17 +03:00
BPplays
da5581e20e
support for Ipv6 (#2593)
* started adding v6 support

* added error checking and change messages to the user

* fixed lsp caused issue

* fixed formatting error

* added error handling to https

* fixed formatting errors

* brought server starting into different func and added enable v6 and v4

* added error checking for disabling both v6 and v4. added option to prefer v6 for dns. added that stuff to the default config

* fixed dumb bug

* changed to settings named disable ipvx

* fixed failed ips still showing as listening

* fixed error handling

* changed ip protocol config layout

* small const name changes

* fixed no error if only available protocol fails, and changed wording of some errors

* fixed error handling saying 'non-fatal error' for protocol fail even when it's the only one enabled

* moved more logic to listen error handler

* fixed eslint issues

* added more info on when to prefer ipv6 for dns

* in conf changed one 'ipv6' to 'IPv6' for consistency

* changed error message and redid how starting the server works

* removed unneeded log

* removed unneeded log

* removed unneeded comments

* fixed errors

* fixed errors

* fixed errors

* changed the wording of ip related error messages

* removed empty lines

* changed to .finally(startServer);

* removed some whitespace

* disabled ipv6 by default ╯︿╰ and changed some message wording

* added auto mode for autorun hostname and changed formatting for listening log and added goto message with autorun url

* added autorun port override

* removed debug log

* changed formatting

* added cli args to ipv6 and autorun stuff

* moved cli args around

* changed formatting

* changed colors for ip

* added avoidLocalhost cli arg

* changed formatting

* changed to not print protocol on listening

* added config option for avoid localhost and changed formatting of messages

* fixed avoid localhost config option

* Fix ipv4 color

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-08-15 20:12:12 +03:00
Cohee
f305ba7ce7 Configurable ollama keep_alive
Closes #1859
2024-08-11 17:32:31 +03:00
Cohee
32c48cf9fa Fix default value for OpenRouter Top A 2024-08-07 20:58:19 +03:00
Cohee
3a8614db94 Update models in default files 2024-08-01 00:53:45 +03:00
Cohee
5ad433c576 #2557 Put MistralAI prefix under a feature toggle 2024-07-27 19:57:40 +03:00