promptimizer-cli 0.1.45 → 0.1.46

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.
@@ -462,11 +462,11 @@ async function cmdConnect(flags, positional) {
462
462
  );
463
463
  if (!found) die(`Unknown provider "${provider}". Run promptimizer providers, or pass --base-url.`);
464
464
  if (!vendorKey && found.env && process.env[found.env]) vendorKey = process.env[found.env];
465
- if (!vendorKey && found.id !== "ollama") {
465
+ if (!vendorKey) {
466
466
  die(`Missing API key for ${found.label}. Pass --key or set ${found.env}.`);
467
467
  }
468
468
  label = label || found.label;
469
- } else if (!vendorKey && provider !== "ollama") {
469
+ } else if (!vendorKey) {
470
470
  die("Missing provider key. Pass --key.");
471
471
  }
472
472
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "promptimizer-cli",
3
- "version": "0.1.45",
3
+ "version": "0.1.46",
4
4
  "description": "Interactive Promptimizer CLI — Gemini-style REPL for quality-aware routing.",
5
5
  "type": "module",
6
6
  "bin": {