mirror of
https://github.com/farion1231/cc-switch.git
synced 2026-10-26 01:34:51 +08:00
The Pi form (also used by omp) only filled a per-row dropdown after "Fetch models", so models had to be added one row at a time, unlike the OpenCode, Codex and Kimi Code forms. Use the shared FetchedModelPicker: a successful fetch opens the dialog, checked models are added as rows and filled from presets or models.dev (thinking level maps only for Pi), and unchecking a configured model removes its row. Fetched IDs are de-duplicated and the success toast is dropped since the dialog opens. The per-row dropdown stays.