返回全部动态
Haystack v3.1.1-rc1 发布:修复消息转换器错误
原标题:v3.1.1-rc1
AI 摘要
Haystack 发布了 v3.1.1-rc1 版本,主要修复了 OpenAI 和 Hugging Face 消息转换器在处理无内容部分的助手消息时的错误。这些修复确保了包含空内容的助手消息能够被正确接受和传递,从而避免后续 LLM 调用失败。
以上摘要由 AI 生成,可能存在误差。事实请以原文为准。
正文节选
# Release Notes ## v3.1.1-rc1 ### Bug Fixes - The OpenAI Chat Completions and Responses converters no longer raise on an assistant message with no content parts, which a Chat Generator returns when it discards a malformed tool call. It is sent with empty content, which the APIs accept, so the next LLM call goes through. `ChatMessage.from_openai_dict_format` accepts the same empty content, so such a message round-trips. - The Hugging Face message converter no longer raises on an assistant mess
发布时间:2026-09-03 15:27
抓取时间:2026-09-03 16:10
来源机构:deepset