mirror of
https://github.com/docmost/docmost.git
synced 2026-05-09 07:43:06 +08:00
Compare commits
13 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| a8cb00baa7 | |||
| 91e1b6c4a2 | |||
| 1912ef5b1c | |||
| bd42dec6be | |||
| d034fce11b | |||
| 6fcdebc178 | |||
| 308ce923cc | |||
| cb177811c0 | |||
| a6d2140197 | |||
| 0f22e44d29 | |||
| 0698590c8a | |||
| 7ad3af0d7e | |||
| 6c60e28250 |
@@ -25,7 +25,7 @@
|
||||
"@tabler/icons-react": "^3.40.0",
|
||||
"@tanstack/react-query": "5.90.17",
|
||||
"alfaaz": "^1.1.0",
|
||||
"axios": "1.13.6",
|
||||
"axios": "^1.13.6",
|
||||
"blueimp-load-image": "^5.16.0",
|
||||
"clsx": "^2.1.1",
|
||||
"emoji-mart": "^5.6.0",
|
||||
|
||||
+1
-1
Submodule apps/server/src/ee updated: 670b9458f3...350ef574e3
@@ -259,12 +259,6 @@ export class EnvironmentService {
|
||||
);
|
||||
}
|
||||
|
||||
getAiEmbeddingSupportsMrl(): boolean | undefined {
|
||||
const val = this.configService.get<string>('AI_EMBEDDING_SUPPORTS_MRL');
|
||||
if (val === undefined || val === null || val === '') return undefined;
|
||||
return val === 'true';
|
||||
}
|
||||
|
||||
getOpenAiApiKey(): string {
|
||||
return this.configService.get<string>('OPENAI_API_KEY');
|
||||
}
|
||||
|
||||
@@ -117,12 +117,6 @@ export class EnvironmentVariables {
|
||||
@IsString()
|
||||
AI_EMBEDDING_DIMENSION: string;
|
||||
|
||||
@IsOptional()
|
||||
@ValidateIf((obj) => obj.AI_EMBEDDING_SUPPORTS_MRL)
|
||||
@IsIn(['true', 'false'])
|
||||
@IsString()
|
||||
AI_EMBEDDING_SUPPORTS_MRL: string;
|
||||
|
||||
@ValidateIf((obj) => obj.AI_DRIVER)
|
||||
@IsString()
|
||||
@IsNotEmpty()
|
||||
|
||||
Generated
+1
-1
@@ -286,7 +286,7 @@ importers:
|
||||
specifier: ^1.1.0
|
||||
version: 1.1.0
|
||||
axios:
|
||||
specifier: 1.13.6
|
||||
specifier: ^1.13.6
|
||||
version: 1.13.6
|
||||
blueimp-load-image:
|
||||
specifier: ^5.16.0
|
||||
|
||||
Reference in New Issue
Block a user