mirror of
https://github.com/MindWorkAI/AI-Studio.git
synced 2026-11-25 02:33:48 +00:00
Added a check for characters which an API key cannot contain (#1227)
This commit is contained in:
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,
|
||||
|
||||
Reference in new issue
Block a user