Skip to content

[Bug]: UI shows "thinking" state after model response is complete, especially after switching between sessions #29

@winghofeng

Description

@winghofeng

Summary

The UI sometimes gets stuck showing a "thinking" / loading state (e.g., "claude/codex: thinking") even after the model has already finished generating its response. Clicking the "Stop" button in this state shows an error: "session has already finished". This issue appears more frequently after switching between multiple conversation records.

Steps to reproduce

  1. Have multiple conversation/session records
  2. Switch between different sessions several times
  3. Send a message in one of the sessions and wait for the response to complete
  4. Observe that the UI still shows "thinking" status despite the response being fully rendered

Expected behavior

The "thinking" indicator should disappear once the model finishes responding.

Actual behavior

  • The "thinking" indicator persists after the response is complete
  • Clicking "Stop" shows: "session has already finished"

VibeLab version

2026.3.12

Operating system

Ubuntu 24.04

Install method

npm global

Logs, screenshots, and evidence

Impact and severity

No response

Additional information

No response

Metadata

Metadata

Labels

bugSomething isn't working

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions