Commit Graph

1531 Commits

Author SHA1 Message Date
20aaf7b19f Save chat for WI scan before running extension interceptors 2025-02-16 16:30:42 +02:00
eb6a158781 Fix resetting reasoning duration correctly 2025-02-16 02:09:33 +01:00
34db46d84b Merge branch 'staging' into hidden-reasoning-tracking 2025-02-12 20:00:52 +02:00
5085f6cdc9 Refactor AccountStorage to use private fields for state management 2025-02-12 10:58:36 +02:00
798f8d92a3 Update saveSettings function to schedule another save when settings are not ready 2025-02-12 10:43:19 +02:00
d4061cc139 Merge branch 'staging' into bogus-localstorage 2025-02-12 10:38:54 +02:00
93b6612c75 Remove leftover event handler 2025-02-12 10:36:25 +02:00
48dfee39ae Switched even more to "generating" CSS 2025-02-12 00:22:22 +01:00
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
4e94e83540 Swiping doesn't need to reset reasoning UI 2025-02-11 23:15:49 +01:00
d1018a824c Merge branch 'staging' into hidden-reasoning-tracking 2025-02-11 23:45:13 +02:00
63e3816e92 Remove reasoning from queit prompt results if auto-parse is enabled
Fixes #3457
2025-02-11 22:35:56 +02: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
47b06b4978 Fix empty lines in generation timer 2025-02-10 22:14:22 +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
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
33fa5aaab8 Merge branch 'staging' into hidden-reasoning-tracking 2025-02-09 06:03:32 +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
8b4414b799 Add thinking time to gen timer tooltip 2025-02-08 21:58:55 +01: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
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
4094887624 Add jsdoc 2025-02-07 21:46:41 +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
d1ec9eb8ab Enabled streaming for o1 and o3
- They do be supporting it now
2025-02-07 19:50:01 +01:00
25d1db3852 Fix issues with reasoning add/delete 2025-02-06 22:39:29 +01:00
06303bb62f Move reasoning stuff to reasoning.js 2025-02-06 21:50:33 +01:00
d9fc76f336 Merge pull request #3430 from qvink/generate_before_combine_prompts_await
await GENERATE_BEFORE_COMBINE_PROMPTS
2025-02-04 21:45:59 +02:00
e2c3af2114 Changing the event GENERATE_BEFORE_COMBINE_PROMPTS to an await emit() instead of emitAndWait(). 2025-02-04 11:22:23 -07:00
6ececb2ceb Fix text display on stream abort 2025-02-04 10:16:26 +02:00
da531f12c2 Fix reasoning error on empty chat 2025-02-04 00:20:17 +01:00
c4be4d7d61 Fix reasoning duplicated when continue is interrupted 2025-02-03 21:07:49 +09:00
d9f2ee0d48 Localize reasoning duration string 2025-02-02 18:51:55 +02:00
900c0caffa Fix class set condition 2025-02-02 18:02:23 +02:00
a14e3b0657 Improve reasoning block inline editing 2025-02-02 12:58:01 +01:00
2d335e27ff Modify when "Add reasoning" button shows up 2025-02-02 12:21:14 +01:00
8fb95f9a84 Reasoning inline edit improvements + style 2025-02-02 10:37:21 +01:00
3818290e4d Add reasoning time duration
- Add reasoning time calculation, saved in message metadata
- Add event when reasoning streaming is finished
2025-02-02 07:32:45 +01:00
e7c799ae2a Cooler styling for reasoning blocks 2025-02-02 03:21:52 +01:00
6deaa31d41 Move typing indicator to an extension
https://github.com/SillyTavern/Extension-TypingIndicator
2025-02-02 03:54:14 +02:00
cc7355358d Fix undefined reasoning append on continue 2025-02-01 19:06:39 +02:00
d2cc8b36b8 Fix cfgMessage handling 2025-02-01 16:01:04 +02:00
3fe3430006 Fix undefined array access for CFG prompt 2025-02-01 15:36:04 +02:00
e59114c1c5 Another crack at o3 2025-01-31 23:14:41 +02:00