v1.7.16

data-privacy-stack/presidiov1.7.16Aug 19, 2026by Ed1s0nZ

Upgrading?

AI Summary

Fixed a critical bug in Eino single-agent mode where long conversations triggered a NodeRunError (400) due to broken tool_call/tool_result pairing after summarization. Added defense-in-depth middlewares (`toolPairReconciler` and `orphanToolPruner`) to the agentic path to align with the classic path and ensure stability.

Key Highlights

  • Fixed NodeRunError in Eino single-agent mode caused by broken tool_call/tool_result pairing after summarization.
  • Added `toolPairReconciler` middleware for tool call reconciliation.
  • Added `orphanToolPruner` middleware for defense-in-depth.
  • Aligned agentic path middleware stack with the classic path.

New Features

  • Added `toolPairReconciler` middleware.
  • Added `orphanToolPruner` middleware.

Full Release Notes

修复 Eino 单代理模式下长对话触发摘要压缩后,tool_call/tool_result 配对被破坏导致模型 API 返回 400 错误(NodeRunError)的问题。为 agentic 路径补充了与 classic 路径对齐的 toolPairReconciler 和 orphanToolPruner 纵深防御中间件。

---

Fixed a bug where long conversations in Eino single-agent mode could trigger a 400 error (NodeRunError: "insufficient tool messages following tool_calls message") after summarization truncated the message history and broke tool_call/tool_result pairing. Added toolPairReconciler and orphanToolPruner defense-in-depth middlewares to the agentic path, aligned with the existing classic path.

Related Repositories