mirror of
https://github.com/docmost/docmost.git
synced 2025-11-18 22:01:11 +10:00
WIP
This commit is contained in:
@ -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');
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user