Commit Graph

41 Commits

Author SHA1 Message Date
Honey Tree 5397614347 Defaulting to -1 rather than boolean false 2024-11-17 14:01:22 -03:00
Honey Tree 73dabd8905 Simple implementation of caching at depth that should be useful for most use cases 2024-11-17 08:32:36 -03: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 df3d7a048e Deprecate unscoped vectors 2024-09-24 21:51:10 +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 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 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 60c22bf803 Add config value for extensions auto-update 2024-08-25 19:48:01 +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 5ad433c576 #2557 Put MistralAI prefix under a feature toggle 2024-07-27 19:57:40 +03:00
Cohee 02e65ff176 Configurable session expiration 2024-07-06 14:50:36 +03:00
Cohee ce18b33e73 Set the maximum number of backups via config 2024-07-01 01:17:56 +03:00
Cohee eb4cae4e6d Add WL to config. Code clean-up. 2024-05-01 19:52:34 +03:00
Cohee 2f45f50d37 Add config value for forwarded IPs whitelisting 2024-04-22 15:52:59 +03:00
Cohee 790185f9e9 Add disable CSRF to config.yaml. Add basicAuthMode to console args. 2024-04-13 19:35:27 +03:00
Cohee 2306a4e34d Add discreet login mode 2024-04-10 22:00:08 +03:00
Cohee 72792ae9f9 Basic account management 2024-04-08 02:38:20 +03:00
Cohee c6ffe4502a Add user management endpoints 2024-04-07 17:44:40 +03:00
Cohee b07aef02c7 Persist CSRF and cookie secrets across server launches 2024-04-07 16:41:23 +03:00
Cohee cd5aec7368 Split user directories from public, part 1 2024-04-06 20:09:39 +03:00
Cohee bd223486de Include additional headers for all supported Text Completion types. 2024-03-14 00:48:08 +02:00
Cohee 2f3dca2348 Add endpoint for transformers.js TTS 2024-02-02 01:51:02 +02:00
Cohee 4b845dd442 Add backend for transformers.js whisper 2024-02-02 00:36:40 +02:00
Cohee 24cd072e69 Update default vector storage model 2023-12-31 04:00:27 +02:00
LenAnderson f862ffafd2 add option in config.yaml to use png for avatar thumbs 2023-12-22 14:23:50 +00:00
Cohee c212a71425 Fix ignore list of preset manager 2023-12-20 15:51:00 +02:00
Cohee c7c1513e91 Add proxy support for multimodal captions. Add caption pre-prompt 2023-12-17 19:41:20 +02:00
Cohee 16795dd5cc Add server plugin loader 2023-12-16 22:21:40 +02:00
Cohee 478330542d Default to non-listen for new installs 2023-12-03 00:54:28 +02:00
Cohee 726bb2e041 #1405 Add formality config for deepl 2023-12-01 14:12:56 +02:00
Cohee 1ce009b84e [FEATURE_REQUEST] config.yaml basicAuthUser Default Setting Recommendation #1415 2023-11-29 14:05:19 +02:00
Cohee e541c2b186 #1412 Add randomized user ids to OpenAI 2023-11-29 00:11:10 +02:00
Cohee a7024a1d34 Migrate to config.yaml 2023-11-25 23:45:33 +02:00