Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

历史对话导致后续问题 #3667

Closed
2 of 7 tasks
sandycs-protoss opened this issue Jan 26, 2025 · 1 comment
Closed
2 of 7 tasks

历史对话导致后续问题 #3667

sandycs-protoss opened this issue Jan 26, 2025 · 1 comment
Labels
bug Something isn't working

Comments

@sandycs-protoss
Copy link

例行检查

  • 我已确认目前没有类似 issue
  • 我已完整查看过项目 README,以及项目文档
  • 我使用了自己的 key,并确认我的 key 是可正常使用的
  • 我理解并愿意跟进此 issue,协助测试和提供反馈
  • 我理解并认可上述内容,并理解项目维护者精力有限,不遵循规则的 issue 可能会被无视或直接关闭

你的版本

  • 公有云版本
  • 私有部署版本, 具体版本号: 4.8.17

问题描述, 日志截图,配置文件等
工作流设计时,如果某次历史问题回复中超时导致回复内容失败,LLM返回是empty
那么下次传入历史内容时会出现这样的数据:{"role":"assistant","content":""}
这个数据在某些大模型,比如sonnet3.5,就会报错
严格来说,未能正确回复的历史数据不应该被计算在内。

@sandycs-protoss sandycs-protoss added the bug Something isn't working label Jan 26, 2025
@c121914yu
Copy link
Collaborator

赋予一个 null 可能比较合适,不然会导致看到的历史记录和实际历史记录不一致

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants