proxitor 0.9.0-beta.8 → 0.9.0-beta.9

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/dist/cli.mjs CHANGED
@@ -20042,6 +20042,10 @@ async function selectRoutingMode(message) {
20042
20042
  });
20043
20043
  }
20044
20044
  async function selectProvidersByMode(mode, providerOptions) {
20045
+ if (providerOptions.length === 0) {
20046
+ log.warn("No providers available for this model — cannot configure provider routing.");
20047
+ return null;
20048
+ }
20045
20049
  if (mode === "only") return selectOnlyProviders(providerOptions);
20046
20050
  if (mode === "order") return selectOrderedProviders(providerOptions);
20047
20051
  if (mode === "ignore") return selectIgnoreProviders(providerOptions);
@@ -21472,7 +21476,7 @@ async function runConfigMenu(client) {
21472
21476
  }
21473
21477
  //#endregion
21474
21478
  //#region src/version.ts
21475
- const version = "0.9.0-beta.8";
21479
+ const version = "0.9.0-beta.9";
21476
21480
  //#endregion
21477
21481
  //#region src/commands/doctor.ts
21478
21482
  const DEFAULT_TIMEOUT_MS = 3e3;