feat(tui): implement live model fetching and enhance model selection menus

This commit is contained in:
asepharyana committed 2026-09-03 16:13:29 +07:00
1 parent f5b04214cf
commit 93e5464370
7 files changed
+174 -15

No files matched your search

+2
View File
@@ -384,6 +384,8 @@ export class MiscState {
activity: ActivityEntry[] = [];
/** Stack of interactive menu frames (top = currently shown). */
menuStack: MenuFrame[] = [];
/** Model ids fetched live from the provider's /models endpoint. */
availableModels: string[] = [];
pushToast(toast: { kind: string; message: string; createdMs: number; ttlMs: number }): void {
this.toasts.push(toast);