diff --git a/internal/agent/tools/view.go b/internal/agent/tools/view.go index 6880679804a1089fe6e765273bc375e126c817ad..3956a998698233aa194172551b5ab4f69b0d3a30 100644 --- a/internal/agent/tools/view.go +++ b/internal/agent/tools/view.go @@ -53,7 +53,7 @@ type ViewResponseMetadata struct { const ( ViewToolName = "view" - MaxViewSize = 100 * 1024 // 100KB + MaxViewSize = 200 * 1024 // 200KB DefaultReadLimit = 2000 MaxLineLength = 2000 ) diff --git a/internal/agent/tools/view.md b/internal/agent/tools/view.md index 598d90da75b77d183791419c7d34efdea090f7c8..bfeada26efba57b33b771fdaffa1366f570a91eb 100644 --- a/internal/agent/tools/view.md +++ b/internal/agent/tools/view.md @@ -1,4 +1,4 @@ -Read a file by path with line numbers; supports offset and line limit (default 2000, max 100KB); renders images (PNG, JPEG, GIF, BMP, SVG, WebP); use ls for directories. +Read a file by path with line numbers; supports offset and line limit (default 2000, max 200KB); renders images (PNG, JPEG, GIF, BMP, SVG, WebP); use ls for directories. - Provide file path to read @@ -18,7 +18,7 @@ Read a file by path with line numbers; supports offset and line limit (default 2 -- Max file size: 100KB +- Max file size: 200KB - Default limit: 2000 lines - Lines >2000 chars truncated - Binary files (except images) cannot be displayed