#4114·LightRAG

[错误]: POST /graph/relation/edit 和 DELETE /graph/relation/delete 拒绝了创建端点所接受的相同原始拼写

作者: passionworkeer创建于 2026年9月27日更新于 2026年9月27日

编辑或删除 `acreate_relation` (和 `acreate_entity`) 刚刚存储的关系时,如果调用者的拼写与 `acreate_entity` 实际保存的提取正则化拼写不同,则操作总是失败。`POST /graph/relation/edit` 返回 `400 Relation from ... does not exist`;`DELETE /graph/relation/delete` 会默默地返回 `DeletionResult(status='not_found', status_code=404)`,而不会删除正则化对的真实边。