Commit Graph

6690 Commits

Author SHA1 Message Date
Wolfsblvt b68969ee3b Small update to enum display + consistency 2024-08-19 20:18:44 +02:00
Eugén Cowie 53c71d8059 Self review fix 2024-08-19 17:22:04 +01:00
Eugén Cowie 62818055af Get available tokenizers from UI 2024-08-19 15:51:11 +01:00
Eugén Cowie 5f92b8a09e Add slash command to set tokenizer 2024-08-19 00:39:15 +01:00
Cohee 44e62156b7
Merge pull request #2679 from SillyTavern/codeblock-underscores
Don't replace underscore italics inside of code blocks
2024-08-19 01:41:35 +03:00
Cohee 138d6877f7 Replace underscores in HTML output 2024-08-19 01:26:27 +03:00
Cohee 0456d753de
Merge pull request #2682 from Succubyss/messages-cmd_async
/messages callback refactored to async
2024-08-19 01:11:20 +03:00
Succubyss 43e64cffa2 use push instead of fixed size array 2024-08-18 15:37:31 -05:00
Succubyss d263e3e33a switch to filter method 2024-08-18 14:44:48 -05:00
Succubyss 5e354f22c5 getMessagesCallback: refactor to async 2024-08-18 14:23:21 -05:00
Wolfsblvt cfb40cae0b Only count popups as open which are "open" 2024-08-18 16:42:10 +02:00
Cohee ded26f9783 Fix Google translate result decoding
Inspired by #2522
2024-08-18 14:55:17 +03:00
Cohee f8dbe262c7 Fix for single backticks with line breaks 2024-08-18 14:22:31 +03:00
Cohee 5f3dddfe21 Fix for unmatched triple backticks 2024-08-18 14:21:50 +03:00
Cohee e137c5d154 Fix for unmatched single backticks 2024-08-18 14:15:22 +03:00
Cohee c0c09f9a5d Don't replace underscore italics inside of code blocks 2024-08-18 13:58:47 +03:00
Cohee 9215dfd0c6 Replace macros in DRY sequence breakers 2024-08-18 13:50:58 +03:00
Cohee 08e83c3ae8
Merge pull request #2550 from SillyTavern/enable-autoselect-inputs
Enable auto-select of input field on popups + Add "auto-select" utility class
2024-08-18 13:02:19 +03:00
Cohee cd9d2001c7 Merge branch 'staging' into enable-autoselect-inputs 2024-08-18 12:35:31 +03:00
Cohee 86af35afdd
Merge pull request #2677 from SillyTavern/popups-suppress-default-hotkeys
Open popups should block all default hotkeys
2024-08-18 12:33:58 +03:00
Cohee b2ddcaa696
Merge pull request #2675 from SillyTavern/api-url-slash-command
`/api-url` slash command to get/set the API server url for text gen and OpenAI Custom
2024-08-18 12:30:37 +03:00
Cohee abdf1f29cf Add support for Kobold Classic 2024-08-18 12:18:06 +03:00
Cohee 7b3d13ac00 Move command from script.js 2024-08-18 12:02:15 +03:00
Wolfsblvt 484d2b59ac Add schmoggle for auto select input 2024-08-18 03:38:07 +02:00
Wolfsblvt 321f0500e0 Merge branch 'staging' into enable-autoselect-inputs 2024-08-18 03:37:36 +02:00
Wolfsblvt 298baed59f Open popups should block all default hotkeys
- Fixes #2570
2024-08-18 03:16:29 +02:00
Wolfsblvt 53c39a403d Update help text of /api-url 2024-08-18 01:39:36 +02:00
Wolfsblvt f1739eaa70 Add custom openai compatible to /api-url 2024-08-18 01:35:36 +02:00
Wolfsblvt 28a9c45c31 /api-url slash command to get/set server url 2024-08-18 01:05:25 +02:00
Cohee d57272c166
Merge pull request #2663 from d-ber/bulkTagImport
Add bulk tag import
2024-08-18 00:34:39 +03:00
Cohee 961878c341 Add chatgpt-4o-latest to multimodal caption list 2024-08-17 20:58:20 +03:00
Cohee 600fb785ab
Merge pull request #2673 from cuteanon/staging
enable vision for chatgpt-4o-latest
2024-08-17 20:57:23 +03:00
err d02677feec
enable vision for chatgpt-4o-latest 2024-08-17 17:07:29 +02:00
d-ber 0f606642ce Refactor tag import setting override 2024-08-16 22:55:48 +02:00
d-ber 2d476d4461 Use wider css class for bulk tag menu 2024-08-16 22:00:01 +02:00
Cohee f9cfb39621
Merge pull request #2669 from SillyTavern/name2-prefix-trim
Don't trim names in message prefixes if allowed with settings
2024-08-16 22:36:50 +03:00
Cohee 9cca368c12 Don't trim names in message prefixes if allowed with settings
Closes #2666
2024-08-16 22:25:31 +03:00
Cohee fc02898a97
Merge pull request #2667 from SillyTavern/dataroot-cache
Move transformers.js model cache under the data root
2024-08-16 21:20:31 +03:00
Cohee c88edaa4ed Vector Storage: Fix query summarizing for WI and files 2024-08-16 20:49:14 +03:00
Cohee b0c115bdec Use fixed version of transformers 2024-08-16 12:03:43 +00:00
Cohee c2057da348 Move transformers.js model cache under the data root 2024-08-16 11:59:41 +00:00
Cohee 24a283c724 Split startup error log lines 2024-08-16 11:25:30 +00:00
Cohee 82e569cf08 Unconditional non-fatal server start error logs 2024-08-16 11:21:58 +00:00
Cohee e707def7dd Add tokenizer for Gemma/Gemini 2024-08-16 00:00:43 +03:00
Cohee ce8b0aae96 Add editor maximize for prefill textareas 2024-08-15 22:52:38 +03:00
Cohee 7322dd1954 Add optional Claude system prompt cache. 2024-08-15 21:25:08 +03:00
Cohee 0869270c26 Increase Anthropic multimodal caption max_tokens 2024-08-15 21:12:01 +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
d-ber af30991d77 Improve code readability 2024-08-15 17:40:57 +02:00