Improved code by updating any interfaces
Change-Id: I9a2e630c37f3c427569f5bbd773978c2705dc08c
diff --git a/tools/registry_test.go b/tools/registry_test.go
index 4e70978..1c1693d 100644
--- a/tools/registry_test.go
+++ b/tools/registry_test.go
@@ -12,7 +12,7 @@
type mockTool struct {
name string
description string
- schema map[string]interface{}
+ schema map[string]any
}
func (t *mockTool) Name() string {
@@ -23,7 +23,7 @@
return t.description
}
-func (t *mockTool) InputSchema() map[string]interface{} {
+func (t *mockTool) InputSchema() map[string]any {
return t.schema
}
@@ -44,7 +44,7 @@
tool := &mockTool{
name: "test-tool",
description: "A test tool",
- schema: map[string]interface{}{
+ schema: map[string]any{
"type": "object",
},
}