diff --git a/public/scripts/extensions/vectors/index.js b/public/scripts/extensions/vectors/index.js index 86158f16c..e671234c5 100644 --- a/public/scripts/extensions/vectors/index.js +++ b/public/scripts/extensions/vectors/index.js @@ -1125,11 +1125,12 @@ function throwIfSourceInvalid() { * @returns {Promise} */ async function deleteVectorItems(collectionId, hashes) { + const args = await getAdditionalArgs([]); const response = await fetch('/api/vector/delete', { method: 'POST', headers: getRequestHeaders(), body: JSON.stringify({ - ...getVectorsRequestBody(), + ...getVectorsRequestBody(args), collectionId: collectionId, hashes: hashes, source: settings.source,