one moar time - we can do it?
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 34m45s
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 34m45s
This commit is contained in:
@@ -98,6 +98,8 @@ export class AIService {
|
||||
if (!isTestEnvironment) {
|
||||
this.logger.error("[AIService] GEMINI_API_KEY is required in non-test environments.");
|
||||
throw new Error('GEMINI_API_KEY environment variable not set for server-side AI calls.');
|
||||
} else {
|
||||
this.logger.warn('[AIService Constructor] GEMINI_API_KEY is missing, but this is a test environment, so proceeding.');
|
||||
}
|
||||
}
|
||||
// In test mode without injected client, we might not have a key.
|
||||
|
||||
Reference in New Issue
Block a user