Feat: Add toggle to exclude think/reason blocks from smooth streaming (#4849)

* Feat: Add toggle to exclude think/reason blocks from smooth streaming

* Fix: Adjust new setting name to properly reflect what it does

* Sync data-i18n with text content

* Add reasoning stream flags for Mistral, Claude and Google models

* Update layout

* Fix: Enhance reasoning handling in parseStreamData function

---------

Co-authored-by: Cohee <18619528+Cohee1207@users.noreply.github.com>
This commit is contained in:
Kristian Schlikow
2025-12-02 23:20:23 +01:00
committed by GitHub
parent f145296a58
commit 6c8eb4d9ac
4 changed files with 61 additions and 16 deletions
+2 -5
View File
@@ -477,14 +477,11 @@ body.expandMessageActions .mes .mes_buttons .extraMesButtonsHint {
display: none !important;
}
#smooth_streaming:not(:checked)~#smooth_streaming_speed_control {
#smooth_streaming_control:has(#smooth_streaming:not(:checked))~#smooth_streaming_speed_control,
#smooth_streaming_control:has(#smooth_streaming:not(:checked))~#smooth_streaming_no_think_control {
display: none;
}
#smooth_streaming:checked~#smooth_streaming_speed_control {
display: block;
}
.mdhotkey_icon {
opacity: 0.6;
}