修复第三方 Provider 流式工具计划请求 #201
Reference in New Issue
Block a user
Delete Branch "codex/issue-186"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
变更摘要
llm.stream=true时,Provider tool-plan 请求改为使用stream_run,由后端聚合完整响应;关闭流式时继续使用run。stream=true、工具调用聚合、respond_to_user 收束和最终回复请求。stream=true的 Responses / Chat Completions 请求返回正确 SSE,避免时序测试误报 Timeout。验证
已通过:
autonomous_game_build_repairs_truncated_scaffold_into_bounded_patchbackground_agent_runtime_asset_generation_respects_project_policybackground_final_reply_failure_keeps_private_conversation_and_hashes_public_auditsnpm run ai-game-creator-shell:typechecknpm run check:encodinggit diff --check说明:Provider handoff 重启用例在并发启动时曾出现一次时序失败,单独串行复跑通过;当前提交已通过 pre-push 检查。
cargo fmt --check仍会报告基线其他文件已有格式差异,本 PR 未改动这些无关文件。Close #186