@Astralyn 在 Pi 0.84.4 修复了自动压缩问题 中发帖
现在 Pi 会在每次工具调用前检查是否达到自动压缩阈值,防止超出该模型设定上下文长度
旧行为:Agent.prompt() 返回后进行检查
Fixed large tool results crossing the auto-compaction threshold being sent to the provider before compaction. Pi now compacts between tool execution and the next assistant response in the same run, and restores interactive progress when that run resumes (#6879).
来源:Pi