Fix: allow update memory type (#12237)

### What problem does this PR solve?

Allow update memory_type.

### Type of change

- [x] Bug Fix (non-breaking change which fixes an issue)
This commit is contained in:
Lynn
2025-12-26 15:26:56 +08:00
committed by GitHub
parent 595fc4ccec
commit 3558a6c170

View File

@ -70,7 +70,7 @@ async def create_memory():
@manager.route("/<memory_id>", methods=["PUT"]) # noqa: F821
@login_required
@not_allowed_parameters("id", "tenant_id", "memory_type", "storage_type")
@not_allowed_parameters("id", "tenant_id", "storage_type")
async def update_memory(memory_id):
req = await get_request_json()
update_dict = {}