9032 Commits

Author SHA1 Message Date
Cohee
1a52d3c293 Fix rendering of messages without extra object 2025-02-13 12:22:41 +00:00
Cohee
d6bf3439b4 Don't try to update reasoning for impersonation stream 2025-02-13 10:55:32 +00:00
Cohee
54a9e0afee
Merge pull request #3470 from SillyTavern/o1-vision-support
Add o1 to vision-supported models
2025-02-13 09:48:32 +02:00
Wolfsblvt
5de2f8ea2d Add o1 to vision-supported models 2025-02-13 02:40:34 +01:00
Wolfsblvt
93f3334ad0 Make hidden reasoning blocks not toggleable 2025-02-12 22:38:26 +01:00
Cohee
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
Cohee
d076a210a1 Bring f-localStorage back 2025-02-12 23:08:11 +02:00
Wolfsblvt
b5fc7d6d4d Add toggle for showing hidden reasoning 2025-02-12 22:04:48 +01:00
Wolfsblvt
a204325136
Merge pull request #3468 from Eradev/kr-i18n
Fix kr i18n
2025-02-12 20:22:02 +01:00
Eradev
0decd4d1b6 Fix kr i18n 2025-02-12 13:32:17 -05:00
Cohee
34db46d84b Merge branch 'staging' into hidden-reasoning-tracking 2025-02-12 20:00:52 +02:00
Wolfsblvt
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
Cohee
829888bda7 AccountStorage: Fix migration logic 2025-02-12 12:00:31 +02:00
Cohee
43f524bb5f
Merge pull request #3463 from SillyTavern/bogus-localstorage
Add settings.json-backed KV string storage
2025-02-12 11:55:59 +02:00
Cohee
34d17a4fcb Migrate QR editor preferences to accountStorage 2025-02-12 11:29:27 +02:00
Cohee
340c03cedf Make user input saving account-specific 2025-02-12 11:21:13 +02:00
Cohee
5085f6cdc9 Refactor AccountStorage to use private fields for state management 2025-02-12 10:58:36 +02:00
Cohee
798f8d92a3 Update saveSettings function to schedule another save when settings are not ready 2025-02-12 10:43:19 +02:00
Cohee
d4061cc139 Merge branch 'staging' into bogus-localstorage 2025-02-12 10:38:54 +02:00
Cohee
93b6612c75 Remove leftover event handler 2025-02-12 10:36:25 +02:00
Wolfsblvt
48dfee39ae Switched even more to "generating" CSS 2025-02-12 00:22:22 +01:00
Wolfsblvt
6c0ea67d3d Show "Thinking..." while generation is happening
- Show thinking/thought for while generation is happening, even when hidden thinking
- Fix empty reasoning having toggle-able block
2025-02-12 00:00:22 +01:00
Wolfsblvt
58b8e7908d Add data attribute during generation
- Fix reasoning buttons still appearing
- Allow easier customization of HTML elements via CSS that appear during gen
2025-02-11 23:34:21 +01:00
Wolfsblvt
4e94e83540 Swiping doesn't need to reset reasoning UI 2025-02-11 23:15:49 +01:00
Cohee
d1018a824c Merge branch 'staging' into hidden-reasoning-tracking 2025-02-11 23:45:13 +02:00
Cohee
4c8ae0afd3
Merge pull request #3465 from SillyTavern/quiet-reasoning-parse
Remove reasoning from queit prompt results if auto-parse is enabled
2025-02-11 23:37:26 +02:00
Wolfsblvt
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
Wolfsblvt
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
Cohee
63e3816e92 Remove reasoning from queit prompt results if auto-parse is enabled
Fixes #3457
2025-02-11 22:35:56 +02:00
Wolfsblvt
d60609716b Yoink reasoning placeholder from being saved 2025-02-11 20:58:05 +01:00
Wolfsblvt
76bd2547e1 Attempt to fix wrong display behavior 2025-02-11 20:23:52 +01:00
Cohee
ee101353d8 Clear media alerts from storage on character deletion 2025-02-11 20:31:37 +02:00
Cohee
d5bdf1cb90 Add settings.json-backed KV string storage
Fixes #3461, #3443
2025-02-11 20:17:48 +02:00
Wolfsblvt
c8b103a9e8 Make "Thinking..." default to fix weird flicker 2025-02-11 18:41:44 +01:00
Cohee
c3dd3e246e DeepSeek: Add tool calling for -chat model 2025-02-11 00:04:40 +02:00
Cohee
47b06b4978 Fix empty lines in generation timer 2025-02-10 22:14:22 +02:00
Cohee
ad845b5fbf Merge branch 'staging' into hidden-reasoning-tracking 2025-02-10 21:49:11 +02:00
Cohee
c7958a4bb8
Merge pull request #3456 from SillyTavern/mobile-prompt-itemization
Allow mobile to access the "Raw Prompt" in Prompt Itemization
2025-02-10 21:41:47 +02:00
Wolfsblvt
aee8441fc4 Mobile prompt itemization - duh
- Make it into a popup. There is no space
2025-02-10 15:07:57 +01:00
Wolfsblvt
703e876f4a Fix and shorten isHiddenReasoningModel 2025-02-10 06:15:47 +01:00
Cohee
d4e77280fc Gemini: don't send "thinkingConfig" to backend
As it does absolutely nothing
2025-02-09 19:03:31 +02:00
Wolfsblvt
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
Wolfsblvt
32ec475ca2
Merge pull request #3450 from subzero5544/top-k-fix
Fix top_k text value not being able to go up to 500, like the slider does
2025-02-09 08:24:05 +01:00
subzero5544
e8d8cebd8e Update index.html 2025-02-09 00:37:39 -06:00
Wolfsblvt
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
Wolfsblvt
33fa5aaab8 Merge branch 'staging' into hidden-reasoning-tracking 2025-02-09 06:03:32 +01:00
Wolfsblvt
c501673241 Small improvements to reasoning UI 2025-02-09 06:03:23 +01:00
Wolfsblvt
0792c17f55 Update reasoning CSS hide hidden reasoning again 2025-02-09 05:25:43 +01:00
Wolfsblvt
9697322f1e More coding on ReasoningHandler, fixing stuff 2025-02-09 05:17:56 +01:00
Wolfsblvt
d8eeab0c00 Refactoring StreamProcessor -> ReasoningHandler 2025-02-09 01:26:01 +01:00