Commit Graph

7957 Commits

Author SHA1 Message Date
Cohee
8c1e490727
Merge pull request #3068 from LuminousPath/release
feat: Add preferences parameter to /searxng endpoint
2024-11-13 11:10:42 +02:00
Cohee
61ddb720d7
Improve backward compatibility if preferences are not passed 2024-11-13 11:09:21 +02:00
Jonathan Nogueira
f880c68968
feat: Add preferences parameter to /searxng endpoint
Added paramater and handles it in the query parameters.
2024-11-13 14:27:31 +09:00
Cohee
f1bda3fb22
Merge pull request #3053 from Yokayo/staging
Update ru-ru translation
2024-11-11 23:04:05 +02:00
Cohee
a9aff676ba [chore] Apply lint and formatter 2024-11-11 22:36:06 +02:00
Cohee
664a531c22
Merge pull request #3059 from yar3333/staging
Exclude links to embedded images from translation
2024-11-11 22:34:33 +02:00
Cohee
dea2a62be3 Merge branch 'release' into staging 2024-11-11 16:33:29 +00:00
Yaroslav Sivakov
ba2b251d6e Exclude links to embedded images from translation 2024-11-10 17:30:55 +03:00
Cohee
8da98faa99 MistralAI: Include frequency/presence penalties in requests 2024-11-08 11:09:57 +02:00
Cohee
b29bc4000c Fix character note for the first character in the list 2024-11-08 10:55:10 +02:00
Cohee
6ae296d5b5 Add check for existing chats directory before reading files 2024-11-08 10:44:04 +02:00
Yokayo
6acf09a084 Small fix 2024-11-07 18:13:54 +07:00
Cohee
a3ca407b27
Backport llama.cpp-related DRY fixes from staging (#3051)
* llama.cpp Enable dry w/ array convert

The new PR that was merged needs an array instead of a str

https://github.com/ggerganov/llama.cpp/pull/9702

* Safe sequence breakers parse

* Support comma-separated list of llama.cpp sequence breakers #3026

---------

Co-authored-by: Beinsezii <beinsezii@gmail.com>
2024-11-06 19:47:30 +02:00
Yokayo
88ad22196c Merge branch 'staging' of https://github.com/Yokayo/SillyTavern into staging 2024-11-06 01:33:27 +07:00
Yokayo
9d664bc679 Update tl 2024-11-06 01:33:24 +07:00
Cohee
abef12d403 Fix "OpenAI-compatible" endpoints choking on empty logit bias 2024-11-05 16:42:51 +00:00
Cohee
2daff0e736 Console log full CC error response 2024-11-05 16:40:05 +00:00
Cohee
75c0d9b2a4
Merge pull request #3045 from WolframRavenwolf/claude-3-5-haiku
Added Claude 3.5 Haiku
2024-11-05 10:15:02 +02:00
Wolfram Ravenwolf
dcd11e4c54 Added Claude 3.5 Haiku 2024-11-04 20:19:39 +01:00
Cohee
c8a28137e0 Fix numeric series parsing
Closes #3043
2024-11-04 12:28:38 +00:00
Cohee
fb48d25041 Fix new character highlight 2024-11-04 00:42:17 +02:00
Cohee
266752bf93 Fix new character highlight 2024-11-04 00:41:59 +02:00
Cohee
77be125a99 NanoGPT: Add to image generation extension 2024-11-03 20:37:30 +02:00
Cohee
649c3911eb Add shouldRegister arg to /tools-register 2024-11-03 19:11:07 +02:00
Cohee
fe469745b3
Merge pull request #3037 from yar3333/release
Remove embedded images before send text to TTS
2024-11-03 19:02:44 +02:00
Yaroslav Sivakov
52a4c9202d
Update public/scripts/extensions/tts/index.js
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
2024-11-03 19:57:33 +03:00
Yaroslav Sivakov
8b32ee9e80 Remove embedded images before send text to TTS 2024-11-02 20:25:25 +03:00
Cohee
8c3ac0ac5a Fix instruct macros not using a proper enabled field 2024-11-02 16:34:21 +02:00
Cohee
cfd1545b8a
Merge pull request #3036 from procule/update-token-probabilities
Enhancement: Token Probabilities viewer with dynamic prefix adjustment via Ctrl-click
2024-11-02 16:25:20 +02:00
Cohee
237381ac3d
Merge pull request #3035 from SillyTavern/macro-1.5
Totally not a new macro engine
2024-11-02 15:43:06 +02:00
Cohee
48c3e81f42 DRY 2024-11-02 13:22:41 +02:00
Cohee
293d6ff60d Run mutating variable macros first 2024-11-02 12:53:44 +02:00
Olivier Gagnon
abf7b90135 Enhance Token Probabilities viewer with selective reroll functionality and text extraction helper
- Updated onPrefixClicked() to add Ctrl-click functionality:
  - Default click rerolls the entire prefix text to continue the generation.
  - Ctrl-click rerolls only the text before the clicked word, allowing users to more precisely control generation output.
- Introduced getTextBeforeClickedWord() helper function:
  - Extracts the text before a clicked word based on click coordinates, enhancing control over prefix selection.
  - Provides a fallback to return the entire span text if word extraction is not possible.
- Updated function documentation to clarify new behaviors and helper purpose.

This change allows users to reset the prefix at a certain point if needed, adding flexibility to the generation process and enabling more intentional selection of alternatives.
2024-11-02 01:49:37 -04:00
Cohee
48d8e6e2c3 Port #3031 onto new engine 2024-11-02 00:55:34 +02:00
Cohee
5c90c8b1f6 Add post-process fn to evaluation 2024-11-02 00:44:12 +02:00
Cohee
8f373cf1dc Macros: refactor with a single replace point 2024-11-01 21:47:25 +02:00
Cohee
b837c482fc
Merge pull request #3029 from P3il4/staging
Optimize chat manager logic
2024-11-01 20:17:29 +02:00
Cohee
4f6c5522bc Independent chat management content scroll 2024-11-01 20:16:51 +02:00
Cohee
07feccbe35 koboldcpp: parse logprobs 2024-11-01 11:38:31 +02:00
Cohee
8c568bfa13 Merge branch 'staging' into optimize-chat-manager 2024-10-31 21:05:36 +02:00
Cohee
5fe1bc46e6 Fix jquery plugins typedef 2024-10-31 21:05:22 +02:00
Cohee
a52129392e Align chat block items 2024-10-31 20:56:07 +02:00
Cohee
c303e27f62 Set search type to the input 2024-10-31 20:51:57 +02:00
Cohee
c7f94c6c14 Adjust doc link 2024-10-31 20:51:10 +02:00
Cohee
a8ff518b65 Add a space to message counter 2024-10-31 20:50:22 +02:00
Cohee
47b7745ceb Extend message preview length 2024-10-31 20:47:31 +02:00
Cohee
e0e60a1d00 Fix incorrect message counter 2024-10-31 20:07:23 +02:00
Cohee
6e36b77f1a Remove TAI artifact 2024-10-31 19:57:29 +02:00
Cohee
547c4f6757 Fix sorting and selected highlight 2024-10-31 19:54:24 +02:00
Cohee
f4ef324203
Merge pull request #3024 from dylan1951/add-nano-gpt-provider
Add NanoGPT chat completions provider
2024-10-31 19:30:24 +02:00