This commit is contained in:
2025-12-31 17:47:39 +08:00
38 changed files with 4435 additions and 1343 deletions

View File

@@ -486,7 +486,7 @@ class DeerCheckin(PluginBase):
"type": "function",
"function": {
"name": "deer_checkin",
"description": "鹿打卡,记录今天的鹿数量",
"description": "仅当用户明确要求“鹿打卡/鹿签到/记录今天的鹿数量”时调用;不要在闲聊、绘图或其他问题中调用。",
"parameters": {
"type": "object",
"properties": {
@@ -504,7 +504,7 @@ class DeerCheckin(PluginBase):
"type": "function",
"function": {
"name": "view_calendar",
"description": "查看本月的鹿打卡日历",
"description": "仅当用户明确要求“查看鹿打卡日历/本月打卡记录/打卡日历”时调用。",
"parameters": {
"type": "object",
"properties": {},
@@ -516,7 +516,7 @@ class DeerCheckin(PluginBase):
"type": "function",
"function": {
"name": "makeup_checkin",
"description": "补签指定日期的鹿打卡记录",
"description": "仅当用户明确要求“补签/补打卡某日期”时调用,不要自动触发。",
"parameters": {
"type": "object",
"properties": {
@@ -584,4 +584,4 @@ class DeerCheckin(PluginBase):
except Exception as e:
logger.error(f"LLM工具执行失败: {e}")
return {"success": False, "message": f"执行失败: {str(e)}"}
return {"success": False, "message": f"执行失败: {str(e)}"}