🎨 更新 Python 依赖版本至 3.10,新增 pre-commit 工作流及配置文件

This commit is contained in:
2024-12-13 02:23:38 +08:00
parent 8462830c91
commit 8defcfdd66
38 changed files with 350 additions and 229 deletions

View File

@@ -1,4 +1,5 @@
import os
from zhDateTime import DateTime

View File

@@ -6,4 +6,4 @@
"description": "获取现在的日期,时间和星期。"
}
}
]
]

View File

@@ -4,7 +4,7 @@
"function": {
"name": "marshoai-basic__get_weather",
"description": "当你想查询指定城市的天气时非常有用。",
"parameters": {
"parameters": {
"type": "object",
"properties": {
"location": {
@@ -23,7 +23,7 @@
"function": {
"name": "marshoai-basic__get_current_env",
"description": "获取当前的运行环境。",
"parameters": {
"parameters": {
}
}
},
@@ -32,8 +32,8 @@
"function": {
"name": "marshoai-basic__get_current_time",
"description": "获取现在的时间。",
"parameters": {
"parameters": {
}
}
}
]
]