[BUG] VSCode: "Thought for xxs" timer increments on expand/collapse toggle

Resolved 💬 3 comments Opened Apr 13, 2026 by Liuzq666 Closed Apr 13, 2026

Preflight Checklist

  • [x] I have searched existing issues and this hasn't been reported yet
  • [x] This is a single bug report (please file separate reports for different bugs)
  • [x] I am using the latest version of Claude Code

What's Wrong?

Description

When clicking the "Thought for xxs >" dropdown to expand/collapse the thinking content, the timer value keeps incrementing instead of staying fixed at the original duration.

Environment

  • Platform: VSCode Extension
  • OS: macOS (Darwin 25.4.0)
  • Claude Code Version: 2.1.101

What Should Happen?

Expected Behavior

The timer should display the original thinking duration (e.g., "Thought for 5s") and remain constant regardless of expand/collapse actions.

Actual Behavior

The timer increments with each expand action, showing inflated values like "Thought for 10s", "Thought for 15s", etc.

Error Messages/Logs

Steps to Reproduce

  1. Send a request that triggers model thinking (e.g., a complex reasoning task)
  2. Observe the "Thought for 5s >" indicator appears
  3. Click the arrow to expand the thinking content
  4. Click again to collapse
  5. Repeat step 3-4, notice the timer value increases each time

Claude Model

None

Is this a regression?

I don't know

Last Working Version

_No response_

Claude Code Version

2.1.101

Platform

Anthropic API

Operating System

macOS

Terminal/Shell

VS Code integrated terminal

Additional Information

_No response_

View original on GitHub ↗

This issue has 3 comments on GitHub. Read the full discussion on GitHub ↗