From af8d373f22c0fea97131fd62c21564db46eb0770 Mon Sep 17 00:00:00 2001 From: yetone Date: Thu, 5 Jun 2025 01:45:31 +0800 Subject: [PATCH] fix: change view limit (#2157) --- lua/avante/llm_tools/view.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/avante/llm_tools/view.lua b/lua/avante/llm_tools/view.lua index f14689d..7d92d39 100644 --- a/lua/avante/llm_tools/view.lua +++ b/lua/avante/llm_tools/view.lua @@ -91,7 +91,7 @@ function M.func(opts, on_log, on_complete, session_ctx) local size = 0 for _, line in ipairs(lines or {}) do size = size + #line - if size > 2048 * 10 then + if size > 2048 * 100 then is_truncated = true break end