Explorar el Código

rm unnec code

Shun Miyazawa hace 1 año
padre
commit
0b7edadbe4
Se han modificado 1 ficheros con 0 adiciones y 5 borrados
  1. 0 5
      apps/app/src/features/openai/server/services/openai.ts

+ 0 - 5
apps/app/src/features/openai/server/services/openai.ts

@@ -436,11 +436,6 @@ class OpenaiService implements IOpenaiService {
       await this.deleteVectorStoreFile(vectorStoreRelation._id, page._id);
       await this.createVectorStoreFile(vectorStoreRelation, [page]);
     });
-
-
-    // const vectorStore = await this.getOrCreateVectorStoreForPublicScope();
-    // await this.deleteVectorStoreFile(vectorStore._id, page._id);
-    // await this.createVectorStoreFile([page]);
   }
 
   private async createVectorStoreFileWithStream(vectorStoreRelation: VectorStoreDocument, conditions: mongoose.FilterQuery<PageDocument>): Promise<void> {