Skip to content

Commit

Permalink
Add comment
Browse files Browse the repository at this point in the history
  • Loading branch information
miya committed Oct 21, 2024
1 parent 886e7da commit cbfd89c
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/app/src/features/openai/server/services/openai.ts
Original file line number Diff line number Diff line change
Expand Up @@ -108,6 +108,8 @@ class OpenaiService implements IOpenaiService {

if (vectorStoreDocument != null && !isVectorStoreForPublicScopeExist) {
try {
// Check if vector store entity exists
// If the vector store entity does not exist, the vector store document is deleted
await this.client.retrieveVectorStore(vectorStoreDocument.vectorStoreId);
isVectorStoreForPublicScopeExist = true;
return vectorStoreDocument;
Expand Down

0 comments on commit cbfd89c

Please sign in to comment.