core/cli: /models and remote catalog for model selection

Cache GET /models, merge with config ids for Tab and choose; free-form model ids allowed.
This commit is contained in:
2026-07-15 17:32:04 +08:00
parent e1ea43cb8f
commit 6bd80cb915
8 changed files with 348 additions and 34 deletions
+1
View File
@@ -124,6 +124,7 @@ Type `/help` in the REPL for the live list. Common ones:
| `/stream` `/verbose` `/tools` `/rounds` | Toggles and limits |
| `/retry` | Re-run incomplete last user turn (after error/cancel) |
| `/provider` `/model` | Switch without restarting |
| `/models` | List config + remote `GET /models` (`--refresh` bypasses cache) |
| `/config` | Edit `plyngent.toml` in `$EDITOR` and reload |
| `/quit` | Leave the REPL |