feat:将action记录存到数据库,并显示到prompt中

This commit is contained in:
SengokuCola
2025-06-04 18:14:16 +08:00
parent bb01a15468
commit 8c713a436c
16 changed files with 332 additions and 209 deletions

View File

@@ -118,7 +118,7 @@ class MemoryActivator:
# 只取response的第一个元素字符串
response_str = response[0]
print(f"response_str: {response_str[1]}")
# print(f"response_str: {response_str[1]}")
keywords = list(get_keywords_from_json(response_str))
# 更新关键词缓存