opencode icon indicating copy to clipboard operation
opencode copied to clipboard

[BUG] /models dialog extremely slow after a lot of characters being typed into it

Open gergesh opened this issue 2 months ago • 0 comments

Description

If you type into the models dialog, then delete, then type again it is very slow

OpenCode version

1.0.176

Steps to reproduce

  1. Use the TUI
  2. Type /models
  3. for _ in range(20): 3a. type "opus" into the search box 3b. delete the search query completely
  4. Notice how it slows down by a lot

Screenshot and/or share link

No response

Operating System

macOS

Terminal

ghostty

gergesh avatar Dec 21 '25 00:12 gergesh