mirror of
https://github.com/xinnan-tech/xiaozhi-esp32-server.git
synced 2026-07-26 17:13:54 +08:00
update:优化记忆体布局
This commit is contained in:
@@ -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,
|
||||
},
|
||||
|
||||
Reference in New Issue
Block a user