Commit Graph

5299 Commits

Author SHA1 Message Date
a2a15b9978 Merge branch 'Banned-Strings-Killswitch' into tc-global-banlist 2025-02-15 00:12:16 +02:00
412d638e9e Text Completion: Add global banned strings list 2025-02-13 22:07:36 +02:00
f101dd571f Add deprecated warnings to f-localStorage 2025-02-13 20:00:47 +02:00
1a52d3c293 Fix rendering of messages without extra object 2025-02-13 12:22:41 +00:00
d6bf3439b4 Don't try to update reasoning for impersonation stream 2025-02-13 10:55:32 +00:00
5de2f8ea2d Add o1 to vision-supported models 2025-02-13 02:40:34 +01:00
93f3334ad0 Make hidden reasoning blocks not toggleable 2025-02-12 22:38:26 +01:00
25a2582d15 Merge pull request #3444 from SillyTavern/hidden-reasoning-tracking
Track reasoning duration for models with hidden reasoning
2025-02-12 23:26:47 +02:00
d076a210a1 Bring f-localStorage back 2025-02-12 23:08:11 +02:00
b5fc7d6d4d Add toggle for showing hidden reasoning 2025-02-12 22:04:48 +01:00
34db46d84b Merge branch 'staging' into hidden-reasoning-tracking 2025-02-12 20:00:52 +02:00
c2377f0c13 Re-add reasoning placeholder check to prompt build
- Was removed because placeholder is not needed anymore. But for compatibility with old saved chats from staging that might have this, we should keep it for a while (or forever)
2025-02-12 18:43:05 +01:00
829888bda7 AccountStorage: Fix migration logic 2025-02-12 12:00:31 +02:00
34d17a4fcb Migrate QR editor preferences to accountStorage 2025-02-12 11:29:27 +02:00
340c03cedf Make user input saving account-specific 2025-02-12 11:21:13 +02:00
5085f6cdc9 Refactor AccountStorage to use private fields for state management 2025-02-12 10:58:36 +02:00
d4061cc139 Merge branch 'staging' into bogus-localstorage 2025-02-12 10:38:54 +02:00
d1018a824c Merge branch 'staging' into hidden-reasoning-tracking 2025-02-11 23:45:13 +02:00
d9b2311e17 Allow editing/adding hidden reasoning blocks
- Fix cancel not cancelling correctly
- Allow editing/adding of hidden reasoning blocks
- Make style and tooltip to show on edit that hidden reasoning is present
- Update reasoning UI on edit cancel - to be sure
2025-02-11 22:17:40 +01:00
21af0243d6 Rework reasoning CSS selectors and fixes
- Remove reliance on :empty state of reasoning textbox, now using the actual css class on mes (".mes.reasoning")
- Fix reasoning add not working when Auto-Expand is not enabled
- Clean setting of dataset attributes, now removing when null
2025-02-11 21:45:54 +01:00
63e3816e92 Remove reasoning from queit prompt results if auto-parse is enabled
Fixes #3457
2025-02-11 22:35:56 +02:00
d60609716b Yoink reasoning placeholder from being saved 2025-02-11 20:58:05 +01:00
ee101353d8 Clear media alerts from storage on character deletion 2025-02-11 20:31:37 +02:00
d5bdf1cb90 Add settings.json-backed KV string storage
Fixes #3461, #3443
2025-02-11 20:17:48 +02:00
c8b103a9e8 Make "Thinking..." default to fix weird flicker 2025-02-11 18:41:44 +01:00
c3dd3e246e DeepSeek: Add tool calling for -chat model 2025-02-11 00:04:40 +02:00
ad845b5fbf Merge branch 'staging' into hidden-reasoning-tracking 2025-02-10 21:49:11 +02:00
aee8441fc4 Mobile prompt itemization - duh
- Make it into a popup. There is no space
2025-02-10 15:07:57 +01:00
703e876f4a Fix and shorten isHiddenReasoningModel 2025-02-10 06:15:47 +01:00
31f19d0d8a More fixes on reasoning
- Fix resetting reasoning on swipes
- Fix not updating reasoning time/end on gen when trim spaces was enabled
- Fix hidden model checking not working
2025-02-09 08:26:51 +01:00
d48db9aded Update hidden reasoning model function
- Now more flexibly supports different API providers, and uses direct model names
- Fixes hidden reasoning time for OpenRouter and custom endpoints
2025-02-09 06:27:04 +01:00
33fa5aaab8 Merge branch 'staging' into hidden-reasoning-tracking 2025-02-09 06:03:32 +01:00
c501673241 Small improvements to reasoning UI 2025-02-09 06:03:23 +01:00
0792c17f55 Update reasoning CSS hide hidden reasoning again 2025-02-09 05:25:43 +01:00
9697322f1e More coding on ReasoningHandler, fixing stuff 2025-02-09 05:17:56 +01:00
d8eeab0c00 Refactoring StreamProcessor -> ReasoningHandler 2025-02-09 01:26:01 +01:00
a2cfcd4ca6 feat: Delete image swipes at once or one by one 2025-02-08 22:55:38 +02:00
5e540f4f97 Websearch: add Serper API endpoint 2025-02-08 22:28:12 +02:00
f83dccda39 Mark 'Extras' option as deprecated in built-in extensions 2025-02-08 21:56:54 +02:00
d5959a4681 Add awaits to event emissions 2025-02-08 19:13:05 +02:00
c886de5deb Move isHiddenReasoningModel 2025-02-08 18:17:38 +02:00
c8e05a34d6 Add gemini pro to hidden thinking models 2025-02-08 01:48:14 +01:00
d94ac48b65 Add thinking time for hidden reasoning models
- Streamline reasoning UI update functionality
- Add helper function to identify hidden reasoning models
- Fix/update reasoning time calculation to actually utilize start gen time
- Fix reasoning UI update on swipe
- add CSS class for hidden reasoning blocks (to make it possible to hide for users)
2025-02-08 00:45:33 +01:00
5886bb6b3a Merge pull request #3442 from SillyTavern/more-reasoning-ui
Smaller improvements and fixes to the reasoning UI
2025-02-07 23:55:18 +02:00
8387431534 Revert "Unify reasoning request effect on parsing"
This reverts commit ca7d2aeec3.
2025-02-07 23:46:38 +02:00
ca7d2aeec3 Unify reasoning request effect on parsing 2025-02-07 23:35:07 +02:00
28ba262087 Reduce "few seconds" threshold to 3 2025-02-07 23:33:10 +02:00
23d2c40e05 Remove not needed reasoning ui event handler 2025-02-07 22:21:01 +01:00
a2aef5ea4a Use array.includes 2025-02-07 22:04:21 +02:00
cc401b2c9d Whelp, seems like o1 main still no streaming 2025-02-07 20:12:10 +01:00