9010 Commits

Author SHA1 Message Date
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
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
Cohee
b2bd73fa78
Merge pull request #3448 from SillyTavern/compact-reasoning-settings
Update layout of Reasoning settings block
2025-02-08 23:15:35 +02:00
Cohee
6e4a51b37f Update i18n 2025-02-08 23:15:11 +02:00
Wolfsblvt
8b4414b799 Add thinking time to gen timer tooltip 2025-02-08 21:58:55 +01:00
Cohee
a2cfcd4ca6 feat: Delete image swipes at once or one by one 2025-02-08 22:55:38 +02:00
Cohee
0bf18e7413 Add debug result console logs for websearch APIs 2025-02-08 22:29:24 +02:00
Cohee
5e540f4f97 Websearch: add Serper API endpoint 2025-02-08 22:28:12 +02:00
Cohee
f83dccda39 Mark 'Extras' option as deprecated in built-in extensions 2025-02-08 21:56:54 +02:00
Cohee
98ea463e0e Update layout of Reasoning settings block 2025-02-08 21:18:46 +02:00
Cohee
d5959a4681 Add awaits to event emissions 2025-02-08 19:13:05 +02:00
Cohee
c886de5deb Move isHiddenReasoningModel 2025-02-08 18:17:38 +02:00
Wolfsblvt
c8e05a34d6 Add gemini pro to hidden thinking models 2025-02-08 01:48:14 +01:00
Wolfsblvt
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
Cohee
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
Cohee
8387431534 Revert "Unify reasoning request effect on parsing"
This reverts commit ca7d2aeec3c5feb5cf9cc9da0a62159aed87d323.
2025-02-07 23:46:38 +02:00
Cohee
754a14ff3e Add types for dompurify 2025-02-07 23:45:57 +02:00
Cohee
ca7d2aeec3 Unify reasoning request effect on parsing 2025-02-07 23:35:07 +02:00
Cohee
28ba262087 Reduce "few seconds" threshold to 3 2025-02-07 23:33:10 +02:00
Wolfsblvt
23d2c40e05 Remove not needed reasoning ui event handler 2025-02-07 22:21:01 +01:00
Wolfsblvt
4094887624 Add jsdoc 2025-02-07 21:46:41 +01:00
Cohee
4492828b9f
Merge pull request #3441 from SillyTavern/gpt-o1-o3-streaming
Enable streaming for gpt-o1 and gpt-o3
2025-02-07 22:05:29 +02:00
Cohee
a2aef5ea4a Use array.includes 2025-02-07 22:04:21 +02:00
Wolfsblvt
cc401b2c9d Whelp, seems like o1 main still no streaming 2025-02-07 20:12:10 +01:00