You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -464,7 +465,7 @@ async function validateApiKeys(overrides = {}) {
464
465
}elseif(r.result==='failed'){
465
466
logRequest('error','key_validation_failed',{provider: 'openai',status: r.status,message: 'OpenAI API key is invalid or expired. Requests to this provider will fail.'});
466
467
}elseif(r.result==='timeout'){
467
-
logRequest('warn','key_validation_timeout',{provider: 'openai',message: 'Key validation timed out after 10s — network may not be ready'});
468
+
logRequest('warn','key_validation_timeout',{provider: 'openai',message: `Key validation timed out after ${timeoutSecs}s — network may not be ready`});
@@ -497,7 +498,7 @@ async function validateApiKeys(overrides = {}) {
497
498
}elseif(r.result==='failed'){
498
499
logRequest('error','key_validation_failed',{provider: 'anthropic',status: r.status,message: 'Anthropic API key is invalid or expired. Requests to this provider will fail.'});
499
500
}elseif(r.result==='timeout'){
500
-
logRequest('warn','key_validation_timeout',{provider: 'anthropic',message: 'Key validation timed out after 10s — network may not be ready'});
501
+
logRequest('warn','key_validation_timeout',{provider: 'anthropic',message: `Key validation timed out after ${timeoutSecs}s — network may not be ready`});
@@ -525,7 +526,7 @@ async function validateApiKeys(overrides = {}) {
525
526
}elseif(r.result==='failed'){
526
527
logRequest('error','key_validation_failed',{provider: 'copilot',status: r.status,message: 'Copilot GitHub token is invalid or expired. Requests to this provider will fail.'});
527
528
}elseif(r.result==='timeout'){
528
-
logRequest('warn','key_validation_timeout',{provider: 'copilot',message: 'Key validation timed out after 10s — network may not be ready'});
529
+
logRequest('warn','key_validation_timeout',{provider: 'copilot',message: `Key validation timed out after ${timeoutSecs}s — network may not be ready`});
@@ -558,7 +559,7 @@ async function validateApiKeys(overrides = {}) {
558
559
}elseif(r.result==='failed'){
559
560
logRequest('error','key_validation_failed',{provider: 'gemini',status: r.status,message: 'Gemini API key is invalid or expired. Requests to this provider will fail.'});
560
561
}elseif(r.result==='timeout'){
561
-
logRequest('warn','key_validation_timeout',{provider: 'gemini',message: 'Key validation timed out after 10s — network may not be ready'});
562
+
logRequest('warn','key_validation_timeout',{provider: 'gemini',message: `Key validation timed out after ${timeoutSecs}s — network may not be ready`});
0 commit comments