feat: streaming json parser (#1883)

This commit is contained in:
yetone
2025-04-16 23:41:38 +08:00
committed by GitHub
parent 4f717e0699
commit 33f95aedde
9 changed files with 635 additions and 30 deletions

View File

@@ -90,7 +90,7 @@ When you're done, provide a clear and concise summary of what you found.]]):gsub
ask = true,
code_lang = "unknown",
provider = Providers[Config.provider],
on_tool_log = function(tool_name, log)
on_tool_log = function(tool_id, tool_name, log, state)
if on_log then on_log(string.format("[%s] %s", tool_name, log)) end
end,
session_ctx = session_ctx,