one moar time - we can do it?
All checks were successful
Deploy to Test Environment / deploy-to-test (push) Successful in 34m45s

This commit is contained in:
2025-12-17 10:49:46 -08:00
parent d3ad50cde6
commit ed2eb1743e
8 changed files with 179 additions and 140 deletions

View File

@@ -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.