🤖 自动格式化代码 [skip ci]

This commit is contained in:
github-actions[bot]
2025-05-23 09:07:54 +00:00
parent 3a44f00bc1
commit 516092494e
2 changed files with 3 additions and 5 deletions

View File

@@ -67,17 +67,16 @@ class StructuredInfo:
value: 要设置的属性值
"""
self.data[key] = value
def get_processed_info(self) -> str:
"""获取处理后的信息
Returns:
str: 处理后的信息字符串
"""
info_str = ""
for key, value in self.data.items():
info_str += f"信息类型:{key},信息内容:{value}\n"
return info_str

View File

@@ -89,7 +89,6 @@ class ToolProcessor(BaseProcessor):
for working_info in working_infos:
structured_info.set_info(working_info.get("type"), working_info.get("content"))
return [structured_info]
async def execute_tools(self, observation: ChattingObservation, running_memorys: Optional[List[Dict]] = None):