diff --git a/apps/server/src/core/workspace/services/workspace.service.ts b/apps/server/src/core/workspace/services/workspace.service.ts index 77ccb90c9..68dfd271a 100644 --- a/apps/server/src/core/workspace/services/workspace.service.ts +++ b/apps/server/src/core/workspace/services/workspace.service.ts @@ -396,7 +396,10 @@ export class WorkspaceService { } } - if (updateWorkspaceDto.aiSearch) { + if ( + updateWorkspaceDto.aiSearch && + this.environmentService.getAiVectorDriver() !== 'turbopuffer' + ) { const tableExists = await isPageEmbeddingsTableExists(this.db); if (!tableExists) { throw new BadRequestException(