Skip to content

[Feature]: Desktop GUI: Add option to keep reasoning panel expanded instead of auto-collapsing #53617

Description

@AlouhaBY

Problem or Use Case

Is your feature request related to a problem?

When using thinking models (e.g., DeepSeek with reasoning_content), the Desktop GUI shows a reasoning panel that displays the model's thinking process. However, once the model finishes reasoning and starts outputting the final answer, the reasoning panel auto-collapses.

For users who want to follow the model's reasoning alongside the final response, this means they have to manually expand the panel every single turn. It's a friction point that discourages deep engagement with the model's thought process.

Proposed Solution

Add a config option under display: to control this behavior:

display:
  reasoning_auto_collapse: false   # default: false (current behavior)

When set to true, the reasoning panel should remain expanded even after the final response starts streaming, allowing users to read both simultaneously.

### Alternatives Considered

1. A /reasoning slash command parameter like /reasoning stay or /reasoning pin
2. A click-to-pin button on the reasoning panel itself in the Desktop GUI

## Current config (already optimal)
display:
  show_reasoning: true      # already set — shows reasoning
  reasoning_full: true      # already set — shows full content


These work correctly but don't control the auto-collapse behavior.

## Context

- **Platform**: Windows 10, Hermes Desktop GUI (Electron)
- **Model**: DeepSeek (which sends `reasoning_content` chunks before `content`)
- **Why it matters**: Users running thinking models often want to compare the model's reasoning path with its final output to better understand, debug, or learn from the model's decisions.

### Feature Type

Configuration option

### Scope

Small (single file, < 50 lines)

### Contribution

- [ ] I'd like to implement this myself and submit a PR

### Debug Report (optional)

```shell

Metadata

Metadata

Assignees

No one assigned

    Labels

    P3Low — cosmetic, nice to havearea/configConfig system, migrations, profilescomp/desktopElectron desktop app (apps/desktop/*)type/featureNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions