Commit Graph

490 Commits

Author SHA1 Message Date
46964b1b99 Add temp folder into assets, file are download into this temp file and moved only when complete. Allow to handle fail download. 2023-08-24 02:34:06 +02:00
4aa31fcba9 Add fallback option for OpenRouter 2023-08-24 03:21:17 +03:00
017df860e5 Sanitized character bgm request. 2023-08-24 01:42:52 +02:00
a5f66bda63 Added sanitization of request input for assets_download function. Changed assets download UI for button with little animation while downloading. 2023-08-24 00:17:07 +02:00
f23115f6b3 - Added assets folder to .gitignore
- disabled audio extension by default
        - turned get request into post
        - avoid background that are data url
        - changed UI name to Dynamic Audio
        - Changed Assets/Audio ui load to use $.get
        - added assets json url as field in ui, with connect button require confirm from popup.
2023-08-23 18:51:41 +02:00
d070336e9c Merge branch 'staging' of https://github.com/Tony-sama/SillyTavern into staging 2023-08-23 05:11:07 +02:00
13dac1f4d3 Assets extension, factorised using the received json type to organise the assets in the UI/folders. 2023-08-23 05:10:55 +02:00
8e38229ed4 Audio extension, handle custome background. Factorised bgm/ambient file listing into one assets listing function on server.js. 2023-08-23 03:47:13 +02:00
5009416f94 Merge branch 'SillyTavern:staging' into staging 2023-08-23 01:44:52 +02:00
41cc86af9f Add example extension for chat variables. Allow registering custom text processing functions for extensions 2023-08-22 17:46:37 +03:00
ba925f388c added more options to the scale request 2023-08-22 21:29:18 +10:00
06902279a9 merge 2023-08-22 21:17:18 +10:00
589631c154 prototype of assets list/download extension 2023-08-22 04:51:00 +02:00
4cf2b73eb1 Reorganised to handle different kind of assets, starting with audio bgm/ambient. 2023-08-22 01:49:45 +02:00
b176a1ed12 Adapted audio extension to empty bgm/ambient folder 2023-08-22 00:46:49 +02:00
84e397c429 - Audio
- refactored dynamic bgm to handle solo and group chat
        - added bgm cooldown variable, user can custom in the ui
2023-08-21 23:33:31 +02:00
25daa61e83 Audio module proper extension code. Dedicated Audio extension scripts. Simple UI to adjust bgm/ambient. Load bgm per character from character folder and switch audio dynamically w.r.t. expression. Ambient sound updated when background change. 2023-08-21 23:33:30 +02:00
cf796af950 Fix 500 error on fetching an empty folder 2023-08-21 23:06:27 +03:00
c7d9eb39f5 Remove img filter, move file loader to utils 2023-08-21 11:21:32 -04:00
3f04a5bfa0 Merge branch 'staging' of https://github.com/city-unit/SillyTavern into feature/exorcism 2023-08-21 00:47:35 -04:00
82adc4c780 Merge branch 'feature/exorcism' of https://github.com/city-unit/SillyTavern into feature/exorcism 2023-08-21 00:46:47 -04:00
e31c87c471 Add a way to see images in an image folder safely. 2023-08-21 00:43:04 -04:00
897ad28477 Apply preset manager for instruct presets 2023-08-21 00:56:53 +03:00
a27bef8b12 Merge branch 'staging' into qolfeatures 2023-08-20 18:47:43 +03:00
efa0f12349 Fix prompt manager issues 2023-08-20 16:25:16 +03:00
7ecc0295dc scale cookie method 2023-08-20 20:55:37 +10:00
6fb278266b Merge pull request #977 from city-unit/feature/exorcism
Feature/exorcism
2023-08-20 12:37:56 +03:00
94754af013 Reformat code 2023-08-20 12:37:38 +03:00
e8c996ff61 Move to char+timestamp for img naming. 2023-08-20 01:41:58 -04:00
83eb3449f3 localhost -> 127.0.0.1.
Thank you websockets, very cool.
2023-08-20 00:30:34 -04:00
3ce8343016 Add comments and stuff 2023-08-20 00:15:57 -04:00
e76001a600 Merge branch 'staging' of https://github.com/city-unit/SillyTavern into feature/exorcism 2023-08-19 23:58:11 -04:00
2f09efcd7f Exorcised base64 image stuff 2023-08-19 23:01:09 -04:00
bab368e3d2 Fix auto-load not triggering from hotswaps 2023-08-19 22:22:24 +03:00
ce40780ed1 Added option to exclude assistant prefix to Claude prompt (for jailbreaks already appending Assistant:) 2023-08-20 03:09:50 +10:00
5a68cd61a1 Remove unnecessary log 2023-08-19 18:58:37 +03:00
2cd2318298 Code clean-up 2023-08-19 18:52:06 +03:00
438c78574f Merge pull request #971 from kingbased/jurassic
AI21 Adapter
2023-08-19 18:48:15 +03:00
0f21eabb6e AI21 Adapter + Tokenization implementation 2023-08-20 01:20:42 +10:00
a9849d1883 More uploads cleanup 2023-08-19 17:50:16 +03:00
6471ce2074 Clean-up uploads folder when possible 2023-08-19 17:43:56 +03:00
991ff98eaa Performance optimizations for character edit / chat opening 2023-08-19 15:58:17 +03:00
9839ea5b07 adds green color for url line
This will make sure the link is more visible in console
2023-08-18 16:48:23 +02:00
f4dcd89ef6 Merge branch 'staging' of http://github.com/SillyTavern/SillyTavern into staging 2023-08-18 12:11:32 +03:00
52431e246a Make file write operations sync 2023-08-18 12:11:18 +03:00
8c191c4115 groundwork for WebUI-like streaming with mancer 2023-08-17 18:29:40 -04:00
e502354cec Merge pull request #956 from 50h100a/streaming-fix
Fix (some) websocket shenanigans in WebUI streaming
2023-08-17 19:42:55 +03:00
9c614529ca Make all file write operations atomic 2023-08-17 15:20:02 +03:00
0b412033ba Streamline and simply Novel logit bias. Make it a part of preset 2023-08-17 13:05:22 +03:00
13299e5c39 deal with websocket shenanigans
(and also clarify what's being printed out sometimes)
2023-08-17 05:52:32 -04:00