Skip to content

Commit 2573620

Browse files
committed
Return last 500 lines by default
1 parent 305391c commit 2573620

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

pkg/github/actions.go

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -586,7 +586,7 @@ func GetJobLogs(getClient GetClientFn, t translations.TranslationHelperFunc) (to
586586
),
587587
mcp.WithNumber("tail_lines",
588588
mcp.Description("Number of lines to return from the end of the log"),
589-
mcp.DefaultNumber(50),
589+
mcp.DefaultNumber(500),
590590
),
591591
),
592592
func(ctx context.Context, request mcp.CallToolRequest) (*mcp.CallToolResult, error) {
@@ -620,9 +620,9 @@ func GetJobLogs(getClient GetClientFn, t translations.TranslationHelperFunc) (to
620620
if err != nil {
621621
return mcp.NewToolResultError(err.Error()), nil
622622
}
623-
// Default to 50 lines if not specified
623+
// Default to 500 lines if not specified
624624
if tailLines == 0 {
625-
tailLines = 50
625+
tailLines = 500
626626
}
627627

628628
client, err := getClient(ctx)

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy