Commit Graph

292 Commits

Author SHA1 Message Date
Cohee 2f43c8e227 Fix /ask in neutral chats 2024-09-29 19:12:26 +03:00
Cohee c3d5fba598 Support multiple in /setpromptentry 2024-09-29 12:48:40 +03:00
Cohee 38660df93f /model: fix not working on Novel/Horde 2024-09-26 23:46:03 +03:00
Cohee 8dd7a97eb3 Prevent duplicate toasts 2024-09-13 11:22:12 +00:00
Cohee 620847c4d6 Fixed logs 2024-09-13 11:12:41 +00:00
Cohee 88fab65a8f Fix /gen log 2024-09-13 11:01:59 +00:00
Wolfsblvt f5b68893d0 Improve error handling of /genraw and /gen
- /generate TC backend returns more status/error texts
- Fix /genraw and /gen returning null/undefined
- Logging errors on /genraw if backend throws an error
- Fixes #2836
2024-09-12 22:41:53 +02:00
Cohee 81cd38d4f7 #2832 /ask text non-required 2024-09-12 20:13:05 +03:00
Cohee 6a3b226da2 Still fighting /ask corruptions #2832 2024-09-12 10:02:37 +00:00
Cohee 4e67cc1bc4 One more /ask corruption fix
Closes #2832
2024-09-12 09:50:06 +00:00
Cohee 2379fd5970 Fix /ask corruption + add return value
Fixes #2832 and a skill issue
2024-09-12 10:19:03 +03:00
Cohee 86d9a80ff8 Fix restoration of current character after /ask
Fixes #2825
2024-09-11 19:34:26 +03:00
Cohee aed4a8e36d It was very close. 2024-09-10 22:37:53 +03:00
Wolfsblvt d21b24666a fix neutral avatar again 2024-09-10 20:02:26 +02:00
Wolfsblvt a989ccf318 Don't force avatar on neutral assistant chat 2024-09-10 19:44:27 +02:00
Wolfsblvt 9e73e2598e Small fix group chats not using default avatars 2024-09-10 19:15:49 +02:00
Wolfsblvt 10a23012f3 Fix /sendas not needed to enforce avatar
- Fixes #2820
2024-09-10 18:46:38 +02:00
Cohee 4522d3cbae Filter null-values from /model selection 2024-09-10 10:25:23 +00:00
Cohee 42fa3c79d7 Add Tabby model selection 2024-09-08 22:23:25 +03:00
Cohee f5873aec25 Add format selector to /listinjects 2024-09-08 18:24:12 +03:00
Cohee 24e8077997 Fix /echo escapeHtml being false by default 2024-09-07 14:03:00 +03:00
Cohee 4cd025cd7a Extend quiet effect in /model 2024-09-07 13:30:26 +03:00
Cohee ed115d4e11 Add quiet argument to /api-url 2024-09-07 13:09:10 +03:00
Wolfsblvt 2385c5a59a Change popup cancel result in command to empty str 2024-09-07 01:21:04 +02:00
Wolfsblvt 43b08cdd64 Refactor /popup to actual booleans
- still supports on/off, no worries.
2024-09-06 23:56:26 +02:00
Wolfsblvt a3468db94e Allow /popup to optionally return popup result 2024-09-06 23:29:18 +02:00
Wolfsblvt e4e10c3d6b /popup allow header arg, with sanitization 2024-09-06 23:14:52 +02:00
Wolfsblvt a9c0dd38c7 Refactor /popup args and docs, add 'cancelButton' 2024-09-06 22:38:02 +02:00
Wolfsblvt a9e4bef01b Add wider and transparent styles to /popup 2024-09-06 22:22:35 +02:00
Cohee c68b344b60 Add quiet args to /instruct and /model 2024-09-06 23:09:06 +03:00
Cohee 50217e37b8 Spell CSS consistently 2024-09-06 22:27:53 +03:00
Wolfsblvt 63c6fbaf58 /echo html allowed sanitize title too 2024-09-06 21:18:16 +02:00
Wolfsblvt 50a716a593 Update /echo docs helpstring 2024-09-06 20:53:39 +02:00
Sneha C fc942842b9
Update slash-commands.js
added some examples to /echo command
2024-09-06 22:39:30 +04:00
Wolfsblvt 25d8286dfc DOM.purify toast if HTML is allowed 2024-09-06 20:31:13 +02:00
Wolfsblvt 0d9843cdd6 clear onProgress before closure for no progress 2024-09-06 20:21:32 +02:00
Wolfsblvt ad04d0c9a2 Fix async closure call not clearing progress 2024-09-06 20:01:45 +02:00
Wolfsblvt e48ff8daae Add check for closure type 2024-09-06 19:49:32 +02:00
Wolfsblvt de8732fad6 Add onClick arg to /echo executing closures
- Adds the 'onclick' slash command arg to /echo
- It utilizes the Closure object without serialization, using the exact same scope it received on creation. Should be mindful about memory leaks and possible parallel execution.
2024-09-06 19:32:35 +02:00
Wolfsblvt 885a014507 Add escapeHtml arg to /echo 2024-09-06 19:03:21 +02:00
Wolfsblvt a4e72da40f Add color arg to /echo for custom color 2024-09-06 18:55:50 +02:00
Wolfsblvt c9ed91099f Add cssClass arg to /echo 2024-09-06 18:46:35 +02:00
Wolfsblvt d663be53ac Refactor deleteSwipe from callback into func 2024-09-01 23:12:33 +02:00
Cohee 2a598fb706 Allow /gen with empty prompts 2024-08-24 15:22:50 +03:00
Cohee 976be98dd7 Move command registration 2024-08-19 21:31:58 +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
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