返回全部动态

Haystack v2.30.2 修复 Agent 过早退出问题

原标题:v2.30.2

Haystack Releases一手来源产品发布质量 65

AI 摘要

Haystack 发布了 v2.30.2 版本,主要修复了 Agent 在默认退出条件下过早退出的问题。此前,当 LLM 生成无效工具调用被丢弃后,空文本的助手消息会触发退出,导致 Agent 无法恢复。现在 Agent 会继续循环,让模型在下一轮迭代中恢复。

以上摘要由 AI 生成,可能存在误差。事实请以原文为准。

正文节选

## 🐛 Bug Fixes - Fixed the `Agent` exiting prematurely under the default `exit_conditions=["text"]`. The agent now only stops when the last message is an assistant message with non-empty text (or when no tool invoker is configured). Previously, if the LLM produced an invalid tool call that was discarded, the resulting assistant message with empty text and no tool calls would trigger an exit, preventing the agent from recovering. The agent now continues looping so the model can recover on the


发布时间:2026-06-18 16:36
抓取时间:2026-08-02 00:30
来源机构:deepset
阅读原文github.com