Commit Graph

3031 Commits

Author SHA1 Message Date
Cohee
895325ad4f Merge branch 'dev' into dev 2023-06-12 23:13:16 +03:00
Cohee
5971efd330 Adjust KAI retry logic 2023-06-12 23:01:01 +03:00
Cohee
88fadce5c6 Fix Kobold retry logic 2023-06-12 22:32:20 +03:00
Zixaphir
3a33b7cd3e Reimplement railguards for temporary API service unavailable errors. 2023-06-12 11:59:25 -07:00
Zixaphir
524cc881d4 = =/= ==
Can't believe I missed this yesterday.
2023-06-12 11:43:18 -07:00
Ikko Eltociear Ashimine
735a3c9b45 Fix typo in horde/index.d.ts
contructor -> constructor
2023-06-13 02:41:21 +09:00
Cohee
0007addbd9 Disable chat message autohide 2023-06-12 18:17:58 +03:00
Cohee
43701d378c Disable auto-mode in groups on user input 2023-06-12 18:15:18 +03:00
Cohee
aaf3f00bef Friendlier startup console messages 2023-06-12 17:38:41 +03:00
Cohee
65ee58d383 Hide wand if no extensions with menu button are active 2023-06-12 17:13:56 +03:00
Cohee
ecd8cad933 Clarify Poe max context sizes, increase default timeout, add ignore <ACK> to character note, don't chunkify the prompt for Claude-100k 2023-06-12 13:09:15 +03:00
Cohee
5b1d48a833 Fix dice extension dropdown 2023-06-12 12:39:59 +03:00
Cohee
f36bd0d3b9 Fix stop button not deactivating on impersonation finish in group chats 2023-06-12 12:35:17 +03:00
RossAscends
afe60c1e39 fix WI Entry disable style 2023-06-12 16:36:41 +09:00
RossAscends
548a3964a3 sitewide style fixes, char panel revamp 2023-06-12 16:14:13 +09:00
Zixaphir
b652b64863 Correct testing fail. 2023-06-11 19:14:41 -07:00
Zixaphir
e9427a14d5 Add warning if streaming is unsupported on kobold version.
minimum version of koboldcpp 1.30 is the only known implementation
to support SSE token streaming, assuming 1.30 releases with the
feature enabled.
2023-06-11 18:36:19 -07:00
Cohee
ac2fceeddf Add token counter for author's notes 2023-06-12 02:35:54 +03:00
Cohee
893cb968f5 Dynamically display lock icons 2023-06-12 01:09:54 +03:00
Cohee
77ac976dd3 Clarify persona management info messages 2023-06-12 00:53:18 +03:00
Cohee
4a507b2a46 Clarify wording for user name locking 2023-06-12 00:36:17 +03:00
Cohee
41ee2a20fb Add docs to /? message 2023-06-12 00:04:40 +03:00
Cohee
a3b977918c Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-06-11 23:49:58 +03:00
Cohee
2a882c4285 Ability to set default persona for chats 2023-06-11 23:49:55 +03:00
RossAscends
2b094653c0 help links match UI theme quotescolor 2023-06-12 05:45:42 +09:00
RossAscends
e1687b29a6 fix links for new docs site structure 2023-06-12 05:27:40 +09:00
Zixaphir
698461c188 Implement support for koboldcpp SSE streaming.
koboldcpp added SSE streaming to its API as of:
https://github.com/LostRuins/koboldcpp/pull/220

This has not yet been added to release, but I figued I'd try to
get the work done to make it ready.

Work mostly hijacked from:
10bbc97069
2023-06-11 13:24:07 -07:00
RossAscends
4bce33b1a9 Merge branch 'dev' of https://github.com/Cohee1207/SillyTavern into dev 2023-06-12 03:41:24 +09:00
RossAscends
3dc6936002 improve options&extensions menu display..again.. 2023-06-12 03:41:21 +09:00
Cohee
fc3d5ccf99 Merge pull request #481 from breathingmanually/send-if-empty 2023-06-11 20:43:13 +03:00
breathingmanually
147c7ea6ec Fix swipes etc when send_if_empty is set 2023-06-11 14:30:36 -03:00
Cohee
eea8516879 Don't process free mode SD prompts (just trim it) 2023-06-11 19:28:06 +03:00
Cohee
a1fb159617 Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-06-11 18:49:02 +03:00
Cohee
fc001b0b05 Bind user names to avatars (create personas) and select personas for chats 2023-06-11 18:49:00 +03:00
Cohee
3aad70ee0f Merge pull request #480 from breathingmanually/send-if-empty
Add preset setting to avoid sending empty messages
2023-06-11 18:18:34 +03:00
breathingmanually
98092222fd Add preset setting to avoid sending empty messages 2023-06-11 11:49:32 -03:00
Cohee
471bc6cb48 Fix option names 2023-06-11 15:18:59 +03:00
Cohee
f0666d8de8 Disable midword underscores in MD 2023-06-11 15:08:53 +03:00
Cohee
6a40ca45df Update showdown library 2023-06-11 15:06:14 +03:00
Cohee
3829580aab Disable dinkus extension if no separator is set. 2023-06-11 14:30:32 +03:00
Cohee
525b9dc0bb Fix default NAI presets. Add NAI bad words 2023-06-11 13:17:55 +03:00
Cohee
c34455ef1e Fix chunked message sending to Poe 2023-06-11 12:19:22 +03:00
RossAscends
c5ced699aa Merge branch 'dev' of https://github.com/Cohee1207/SillyTavern into dev 2023-06-11 08:38:30 +09:00
RossAscends
c514ada6a6 add /? for new hotkeys, and hint for /? in chatbar 2023-06-11 08:38:28 +09:00
Cohee
36a3c3f72b Merge pull request #475 from bdashore3/dev
Markdown escaping and reloading
2023-06-10 22:56:18 +03:00
kingbri
75814dd50a Chat: Add button for manual reloading
If automatic reloading doesn't work. Add this button to manually
reload the chat window. Only reload if a character chat is loaded.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-06-10 14:33:36 -04:00
Cohee
f3787b13f2 Poe reply suggestions 2023-06-10 21:20:47 +03:00
kingbri
424ed9c1df Formatting: Ignore chat separators with markdown
Some chat separators (or dinkuses) cause markdown to be rendered
on the chat window.

Examples include "###" -> h3 and "---" -> metadata.

This can look jarring to the end user as it can interrupt a pleasant
chat experience. Therefore, it makes sense to ignore these lines with
div tags that indicate to Showdown that this string doesn't need markdown.

Signed-off-by: kingbri <bdashore3@proton.me>
2023-06-10 14:09:29 -04:00
Cohee
46c1fde423 Get appropriate tokenizer for WAI and handle streaming rejection properly 2023-06-10 18:41:02 +03:00
Cohee
ccefee6cee Restore WAI model on load 2023-06-10 18:18:23 +03:00