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

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

DisplayIcon

#
public static IIcon DisplayIcon(
provider
)

DisplayName

#
public static string DisplayName(
provider
)

DisplayTint

#
public static Color DisplayTint(
provider
)

IsImplemented

#
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.
public static bool IsImplemented(
provider
)

SignInExplanation

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