test(agent): allow mock custom tool args (#1965)

This commit is contained in:
美電球
2026-03-24 19:27:29 +08:00
committed by GitHub
parent fa5ab72022
commit f2f6987f00
+3 -2
View File
@@ -636,8 +636,9 @@ func (m *mockCustomTool) Description() string {
func (m *mockCustomTool) Parameters() map[string]any {
return map[string]any{
"type": "object",
"properties": map[string]any{},
"type": "object",
"properties": map[string]any{},
"additionalProperties": true,
}
}