skills: add end-to-end integration tests + polish

This commit is contained in:
sausheong committed 2026-05-09 15:42:45 +08:00
1 parent 7e394276da
commit 53a7986fa0
6 files changed
+181 -41

No files matched your search

+1 -1
View File
@@ -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))