Description:
After deleting a file using const file = await openai.files.del("file-abc123");, the file is removed, but remains attached to the vector store. Per the documentation, the file should be completely deleted.
Steps to reproduce:
- Upload a file.
- Attach the file to one or more vector stores.
- Delete the file using
openai.files.del.- The file still appears attached to the vector store, showing the file ID instead of the file name.
Expected result:
File should get deleted from vector store as well, as per doc