Skip to content

[Feature] Setting to keep thinking blocks expanded by default #232

Closed

Description

@cryptedx

Problem

Thinking blocks always render collapsed. To read the model's reasoning I have to expand every block by hand, in every message and again after each reload. For models whose reasoning I follow closely (e.g. local models I'm evaluating), this adds a lot of clicks.

Today the only related option is Thinking Blocks (hideThinkingBlock), which hides reasoning entirely; there is no way to show it expanded.

Proposal

Add a toggle next to Keep tool calls collapsed, e.g. "Expand thinking blocks by default" (default: off, so current behavior is unchanged).

Implementation hint: ThinkingBlock in components/MessageView.tsx initializes const [expanded, setExpanded] = useState(false). The new preference could be passed down the same way as toolCallsDefaultCollapsed (AppShell → ChatWindow → MessageView) and used as the initial state. Manual expand/collapse per block should keep working.

Open question: whether a streaming thinking block should also auto-expand, or only completed ones.

Environment

  • ompweb 0.5.1 (npm), omp 18.7.0, macOS

Activity

  1. kahme247 commented on Oct 9, 2026

    @kahme247
    Collaborator

    Fixed in 05fb0a8 (ompweb 0.5.1+).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions