35 Commits

Author SHA1 Message Date
Wolfsblvt
703e876f4a Fix and shorten isHiddenReasoningModel 2025-02-10 06:15:47 +01: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
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
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
c886de5deb Move isHiddenReasoningModel 2025-02-08 18:17:38 +02: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
8387431534 Revert "Unify reasoning request effect on parsing"
This reverts commit ca7d2aeec3c5feb5cf9cc9da0a62159aed87d323.
2025-02-07 23:46:38 +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
25d1db3852 Fix issues with reasoning add/delete 2025-02-06 22:39:29 +01:00
Wolfsblvt
79b8229b1b Add reasoning time seconds tooltip 2025-02-06 21:53:34 +01:00
Wolfsblvt
06303bb62f Move reasoning stuff to reasoning.js 2025-02-06 21:50:33 +01:00
Cohee
ed46b96ba2 Fix reasoning-get with no argument 2025-02-04 23:41:16 +02:00
Cohee
ff83ae975d Add toggle for reasoning auto-expand 2025-02-02 18:42:12 +02:00
Wolfsblvt
a14e3b0657 Improve reasoning block inline editing 2025-02-02 12:58:01 +01:00
Cohee
5bd3d9a518 Merge branch 'staging' into reasoning-continue 2025-01-31 13:51:09 +00:00
Cohee
ae376b4195 Add aliases for reasoning commands 2025-01-31 13:30:57 +00:00
pcpthm
9ecf261a76 Always add reasoning for continue 2025-01-31 21:06:15 +09:00
Cohee
2a904c4aea Fix command argument definitions 2025-01-31 09:39:26 +00:00
Cohee
80b29ed5cb Use string constructor 2025-01-30 01:04:53 +02:00
Cohee
4b2575f301 Apply regex to parsed reasoning 2025-01-30 01:02:23 +02:00
Cohee
4e7326b61b Add /reasoning-parse command 2025-01-30 01:02:14 +02:00
Cohee
7bc8087d02 Use separate flag for replacement checks 2025-01-29 21:59:13 +02:00
Cohee
7fc0ddb60c Trim spaces in parsed content too 2025-01-29 21:53:48 +02:00
Cohee
d0abba23dc Add reasoning auto-parsing, always show reasoning prefix/suffix in Markdown, respect space trim preference 2025-01-29 21:38:08 +02:00
Cohee
9e8fd3f5a0
Merge pull request #3382 from SillyTavern/staging
Staging into reasoning-regex
2025-01-29 11:38:50 +02:00
Cohee
35e8561bff /reasoning-set: fix at argument 2025-01-28 21:03:44 +02:00
Cohee
0a413d63aa Add reasoning regex on edit 2025-01-27 23:11:31 +02:00
Cohee
8b5e0df2d7 Refactor reasoning placeholder clean-up 2025-01-27 21:56:15 +02:00
Cohee
a7516937f7 Add reasoning slash commands 2025-01-26 18:00:14 +02:00
Cohee
eb798fa4f1 Move reasoning-specific code into its own module 2025-01-26 16:47:13 +02:00