Update reasoning CSS hide hidden reasoning again

This commit is contained in:
Wolfsblvt
2025-02-09 05:25:43 +01:00
parent 9697322f1e
commit 0792c17f55
3 changed files with 5 additions and 12 deletions

View File

@ -324,7 +324,7 @@ export class ReasoningHandler {
this.messageDom.classList.toggle('reasoning', this.state !== ReasoningState.None);
// Update states to the relevant DOM elements
this.messageDom.dataset.state = this.state !== ReasoningState.None ? this.state : null;
this.messageDom.dataset.reasoningState = this.state !== ReasoningState.None ? this.state : null;
this.messageReasoningDetailsDom.dataset.state = this.state;
// Update the reasoning message