feat embeddings sync

This commit is contained in:
Philipinho
2025-10-15 10:23:59 +01:00
parent 807603f3a2
commit b5b31cc48c
10 changed files with 159 additions and 23 deletions

View File

@ -293,7 +293,10 @@ export class EnvironmentService {
return this.configService.get<string>('ENABLE_AI');
}
isAIVectorSearchEnabled(): string {
return this.configService.get<string>('AI_VECTOR_SEARCH');
isAISearchEnabled(): boolean {
const config = this.configService
.get<string>('AI_SEARCH', 'false')
.toLowerCase();
return config === 'true';
}
}