feat(codex): add review model quota support (#836)

This commit is contained in:
Rezky Hamid authored and GitHub committed 2026-05-03 14:57:33 +07:00
1 parent 14ff538f2e
commit a463ee00ff
8 files changed
+153 -34

No files matched your search

+2 -2
View File
@@ -415,7 +415,7 @@ export async function createProviderConnection(data) {
const optionalFields = [
"displayName", "email", "globalPriority", "defaultModel",
"accessToken", "refreshToken", "expiresAt", "tokenType",
"scope", "idToken", "projectId", "apiKey", "testStatus",
"scope", "projectId", "apiKey", "testStatus",
"lastTested", "lastError", "lastErrorAt", "rateLimitedUntil", "expiresIn", "errorCode",
"consecutiveUseCount"
];
@@ -681,7 +681,7 @@ export async function cleanupProviderConnections() {
const fieldsToCheck = [
"displayName", "email", "globalPriority", "defaultModel",
"accessToken", "refreshToken", "expiresAt", "tokenType",
"scope", "idToken", "projectId", "apiKey", "testStatus",
"scope", "projectId", "apiKey", "testStatus",
"lastTested", "lastError", "lastErrorAt", "rateLimitedUntil", "expiresIn",
"consecutiveUseCount"
];