فهرست منبع

rm unnec code

Shun Miyazawa 1 سال پیش
والد
کامیت
0b7edadbe4
1فایلهای تغییر یافته به همراه0 افزوده شده و 5 حذف شده
  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> {