From 59c2ff08dc2e764ce4f08ab4c84bc6b797dbf938 Mon Sep 17 00:00:00 2001 From: tonytrg Date: Wed, 15 Oct 2025 21:22:07 +0200 Subject: [PATCH] returning raw response --- pkg/github/repositories.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/github/repositories.go b/pkg/github/repositories.go index 7ffc5fc0c..3018089d5 100644 --- a/pkg/github/repositories.go +++ b/pkg/github/repositories.go @@ -634,7 +634,7 @@ func GetFileContents(getClient GetClientFn, getRawClient raw.GetRawClientFn, t t } return mcp.NewToolResultResource("successfully downloaded binary file", result), nil } - rawAPIResponseCode = resp.StatusCode + return mcp.NewToolResultText(fmt.Sprintf("Raw API Response: %+v", resp)), nil } if rawOpts.SHA != "" {