Merge pull request #3480 from SillyTavern/fix-auto-expand-new-message Fix auto expand on thinking during new message

9a1589074554c8bcd8c6b461a3cc9fa4e76e1256

Cohee <18619528+Cohee1207@users.noreply.github.com>

Signed
1 files changed, +4 -0Showing whitespace changes
public/scripts/reasoning.js+4 -0
@@ -215,6 +215,10 @@ export class ReasoningHandler {
215215 }
216216
217217 this.updateDom(messageId);
218+
219+ if (power_user.reasoning.auto_expand && this.state !== ReasoningState.Hidden) {
220+ this.messageReasoningDetailsDom.open = true;
221+ }
218222 }
219223
220224 /**