提交前确认 / Before submitting
当前版本 / Current version
1.12.1
使用环境 / Environment
安卓16/origin os6 iQOOneo11
功能领域 / Feature area
Chat / 对话与消息
要解决的问题 / Problem or motivation
当前 Operit 对 OpenAI Responses API 的支持不完整。虽然可以将 Provider 切换为 OPENAI_RESPONSES_GENERIC 并将接口地址修改为 /v1/responses,但仅修改这些配置无法保证请求、响应解析、流式输出以及 Tool Calling 流程与 Responses API 兼容。
实际测试中,切换后不仅 Tool Calling 无法正常工作,甚至普通对话也会失败,并出现 No tool output found for tool call ... 等错误。
使用场景 / Use case
这会影响希望在 Operit 中使用 Responses API 的用户,尤其是需要复杂 Agent、推理和多轮工具调用的场景。目前用户无法仅通过配置可靠地接入兼容 Responses API 的服务,需要客户端完整适配 Responses API 的请求/响应结构及工具调用生命周期。
期望方案 / Proposed behavior
1.修改请求体,使其适配reasponse api
2.增加修改API端点即自动修改请求体的功能
可接受结果 / Expected outcome
切换成reasponse api后,agent正常返回内容、正常调用工具
截图、草图或参考图 / Screenshot, mockup or reference
替代方案与补充信息 / Alternatives and context
No response
提交前确认 / Before submitting
当前版本 / Current version
1.12.1
使用环境 / Environment
安卓16/origin os6 iQOOneo11
功能领域 / Feature area
Chat / 对话与消息
要解决的问题 / Problem or motivation
当前 Operit 对 OpenAI Responses API 的支持不完整。虽然可以将 Provider 切换为 OPENAI_RESPONSES_GENERIC 并将接口地址修改为 /v1/responses,但仅修改这些配置无法保证请求、响应解析、流式输出以及 Tool Calling 流程与 Responses API 兼容。
实际测试中,切换后不仅 Tool Calling 无法正常工作,甚至普通对话也会失败,并出现 No tool output found for tool call ... 等错误。
使用场景 / Use case
这会影响希望在 Operit 中使用 Responses API 的用户,尤其是需要复杂 Agent、推理和多轮工具调用的场景。目前用户无法仅通过配置可靠地接入兼容 Responses API 的服务,需要客户端完整适配 Responses API 的请求/响应结构及工具调用生命周期。
期望方案 / Proposed behavior
1.修改请求体,使其适配reasponse api
2.增加修改API端点即自动修改请求体的功能
可接受结果 / Expected outcome
切换成reasponse api后,agent正常返回内容、正常调用工具
截图、草图或参考图 / Screenshot, mockup or reference
替代方案与补充信息 / Alternatives and context
No response