fix: mcp test json

This commit is contained in:
lilong.129
2025-04-25 17:55:24 +08:00
parent fdcdd246b9
commit 5385556b66
7 changed files with 130 additions and 61 deletions

View File

@@ -74,7 +74,7 @@ func TestTapHandler(t *testing.T) {
func TestInvokeToolHandler(t *testing.T) {
router := NewRouter()
router.InitMCPHub("../internal/mcp/test.mcp.json")
router.InitMCPHub("../internal/mcp/testdata/test.mcp.json")
tests := []struct {
name string