offgrid-ai 0.5.3 → 0.5.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/src/cli.mjs +2 -1
package/package.json
CHANGED
package/src/cli.mjs
CHANGED
|
@@ -205,8 +205,9 @@ async function modelCommandCenter(initialCatalog) {
|
|
|
205
205
|
printModelCards(allItems, { runningProfilesNow, drafters: normalized.drafters });
|
|
206
206
|
|
|
207
207
|
const options = allItems.map((item) => modelSelectOption(item, { runningProfilesNow, drafters: normalized.drafters }));
|
|
208
|
+
options.push({ value: "__exit__", label: pc.dim("Exit"), hint: "Close offgrid-ai" });
|
|
208
209
|
const selected = await prompt.choice("Select a model", options);
|
|
209
|
-
if (!selected) break;
|
|
210
|
+
if (!selected || selected === "__exit__") break;
|
|
210
211
|
const item = allItems.find((i) => itemKey(i) === selected);
|
|
211
212
|
if (!item) break;
|
|
212
213
|
|