Skip to content

v1.0.4

Choose a tag to compare

@Fly143 Fly143 released this 06 May 05:04
· 102 commits to main since this release

v1.0.4

🐛 Bug Fixes

  • Responses API: 修复多轮工具调用中 tool_call_id=None 导致崩溃的问题 — 正确传递 tool_call_id 到 OpenAIMessage
  • Responses API: 统一函数调用事件 ID 为 fc_xxx 前缀,call_id 独立存储,修复 RikkaHub {}{} 解析错误 / Tool not found 报错
  • Responses API: output_item.added 去掉 arguments 预填,通过 function_call_arguments.delta 流式传递
  • Responses API: 跳过 reasoning 项的 output_item.done(由 reasoning_text.done 结束),避免 RikkaHub 创建空白思维链卡片
  • Responses API: 非流式工具调用 call_id 字段独立存储,不再复用 item id
  • 工具调用: utils.py 中 tool_call_id[:8] 切片增加空字符串兜底保护

💡 no-tools 版本见 v1.0.4-no-tools