fix(responses-api): raise APIError on in-stream error events; widen ErrorEventError.param to accept dict

用户在调用 LiteLLM Responses API 的流式接口时,Provider 返回了流中错误事件( type: "error" 或 type: "response.failed" ),但当前实现没有触发 Python 异常,而是将错误事件作为普通流式块发回给调用者。导致 LiteLLM R



![[Codex] 电脑锁屏后 Chatgpt/Codex 客户端的任务似乎就停着不动了,有人遇到过这个问题么?](https://www.chat-gpts.plus/wp-content/uploads/2026/07/ai_cover_3-340-768x403.jpg)
![[分享创造] [开源] Codeg V0.20.0:科研(science)模式上线|多智能体协作工作台](https://www.chat-gpts.plus/wp-content/uploads/2026/07/ai_cover_2-341-768x403.jpg)
![[推广] ChatGPT codex/Claude 官方正版订阅代充值,欢迎 V 友咨询](https://www.chat-gpts.plus/wp-content/uploads/2026/07/ai_cover_1-341-768x403.jpg)


