@eminent337/aery 0.1.91 → 0.1.93

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.
@@ -3839,7 +3839,8 @@ export class InteractiveMode {
3839
3839
  this.ui.requestRender();
3840
3840
  };
3841
3841
  try {
3842
- const apiKey = (await dialog.showPrompt("Enter API key:")).trim();
3842
+ const apiKeyPrompt = providerId === "cloudflare-workers-ai" ? "Enter Cloudflare API token:" : "Enter API key:";
3843
+ const apiKey = (await dialog.showPrompt(apiKeyPrompt)).trim();
3843
3844
  if (!apiKey) {
3844
3845
  throw new Error("API key cannot be empty.");
3845
3846
  }