Commit Graph

1531 Commits

Author SHA1 Message Date
7d937b36da Merge branch 'staging' into text-completion-include-reasoning 2025-01-31 20:33:02 +02:00
5bd3d9a518 Merge branch 'staging' into reasoning-continue 2025-01-31 13:51:09 +00:00
9710d88a88 Stop smooth streaming immediately on abort 2025-01-31 13:38:23 +00:00
f7eab66026 Fix streaming start appending undefined to reasoning block 2025-01-31 13:30:10 +00:00
67a4d10b75 Fix substituting macros in reasoning of a first message 2025-01-31 13:23:22 +00:00
753a99faf9 Support reasoning for OpenRouter text completion 2025-01-31 21:41:56 +09:00
9ecf261a76 Always add reasoning for continue 2025-01-31 21:06:15 +09:00
dfc2eb32c8 Merge pull request #3386 from SillyTavern/reasoning-parse
Reasoning blocks auto-parsing
2025-01-31 11:41:10 +02:00
c32e0bdde7 Autoswipe: Fix endless loop if blacklist empty 2025-01-29 23:01:37 +02:00
d0abba23dc Add reasoning auto-parsing, always show reasoning prefix/suffix in Markdown, respect space trim preference 2025-01-29 21:38:08 +02:00
9e8fd3f5a0 Merge pull request #3382 from SillyTavern/staging
Staging into reasoning-regex
2025-01-29 11:38:50 +02:00
0c9b301a57 Prevent ephemeral message extra changes vanish upon swiping 2025-01-28 15:39:09 +00:00
d616dfef38 Prevent log warning spam 2025-01-28 00:03:38 +02:00
0fb9884ab8 Skill issue 2025-01-27 23:59:25 +02:00
6fc342d446 Add regex processing for reasoning blocks 2025-01-27 23:06:07 +02:00
8b5e0df2d7 Refactor reasoning placeholder clean-up 2025-01-27 21:56:15 +02:00
bfedf20db5 Add reasoning tokens to token count. 2025-01-26 18:29:31 +02:00
eb798fa4f1 Move reasoning-specific code into its own module 2025-01-26 16:47:13 +02:00
17d4175b47 Functional reasoning edit 2025-01-26 05:14:17 +02:00
45d4d1bb3e [wip] Open reasoning editor 2025-01-26 02:49:10 +02:00
8fc880b69b Early stopping if prompt reasoning limit reached 2025-01-26 02:07:50 +02:00
94ed548353 Formatting setting to send reasoning back to the model
Supersedes #3352
2025-01-25 22:41:08 +02:00
9d73189133 Add updateMessageBlock and appendMediaToMessage to getContext 2025-01-25 00:38:13 +02:00
e3885c2b5c Combine functions 2025-01-25 00:29:55 +02:00
9250be348d Split if condition 2025-01-25 00:28:16 +02:00
03c98fb55a OpenRouter: Support reasoning blocks 2025-01-24 00:56:44 +02:00
7f9b139ae0 Merge branch 'staging' into woo-yeah 2025-01-24 00:13:06 +02:00
6aaeb754ef Exportable temporary assistant chats 2025-01-24 00:12:00 +02:00
afae8d02be The THONKening 2025-01-23 02:52:52 +02:00
8f18d35109 [chore] Add missing semi 2025-01-22 16:18:34 +00:00
f1923c5364 making showMoreMessages async to await event emission 2025-01-22 08:36:47 -07:00
1641b1f91f adding event after loading more messages in chat 2025-01-21 22:14:35 -07:00
d7bb92be54 deepseek reasoner
Closes #3322
2025-01-20 23:31:40 +02:00
5e396e2a91 Merge pull request #3317 from NodudeWasTaken/fix-empty-examples
Fix mes examples being undefined if empty
2025-01-18 23:31:32 +02:00
4fdff9fce2 Fix mes examples being undefined if empty 2025-01-18 14:07:09 +01:00
6e2b5d5dc8 Fix copy actions for non-HTTPS/localhost
Fixes #2352
2025-01-16 01:55:26 +02:00
0773a86922 Loop 3 times before discarding response length override on save 2025-01-14 00:15:23 +02:00
749c5df29a Restore temp response length as early as possible
Fixes #3297
2025-01-13 21:20:26 +02:00
a62fa3b073 Merge pull request #3287 from SillyTavern/fix-first-included-message-id-macro
Fix `{{firstIncludedMessageId}}` to not rely on DOM
2025-01-10 12:17:09 +02:00
e33c3771f5 No metadata save 2025-01-10 01:27:02 +01:00
d78577c46d Merge pull request #3266 from d-ber/character_import_speedup
Character import speedup by delaying tag import
2025-01-09 23:06:07 +02:00
2ab59f5a7a chore: reformat new code 2025-01-09 22:57:43 +02:00
7a2276c176 Fix {{firstIncludedMessageId}} to not rely on DOM
Up until now, the {{firstIncludedMessageId}} macro relied on searching the DOM for the actual CSS class applied for the context line.
Bad design, as the actual message was maybe not display, with display X messages enabled.

- Use setInContextMessages() that sets the context line on generation to also update a chat metadata field
- Utilize that field inside the macro
- Update docs to clarify that this will only show the mesid that was relevant during last generation
2025-01-09 21:23:18 +01:00
0a03793d7b Add /chat-render and /chat-reload commands 2025-01-09 21:10:12 +02:00
41a0d6919f Merge pull request #3273 from cierru/force_chid_in_generate_quite_prompt
Add the option to specify a character for generateQuietPrompt
2025-01-07 20:18:56 +02:00
68d8d322a9 Clarify comment regarding groups 2025-01-07 20:15:35 +02:00
57d6938d6c Added the force_chid parameter to the generateQuietPrompt function 2025-01-07 17:54:23 +05:00
d4f23de003 fix toasts and final char selection 2025-01-06 22:41:32 +01:00
c22ed52c72 fix function name, and minor fixes 2025-01-06 21:49:02 +01:00
96cd683d0e added tag import back into importCharacter 2025-01-06 00:30:15 +01:00