fix: hide internal properties of config (#1036)

This commit is contained in:
yetone
2025-01-05 18:27:23 +08:00
committed by GitHub
parent 9895ce7681
commit 48fc35f978
5 changed files with 29 additions and 31 deletions

View File

@@ -331,7 +331,7 @@ function M.warn(msg, opts)
end
function M.debug(...)
if not require("avante.config").options.debug then return end
if not require("avante.config").debug then return end
local args = { ... }
if #args == 0 then return end