Added a check for characters which an API key cannot contain (#1227)

This commit is contained in:
Thorsten Sommer authored and GitHub committed 2026-11-24 17:20:13 +01:00
1 parent c72a1948b3
commit e5a7f5423f
40 files changed
+1179 -71

No files matched your search

@@ -4,6 +4,12 @@ public enum ModelLoadFailureReason
{
NONE,
INVALID_OR_MISSING_API_KEY,
/// <summary>
/// The API key contains a character which an HTTP header cannot carry, so the models were never requested.
/// </summary>
INVALID_API_KEY_CHARACTERS,
AUTHENTICATION_OR_PERMISSION_ERROR,
INSUFFICIENT_QUOTA,
TOO_MANY_REQUESTS,