@vercel/dream 0.2.10 → 0.2.11

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.
Files changed (2) hide show
  1. package/dist/dream.js +0 -15
  2. package/package.json +1 -1
package/dist/dream.js CHANGED
@@ -361,21 +361,6 @@ ${INDENT_MAIN}Run ${cyan("opencode")} and authenticate the ${bold(providerId)} p
361
361
  server.close();
362
362
  process.exit(1);
363
363
  }
364
- const provider = providers.data.all.find((p) => p.id === providerId);
365
- const modelId = model.split("/").slice(1).join("/");
366
- if (provider && modelId && !provider.models[modelId]) {
367
- printError(`Model ${bold(modelId)} not found in ${bold(providerId)}`);
368
- const available = Object.keys(provider.models);
369
- if (available.length) {
370
- printKV(
371
- "available",
372
- `${available.slice(0, 5).join(", ")}${available.length > 5 ? ` (+${available.length - 5} more)` : ""}`
373
- );
374
- }
375
- printLine();
376
- server.close();
377
- process.exit(1);
378
- }
379
364
  printSuccess(`Provider ${bold(providerId)} connected`);
380
365
  printLine();
381
366
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@vercel/dream",
3
- "version": "0.2.10",
3
+ "version": "0.2.11",
4
4
  "description": "A CLI that runs OpenCode in a loop until specs are complete",
5
5
  "type": "module",
6
6
  "bin": {