Added a home page prompt for missing API keys of enterprise providers (#1056)

Co-authored-by: Thorsten Sommer <SommerEngineering@users.noreply.github.com>
This commit is contained in:
Dominic NeuburgandThorsten Sommer authored and GitHub committed 2026-10-19 09:12:12 +02:00
1 parent 1f8d72aa45
commit 7d35536c87
29 files changed
+920 -31

No files matched your search

@@ -0,0 +1,23 @@
namespace AIStudio.Tools.UserAPIKeys;
/// <summary>
/// What a provider says about an API key the user entered.
/// </summary>
public enum UserAPIKeyCheckOutcome
{
/// <summary>
/// The provider listed its models with the key, so it accepts the key.
/// </summary>
ACCEPTED,
/// <summary>
/// The provider refused the key. AI Studio does not store it.
/// </summary>
REJECTED,
/// <summary>
/// Nothing tells whether the provider accepts the key, e.g., because the server was out of reach or the
/// provider cannot list its models. AI Studio stores the key anyway.
/// </summary>
NOT_CHECKED
}