Fix truncation issues in piplan, SQLite storage, and history compression; add PIPlanMaxChars configuration

This commit is contained in:
whlaoding
2026-03-15 00:32:14 +08:00
parent ea88e1dc18
commit 38d6875ab8
8 changed files with 683 additions and 66 deletions

View File

@@ -72,7 +72,7 @@ func RunChild(ctx context.Context, cfg config.Config, log *logger.Logger) error
cfg.ToolOutputMaxChars,
fileDocLog,
))
registry.Register(piplan.New(cfg.ToolOutputMaxChars, piPlanLog))
registry.Register(piplan.New(cfg.PIPlanMaxChars, piPlanLog))
registry.Register(giteaticket.New(
giteaticket.Config{
BaseURL: cfg.Gitea.BaseURL,