feat(web): deleteDocumentChunk add force_refresh

This commit is contained in:
zhaoying
2026-05-06 18:00:01 +08:00
parent 5118e343d6
commit 0361bba33f

View File

@@ -307,7 +307,7 @@ export const updateDocumentChunk = async (kb_id:string, document_id:string, doc_
return response as any;
};
export const deleteDocumentChunk = async (kb_id: string, document_id: string, doc_id: string) => {
const response = await request.delete(`${apiPrefix}/chunks/${kb_id}/${document_id}/${doc_id}`);
const response = await request.delete(`${apiPrefix}/chunks/${kb_id}/${document_id}/${doc_id}?force_refresh=true`);
return response as any;
};
// 文档块儿创建