Wolfsblvt
1ad3a2b968
Add 'return' and 'strict' to /reasoning-parse
...
- Add 'return' arg to `/reasoning-parse` to decide whether to return the reasoning, or the content without reasoning. Defaulting to reasoning.
- Add 'strict' arg to `/reasoning-parse` to decide whether the reasoning block has to be at the beginning of the provided message or not. Defaulting to true.
- Update parsing of all reasoning (even the auto parse one) to be strict by default - meaning the regex block has to be at the beginning (excluding whitespaces)
2025-02-17 03:47:31 +01:00
Cohee
cd2d6e85e0
Merge branch 'staging' into reasoning-parsing-streaming
2025-02-17 00:13:27 +02:00
Cohee
058c86f3c1
Vectors: Don't use headers for source-specific fields in requests
2025-02-16 23:59:00 +02:00
Cohee
a771dd5478
Show reasoning editor when hidden and empty
2025-02-16 23:21:08 +02:00
Cohee
baa4632071
Merge branch 'staging' into reasoning-parsing-streaming
2025-02-16 23:16:04 +02:00
Cohee
ebe877e6b6
Update dompurify
2025-02-16 23:14:50 +02:00
Cohee
1156b648eb
Merge branch 'staging' into reasoning-parsing-streaming
2025-02-16 23:12:41 +02:00
Cohee
ec49b19aff
Fix chat render when OpenRouter "website setting" model used
2025-02-16 22:46:44 +02:00
Cohee
75aec77271
Merge pull request #3493 from SillyTavern/staging
...
Staging
1.12.12
2025-02-16 21:15:21 +02:00
Cohee
7348e0274d
Bump package version
2025-02-16 21:00:25 +02:00
Cohee
362470da18
Plugins: Add auto-update functionality ( #3487 )
...
* Plugins: Add auto-update functionality
* Check if directory is a git repo
* Display message if any plugins were loaded
2025-02-16 20:55:53 +02:00
Cohee
4d323ec76f
OpenRouter: Add new providers to the list
...
Closes #3491
2025-02-16 18:15:26 +02:00
Cohee
0039b48d1b
Merge pull request #3490 from Dakraid/feature/safety_tolerance-falai
...
Set safety_tolerance for Flux on FAL
2025-02-16 17:45:13 +02:00
Kristan Schlikow
050e65861c
Set safety_tolerance for Flux on FAL
2025-02-16 16:40:10 +01:00
Cohee
a434d217cc
Fix input prompt title for creating a new Quick Reply Set
2025-02-16 16:25:08 +02:00
Yokayo
890d10d811
Work on tl
2025-02-16 18:43:57 +07:00
Cohee
1723ce0f22
Merge pull request #3482 from SillyTavern/fix-auto-expand-new-message-v2.1
...
Fix auto expand on thinking during new message (v2.1)
2025-02-16 12:46:03 +02:00
Wolfsblvt
b3688087d5
Save reasoning type with the message
...
- use mes extras property to save where the reasoning came from
- update it accordingly on streaming, slash commands and manual add
- Modify title tooltip on reasoning header to show the origin where it makes sense, providing the user with a little bit more orientation about the reasoning.
2025-02-16 05:05:48 +01:00
Wolfsblvt
bcea4248c4
Shouldn't parse reasoning if real reasoning there
2025-02-16 03:21:02 +01:00
Wolfsblvt
9590127bae
Handle auto parsing reasoning during streaming
...
- Add function to handle auto parsing reasoning from the streamed message during streaming
- Only works when the reasoning prefix is EXACTLY at the beginning of the message
- Tried to keep this lightweight, no regex parsing, remembering the index, so it's simple string splicing
- Add utility function that trims a string only if `trim_spaces` is enabled
2025-02-16 03:09:20 +01:00
Wolfsblvt
eb6a158781
Fix resetting reasoning duration correctly
2025-02-16 02:09:33 +01:00
Cohee
cc369d25c5
Merge pull request #3477 from SillyTavern/tc-global-banlist
...
Text Completion: Add global banned strings list
2025-02-16 02:18:50 +02:00
Cohee
59928d37ff
Add common togglable class for coloring buttons
2025-02-16 02:16:21 +02:00
Cohee
1f41124844
Remove pointless return
2025-02-16 02:13:08 +02:00
Cohee
3d492523e2
Merge branch 'staging' into tc-global-banlist
2025-02-16 01:12:23 +02:00
Cohee
fc488bd4fe
Merge pull request #3481 from SillyTavern/cache-buster
...
Add cache buster middleware to clear browser cache on server restart
2025-02-16 01:11:54 +02:00
Cohee
fd38ca503a
Evict cache per user agent
2025-02-15 23:05:08 +02:00
Cohee
9a15890745
Merge pull request #3480 from SillyTavern/fix-auto-expand-new-message
...
Fix auto expand on thinking during new message
2025-02-15 22:57:01 +02:00
Wolfsblvt
37d9d4c253
Make sure auto-expand doesn't conflict with hidden
2025-02-15 21:44:06 +01:00
Cohee
bae02a44ed
Add cache buster middleware to clear browser cache on server restart
2025-02-15 12:56:43 +02:00
Cohee
23f0b6ed09
Add a blank line
2025-02-15 12:38:45 +02:00
Cohee
c87e203b4a
Refactor banned strings kill switch functions into a single toggle function
2025-02-15 12:37:48 +02:00
Wolfsblvt
dd50f49176
Fix auto expand on thinking during new message
2025-02-15 10:23:36 +01:00
Cohee
c37c9051a6
Fix bug when only global bans are defined
2025-02-15 00:34:07 +02:00
Cohee
8a4cf86b65
Integrate killswitch into the block
2025-02-15 00:28:38 +02:00
Cohee
a2a15b9978
Merge branch 'Banned-Strings-Killswitch' into tc-global-banlist
2025-02-15 00:12:16 +02:00
Cohee
96d6a6df07
Merge pull request #3478 from Dakraid/feature/set-listen-ip
...
Feature: Allow user to configure an address to listen to
2025-02-15 00:02:15 +02:00
Cohee
dbbf069e85
Remove message redundancy
2025-02-14 23:53:31 +02:00
Cohee
d276d23310
Firefox: Clear cache on avatar upload
2025-02-14 23:20:33 +02:00
Cohee
c98d241f3c
Refactor logAddress check
2025-02-14 23:09:36 +02:00
Kristan Schlikow
961a71877b
Remove extra resolve for autorun
2025-02-14 22:02:16 +01:00
Kristan Schlikow
13e38c7c86
Add debug script in package.json
2025-02-14 21:13:17 +01:00
Cohee
61e056004a
Safari: hide summary block arrow
2025-02-14 22:06:18 +02:00
Kristan Schlikow
b029ae98dc
Fix default config for IPv6
2025-02-14 20:06:45 +01:00
Kristan Schlikow
f5bfbce0ad
Group listenAddress for config
2025-02-14 20:04:23 +01:00
Kristan Schlikow
a4c124dff0
Remove dead code
2025-02-14 20:00:15 +01:00
Kristan Schlikow
2445b6d9dc
Split up listen address configuration between IPv4 and IPv6
2025-02-14 19:58:59 +01:00
Kristan Schlikow
ad8f0f564f
Use IP Regex package, update default
2025-02-14 19:06:07 +01:00
Cohee
c47d997a2d
Merge pull request #3475 from SillyTavern/ollama-batch
...
Ollama: Add num_batch config value
2025-02-14 12:34:13 +02:00
Kristan Schlikow
dd55b2770a
Address issues with IPv6 binding
2025-02-13 23:51:18 +01:00