Commit Graph

6420 Commits

Author SHA1 Message Date
Cohee b29bc4000c Fix character note for the first character in the list 2024-11-08 10:55:10 +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
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 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 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
Cohee 2a451cf6a1 Add logo img 2024-10-31 19:29:43 +02:00
p3il4 30e9e90b38 optimize chat manager logic 2024-10-31 17:48:58 +03:00
Cohee 4babf322c1 Fix model restoration on load 2024-10-30 02:09:28 +02:00
Cohee f5f11eebb2 Support auto-connect 2024-10-30 02:02:56 +02:00
Cohee 085d852b57 Trigger inputs 2024-10-30 01:52:53 +02:00
Cohee 5ee0a6ec30 Support unlocked context size 2024-10-30 01:50:31 +02:00
dylan e7522bba76 Populate model list from models endpoint 2024-10-29 19:38:46 +13:00
Cohee 17b7f17676 Fix auto-continue with stream aborting
Closes #3021
2024-10-28 14:22:19 +00:00
Cohee 00f0f755fc Support comma-separated list of llama.cpp sequence breakers #3026 2024-10-28 11:44:26 +00:00
Cohee 542f77aeb8 Safe sequence breakers parse 2024-10-28 11:39:59 +00:00
Cohee 08d177e7ba Don't auto-swipe on aborted stream 2024-10-28 11:31:37 +00:00
Cohee ef3cb73477 Don't auto-swipe on aborted stream 2024-10-28 11:31:15 +00:00
Cohee 2030c2c711 Fix auto-continue with stream aborting
Closes #3021
2024-10-28 11:14:35 +02:00
Cohee 517b140911 Localize only the moment instance 2024-10-28 11:07:39 +02:00
Cohee 9493d05f2c Localize only the moment instance 2024-10-28 11:01:48 +02:00
Beinsezii ace2902cb8 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
2024-10-26 16:07:07 -07:00
Cohee f5bdb52c25 Merge branch 'staging' into webpack 2024-10-26 19:11:29 +03:00
Cohee 5b1a4fc723 Update char PHI macro lingo 2024-10-26 17:03:01 +03:00
dylan 0882fb2d15 Add NanoGPT as chat completions provider 2024-10-26 16:51:39 +13:00
Wolfram Ravenwolf 139c6b9c71 Add Claude 3.5 Sonnet (latest) options 2024-10-24 12:51:34 +02:00
Cohee e5183d7283 Extended getContext with SlashCommand classes 2024-10-23 23:46:33 +03:00
Cohee 0f320dd362 WebSearch: Add endpoint for Tavily 2024-10-23 23:38:17 +03:00
Cohee b5cdb29bf3 /popup: add scroll argument, allow scroll by default 2024-10-23 23:03:07 +03:00
Cohee e03f1b14e6 Enable vertical scrolling in /buttons
Closes #3012
2024-10-23 23:00:08 +03:00
Cohee d7c575994d Replace macros in user filler message
Fixes #3011
2024-10-23 22:57:48 +03:00
David Jimenez 030808d308
feat: add Claude 3.5 Sonnet 20241022 API model 2024-10-22 19:05:51 +01:00
Cohee 7e9f5b8ee2 Indicate connected textarea for expanded editor 2024-10-21 11:01:55 +03:00
Joe 8f09aced83 Add scroll bar to make it obvious 2024-10-21 00:57:15 -07:00
Joe b164084c0c Enhancement: Make buttons scrollable 2024-10-21 00:19:50 -07:00
Cohee 2e80c7ceb2 Remove old formula renderer CSS 2024-10-20 15:06:20 +03:00
Cohee 1c50180daa Merge branch 'staging' into webpack 2024-10-19 13:15:54 +03:00
Cohee 0a79d55983
Merge pull request #3002 from 50h100a/streamprobs
Correctly view token probabilities when 'Continue'-ing a response.
2024-10-19 13:14:44 +03:00
Cohee afde6e3f45 Add word-break in logprobs display 2024-10-19 13:13:42 +03:00
Cohee 78bbf0ed02 Fix format 2024-10-19 13:13:24 +03:00
50h100a 9f97a144e8 slightly change stream "abort" flow so token probabilities get successfully updated 2024-10-19 00:31:12 -04:00
50h100a 5d5e552cbd correctly interpret some alternate whitespaces in token names 2024-10-19 00:24:35 -04:00
Cohee 1ac6780e9c MistralAI: Explicitly set context size for ministral 2024-10-18 20:52:17 +03:00
Cohee ff2c71c4ef MistralAI: Add new models to the list 2024-10-18 20:48:28 +03:00
Cohee 2cdf53a3dd [chore] Lint login.html 2024-10-18 20:30:30 +03:00
Cohee a1d3b7f3ef Merge branch 'staging' into webpack 2024-10-18 20:12:51 +03:00
Cohee f61c2403d6 Featherless: Fix model pagination init 2024-10-18 20:05:50 +03:00
Cohee 9c379125be [chore] Add JSDoc 2024-10-18 19:46:37 +03:00
Cohee 80f91d129e Firefox: fix copy from edit textarea 2024-10-18 12:54:26 +00:00
Cohee e2a09ad5a7 Switch to module init function pattern 2024-10-18 12:17:30 +00:00
Cohee 6a5828f2c7 Fix legacy picks 2024-10-18 08:44:54 +00:00
Cohee 027d710716 NovelAI: Increase tier token limits 2024-10-17 23:47:47 +03:00
Cohee f918b146e7 Merge branch 'staging' into webpack 2024-10-17 23:08:36 +03:00
Cohee cb987706eb
Merge pull request #3000 from error-usernotavailable/staging
ADetailer functionality for stable-diffusion extension
2024-10-17 22:47:58 +03:00
Cohee ae784ddb1a Add detailer checkbox for SDNext 2024-10-17 22:47:09 +03:00
Cohee a3693ccf6d Use deepMerge to combine payloads 2024-10-17 22:45:33 +03:00
Cohee ada44497de
Merge pull request #2994 from artisticMink/fix-double-quotes
Fix double double quotes when copying chat message text in Firefox
2024-10-17 22:19:48 +03:00
maver 82570ef31d
Remove textnode checks before applying firefox double double qutoes fix 2024-10-17 18:55:17 +00:00
Cohee f897a4ab1a Merge with browser fixes from RossMods 2024-10-17 21:25:50 +03:00
Cohee 33f8cd4241 Add typehints for libs 2024-10-17 21:18:34 +03:00
Cohee 2620522333 Revert epubjs vendoring 2024-10-17 20:59:42 +03:00
Cohee e48cf68a13 Revert pdfjsLib vendoring 2024-10-17 20:53:18 +03:00
maver 34ff8e239f Fix double double quotes when copying chat message text in Firefox 2024-10-17 14:14:24 +02:00
Cohee e03e32d66a unvendor: Replace morphdom 2024-10-17 11:12:22 +00:00
Cohee b6f9c6480b unvendor: Move formula rendering from core to extensions 2024-10-17 10:08:00 +00:00
Cohee 08324ba801 Remove unused libs 2024-10-17 08:51:02 +00:00
Cohee e9a002bc2b unvendor: Replace droll 2024-10-17 08:12:28 +00:00
Cohee ec4763b0c5 unvendor: Replace popperjs/core 2024-10-17 08:03:58 +00:00
error-usernotavailable 301a31b8b2
Update settings.html
add checkbox in stable diffusion extension tab for ADetailer
2024-10-16 22:28:09 -04:00
error-usernotavailable 2689025ec3
Update index.js to use ADetailer in Auto1111/Forge/Vlad
added events, listener, and function for ADetailer/aiFaceDetailer. Rewrote function generateAutoImage to allow for tacking on of alwayson_scripts (maybe redo for a textbox/json later for other Auto1111 extensions?)

paired with settings.html edits
2024-10-16 22:23:31 -04:00