Commit Graph

2658 Commits

Author SHA1 Message Date
Zixaphir
524cc881d4 = =/= ==
Can't believe I missed this yesterday.
2023-06-12 11:43:18 -07: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
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
Cohee
ba09f56d3d Merge branch 'dev' of https://github.com/SillyLossy/TavernAI into dev 2023-06-10 18:16:15 +03:00
Cohee
d292f6ee87 Add Window AI model settings 2023-06-10 18:16:13 +03:00
RossAscends
0db5012626 Merge branch 'dev' of https://github.com/Cohee1207/SillyTavern into dev 2023-06-10 23:21:29 +09:00
RossAscends
c4e2480212 fix options menu hide/show & iOS blur 2023-06-10 23:21:23 +09:00
Cohee
acee302b09 Wrap Chat Completion buttons 2023-06-10 17:02:40 +03:00
Cohee
51919cff5d Add Test API connection button 2023-06-10 16:35:22 +03:00
Cohee
f894176e14 Add Top K and Top P for Claude 2023-06-10 16:21:45 +03:00
Cohee
935864388e Increase status check timeout interval 2023-06-10 15:57:48 +03:00
Cohee
125d499bcd Add rate to Edge TTS 2023-06-10 15:38:07 +03:00
RossAscends
5113c04281 hotkeys to scroll to context line and chat bottom 2023-06-10 12:32:27 +09:00
Cohee
c029b4ef73 Merge branch 'main' into dev 2023-06-09 23:28:27 +03:00
Cohee
6541d3e741 Bump package version 1.6.8 2023-06-09 22:35:17 +03:00
Cohee
d4d903323e Poe fixed 2023-06-09 22:33:54 +03:00
Cohee
9e0607c7cb Poe fixed 2023-06-09 22:31:57 +03:00
Cohee
dac67af6b0 Merge pull request #472 from mayaeary/patch-1
Fix code blocks style
2023-06-09 22:13:55 +03:00
Maya
0a7c7b01b3 Fix code blocks style 2023-06-09 22:08:26 +03:00
Cohee
1fe55194ee Reduce number of WI help links 2023-06-09 21:45:13 +03:00
Cohee
5354086438 Fix comment 2023-06-09 20:05:04 +03:00
Cohee
e9fe58d514 Add Edge TTS and SD CPU to colab 2023-06-09 20:03:45 +03:00
Cohee
d92f5338b5 Merge pull request #471 from itzraf-lab/patch-1
Update .replit
2023-06-09 13:04:01 +03:00
itzraf-lab
c4f9fdd1ee Update .replit
Added the ability to run Silly Tavern on replit with the Run button and don't have to manually go to Shell to start it
2023-06-09 17:46:01 +08:00
Cohee
78724d95f7 Fix System TTS on iOS 2023-06-09 12:33:28 +03:00
Cohee
3f79a066f6 Don't replace well-know substitution marcos with bias. Support macros in sys and sendas messages. 2023-06-09 02:50:35 +03:00