@eminent337/aery 0.1.96 → 0.1.98

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.
@@ -17,6 +17,7 @@ import { KeybindingsManager } from "../../core/keybindings.js";
17
17
  import { createCompactionSummaryMessage } from "../../core/messages.js";
18
18
  import { defaultModelPerProvider, findExactModelReferenceMatch, resolveModelScope } from "../../core/model-resolver.js";
19
19
  import { DefaultPackageManager } from "../../core/package-manager.js";
20
+ import { checkProviderSetup } from "../../core/provider-setup-check.js";
20
21
  import { formatMissingSessionCwdPrompt, MissingSessionCwdError } from "../../core/session-cwd.js";
21
22
  import { SessionManager } from "../../core/session-manager.js";
22
23
  import { BUILTIN_SLASH_COMMANDS } from "../../core/slash-commands.js";
@@ -3822,6 +3823,16 @@ export class InteractiveMode {
3822
3823
  void this.maybeWarnAboutAnthropicSubscriptionAuth();
3823
3824
  }
3824
3825
  }
3826
+ const providerCheck = checkProviderSetup(providerId, providerName, this.session.modelRegistry);
3827
+ if (providerCheck.level === "ok") {
3828
+ this.showStatus(providerCheck.message);
3829
+ }
3830
+ else if (providerCheck.level === "warning") {
3831
+ this.showWarning(providerCheck.message);
3832
+ }
3833
+ else {
3834
+ this.showError(providerCheck.message);
3835
+ }
3825
3836
  }
3826
3837
  async showApiKeyLoginDialog(providerId, providerName) {
3827
3838
  const previousModel = this.session.model;