AiProviderInfo

public static class AiProviderInfo
Per-provider strings used by the sign-in dialog and the right-click panel: human-readable name, the URL where the user manages their account / API keys / usage, and the dialog explanation text.

Methods

ConsoleUrl

#
public static string ConsoleUrl(AiProvider provider)
Web page where the user can view existing API keys, create new ones, revoke old ones, and check their usage / billing.
provider (AiProvider)

DisplayIcon

#
public static IIcon DisplayIcon(AiProvider provider)
provider (AiProvider)

DisplayName

#
public static string DisplayName(AiProvider provider)
provider (AiProvider)

DisplayTint

#
public static Color DisplayTint(AiProvider provider)
provider (AiProvider)

IsImplemented

#
public static bool IsImplemented(AiProvider provider)
Returns true if a working IAiBackend implementation exists for the given provider. Used to filter the right-click panel so the user doesn't see backends they can't actually use yet.
provider (AiProvider)

SignInExplanation

#
public static string SignInExplanation(AiProvider provider)
Plain-English instructions shown at the top of the sign-in dialog for the chosen provider.
provider (AiProvider)