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

This commit is contained in:
github-actions[bot]
2025-04-14 13:36:52 +00:00
parent 53332791e4
commit bd66ae272e
6 changed files with 54 additions and 68 deletions

View File

@@ -57,5 +57,3 @@ class GetCurrentTaskTool(BaseTool):
task_info = f"{start_time}{end_time} 之间没有找到日程信息"
return {"name": "get_current_task", "content": f"日程信息: {task_info}"}

View File

@@ -5,6 +5,7 @@ from datetime import datetime
logger = get_module_logger("get_time_date")
class GetCurrentDateTimeTool(BaseTool):
"""获取当前时间、日期、年份和星期的工具"""
@@ -33,7 +34,5 @@ class GetCurrentDateTimeTool(BaseTool):
return {
"name": "get_current_date_time",
"content": f"当前时间: {current_time}, 日期: {current_date}, 年份: {current_year}, 星期: {current_weekday}"
"content": f"当前时间: {current_time}, 日期: {current_date}, 年份: {current_year}, 星期: {current_weekday}",
}