修改工具调用机制

This commit is contained in:
2026-06-10 18:54:17 +08:00
parent a838a812a0
commit 04485b6b0e
6 changed files with 589 additions and 78 deletions
+2 -1
View File
@@ -105,7 +105,8 @@ func ConfigAllInit() error {
Timeout: 30,
MaxTokens: 512,
Tools: []ConfigsAIChatTool_{
{Name: "time", Enabled: true, Description: "提供当前日期、时间相对日期换算。"},
{Name: "time", Enabled: true, Description: "解析当前时间相对日期和日期范围。"},
{Name: "ops_ai_assistant_schedule_query", Enabled: true, Description: "按日期范围查询当前用户可见的 OPS 日历/日程。"},
},
},
}