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,14 @@
namespace AIStudio.Tools.UserAPIKeys;
/// <summary>
/// The result of storing the API key of the user for the providers of one configuration plugin.
/// </summary>
/// <param name="Check">What the provider said about the key. A rejected key was not stored at all.</param>
/// <param name="FailedProviderNames">The names of the providers for which the key could not be stored.</param>
public sealed record UserAPIKeyStoreResult(UserAPIKeyCheckOutcome Check, IReadOnlyList<string> FailedProviderNames)
{
/// <summary>
/// The result for a key which the provider refused, so that it was not stored.
/// </summary>
public static readonly UserAPIKeyStoreResult REJECTED = new(UserAPIKeyCheckOutcome.REJECTED, []);
}