test(agent): allow mock custom tool args
This commit is contained in:
parent
fa5ab72022
commit
2b24bff2ca
1 changed files with 3 additions and 2 deletions
|
|
@ -636,8 +636,9 @@ func (m *mockCustomTool) Description() string {
|
||||||
|
|
||||||
func (m *mockCustomTool) Parameters() map[string]any {
|
func (m *mockCustomTool) Parameters() map[string]any {
|
||||||
return map[string]any{
|
return map[string]any{
|
||||||
"type": "object",
|
"type": "object",
|
||||||
"properties": map[string]any{},
|
"properties": map[string]any{},
|
||||||
|
"additionalProperties": true,
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue