feat: get custom tools from a function (#1567)

This commit is contained in:
yetone
2025-03-12 17:57:09 +08:00
committed by GitHub
parent e635452389
commit 9e3e8d06a2
2 changed files with 4 additions and 2 deletions

View File

@@ -465,7 +465,7 @@ M._defaults = {
throttle = 600,
},
disabled_tools = {}, ---@type string[]
---@type AvanteLLMToolPublic[]
---@type AvanteLLMToolPublic[] | fun(): AvanteLLMToolPublic[]
custom_tools = {},
}