update:优化记忆体布局

This commit is contained in:
hrz
2025-05-14 12:09:29 +08:00
parent da3a5df5c3
commit be3a030302
5 changed files with 96 additions and 70 deletions
@@ -144,13 +144,12 @@ def get_agent_models(
},
)
def save_mem_local_short(
mac_address: str, short_momery: str
) -> Optional[Dict]:
def save_mem_local_short(mac_address: str, short_momery: str) -> Optional[Dict]:
try:
return ManageApiClient._instance._execute_request(
"PUT",
f"/agent/device/" + mac_address,
f"/agent/saveMemory/" + mac_address,
json={
"summaryMemory": short_momery,
},