skills: add end-to-end integration tests + polish
This commit is contained in:
1 parent
7e394276da
commit
53a7986fa0
6 files changed
+181
-41
No files matched your search
@@ -18,7 +18,7 @@ func TestSkillTool_NameDescriptionSchema(t *testing.T) {
|
||||
|
||||
var schema struct {
|
||||
Type string `json:"type"`
|
||||
Properties map[string]interface{} `json:"properties"`
|
||||
Properties map[string]any `json:"properties"`
|
||||
Required []string `json:"required"`
|
||||
}
|
||||
require.NoError(t, json.Unmarshal(tool.Parameters(), &schema))
|
||||
|
||||
Reference in new issue
Block a user