This commit is contained in:
Philipinho
2025-08-14 23:13:23 -07:00
parent 08135a2fba
commit 0f29eb8842
3 changed files with 33 additions and 0 deletions

View File

@ -70,6 +70,7 @@
"nanoid": "3.3.11",
"nestjs-kysely": "^1.2.0",
"nodemailer": "^7.0.3",
"openai": "^5.12.2",
"openid-client": "^5.7.1",
"otpauth": "^9.4.0",
"p-limit": "^6.2.0",

View File

@ -213,4 +213,16 @@ export class EnvironmentService {
getPostHogKey(): string {
return this.configService.get<string>('POSTHOG_KEY');
}
getOpenAiApiKey(): string {
return this.configService.get<string>('OPENAI_API_KEY');
}
getOpenAiApiUrl(): string {
return this.configService.get<string>('OPENAI_API_URL');
}
getOpenAiModel(): string {
return this.configService.get<string>('OPENAI_MODEL');
}
}