mirror of
https://github.com/hellodigua/ChatLab.git
synced 2026-10-25 17:54:34 +08:00
每次模型请求前检查总预算并裁剪工具结果副本,保留原记录、调用配对和计费,避免并行或跨轮结果累积超窗。 Fit cumulative tool results before each model request while preserving the transcript, call pairing and usage. Verified with 121 related tests, 40 stress scenarios, Pi HTTP failure injection and independent reviews.