d316d51c0b
Rework expression slash commands
...
- Common naming schema for slash commands, all starting with the name of the expression - moved the original names to aliases
- Make char name optional for /expression-last if not in group chat
- Removed legacy 'format' argument handling from /expression-classify
- Fixed /expression-upload to the new backend call, added optional 'spriteName' argument
2025-01-27 23:48:37 +01:00
84a8a2bc2b
Fix expression sprite sorting, fade additional
...
- Sort alphabetically, but keep the main expression file first
- Fade additional sprite images if "allow multiple" is not chosen
2025-01-27 23:01:29 +01:00
7063af7363
Move new expression settings, add tooltip
2025-01-27 22:10:31 +01:00
3d6f48786d
Refactor expression popups to modern popup
2025-01-27 21:57:40 +01:00
65ad79adce
Fix expression delete
2025-01-27 21:50:13 +01:00
ef127df623
Update sprite delete call
2025-01-27 08:33:14 +01:00
3282c9426c
Upload expressions update
2025-01-27 05:39:51 +01:00
239c3f1db7
Add settings for multiple expressions
2025-01-26 23:11:22 +01:00
adede8b6be
Roll on the sprite to use for an expression
2025-01-26 19:12:37 +01:00
a072951102
Update backend returned sprites list
2025-01-26 00:15:46 +01:00
126e4fa698
Display additional images in expression list
...
- Update Expressions List to display additional images per expression
- Make additional images appear visually distinct
- Fix small issues with custom labels not always being shown
- Add tooltip on all expression images
- Modify /api/sprites/get endpoint to correctly parse the label from filenames that might be additional files
2025-01-08 01:20:25 +01:00
0f93caa427
Fix type errors in command registration
2024-12-22 18:12:07 +02:00
c3a12cc1a2
feat: /uploadsprite slash command
2024-12-22 12:55:20 +11:00
7bb37f129d
fix: move cache-busting to server side
2024-12-22 12:33:01 +11:00
f1bc217e79
Expressions: Add WebLLM extension classification
2024-12-21 01:14:50 +02:00
f98f83471a
Update index.js
...
Changes for LLM API
- Avoid sending partial API requests when streaming.
- Avoid checking character length when using API as it can afford more characters.
2024-12-08 23:31:03 +01:00
66a862f797
Lint the use of data-i18n attributes
2024-12-01 15:10:22 +02:00
e6d8f0a33e
unvendor: Replace Fuse
2024-10-16 22:15:38 +03:00
8006795897
New tool calling framework
2024-10-02 01:00:48 +03:00
d82dc4952b
Merge branch 'staging' into send-commands-return-value
2024-10-01 01:52:33 +03:00
7a1b43eb89
Refactor /classify-expressions, deprecating...
...
- Update /classify-expressions, deprecating the old "format"
- Fix some oversights
2024-10-01 00:37:21 +02:00
d7bad6335c
Refactor findChar to utils
...
- Refactor and move finChar to utils, instead of slashcommands function
- Refactor scrapers to use actual init functionality
2024-09-29 03:20:01 +02:00
edcf52e3a8
Update more commands for new char find
...
- Update /member-add to utilize new char find functionality
- Update /tag-add, /tag-remove, /tag-exists and /tag-list to utilize new char find functionality
. Update /lastsprite to utilize new char find functionality
2024-09-29 02:54:12 +02:00
578fc8e6f1
Fix classify not using extension-defined prompt
2024-09-25 04:55:48 +02:00
b2eab37a89
Adjust default extension prompts, remove square brackets
2024-09-22 12:58:46 +03:00
dcaa8d5e9c
Initialize talkinghead on extras connection
...
Closes #2850
2024-09-16 09:17:23 +00:00
85773ace79
Add format arg for classify-expressions
2024-09-05 10:48:46 +03:00
b4ecba2a45
Fix macro not replacing in custom prompt
2024-09-05 10:23:51 +03:00
d62f18b523
Add missing await
2024-09-05 00:34:52 +02:00
3b10ae00c7
Add /classify-expressions to retrieve emote list
2024-09-05 00:24:10 +02:00
2472b26057
/classify allows custom prompt for LLM api
2024-09-05 00:13:54 +02:00
a37b805a5d
/classify can specify classier API as argument
2024-09-05 00:06:14 +02:00
5d0581603b
fix: LLM Classifier Defaulting to Last Spoken Character's Expression For All Characters in Group Chats ( #2605 )
...
* fix: fix llm expression classifier on group chats
* chore: adjust some things
* fix: exisiting chats defaulting to last character's sent message
* chore: use dual awaits than promise
* chore: restore allSettled and separate await call for llm only
* chore: move classification to generateRaw
* chore: remove characterId
* chore: revert some placements back to how they were
* chore: remove uneeded imports
2024-08-04 13:24:24 +03:00
d214c18156
#2566 Cache expressions list for LLM API
2024-07-27 13:57:39 +03:00
c8b9b62d8a
Update built-in extensions to use fixed order in extensions menu
2024-06-24 22:15:08 +03:00
d0b6243f77
Add character filter to lastsprite
2024-06-23 15:23:03 +03:00
48077d200b
More slash command enums (nearly done)
2024-06-21 20:04:55 +02:00
ffc84f5118
Merge branch 'staging' into slash-command-enums
2024-06-20 20:38:55 +02:00
be9f34ab8a
Fix data-i18n removing options
2024-06-17 11:23:59 +03:00
7f7ecdcca8
Merge branch 'staging' into slash-command-enums
2024-06-17 07:06:26 +02:00
66d609c35f
Several million refactoring of existing slash commands with enums (really)
2024-06-17 07:04:10 +02:00
5e44403346
fixup translates ( #2382 )
...
* Update i18n.js
* fixup
* update i18n CI
* fix trigger?
* i18n changes
* Update zh-cn.json
* add missing keys
* Revert "i18n changes"
This reverts commit ebe0ede6e1
.
* Revert "update i18n CI"
This reverts commit ac923c8bd6
.
* Revert "Update i18n.js"
This reverts commit 14a845836b
.
* typo fix
---------
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Touch-Night <1762918301@qq.com >
2024-06-16 14:39:46 +03:00
974d6275bf
Revert " #2369 Ignore invalid characters in getLastCharacterMessage"
2024-06-16 11:27:11 +03:00
101c735d91
Add enum provider for /emote
2024-06-15 18:21:44 +03:00
3ca6795cde
#2369 Ignore invalid characters in getLastCharacterMessage
2024-06-15 18:13:59 +03:00
b22bc47c4f
Update ext.macro calls in built-in extensions
2024-06-15 01:40:16 +03:00
3ede4aafbe
Update zh-cn.json ( #2376 )
...
* Update zh-cn.json
* html changes
* `div`->`span`
* fixes
* fixes
* more fixes
* Revert last divs
---------
Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com >
2024-06-14 22:46:40 +03:00
ef137f68c4
Fallback to Fuse if not parsed expression
2024-05-25 17:32:11 +03:00
b545185f1a
Transform LLM emotion response to lower
2024-05-25 17:11:58 +03:00
fa6fc45e6f
Function calling for Cohere
2024-05-25 17:09:47 +03:00