Polyman Documentation - v3.1.0
    Preparing search index...

    Type Alias ChatProviderResult

    ChatProviderResult:
        | {
            provider: Provider;
            providerId: string;
            providerLabel: string;
            model: string;
            secrets: string[];
        }
        | { error: string }

    A provider ready for a chat, or why there is none.

    Type Declaration

    • {
          provider: Provider;
          providerId: string;
          providerLabel: string;
          model: string;
          secrets: string[];
      }
      • provider: Provider
      • providerId: string

        The preset id of the provider, like openrouter.

      • providerLabel: string

        The name of the provider, like OpenRouter.

      • model: string
      • secrets: string[]
    • { error: string }