Close the /v1/responses gaps: tools, streaming, instructions, reasoning effort and images
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
- 难度
- 5/5
- 预计耗时
- 一周以上
- 新手友好度
- 15/100
- Issue 类型
- 功能
- 描述清晰度
- 基本清楚
- 活跃度
- 活跃
- 技术栈
- openapi, python, typescript
调研方向
This is a tracking issue and most of it has already landed (#1014, #1016, #1017); the remaining work sits in #1015 (SDK responses() helpers), #1018 (examples/coding-agent-codex) and #1020 (logprobs and status: "incomplete"). Start by reading how /v1/messages is translated onto /v1/chat/completions (#753, #815) and the frozen vectors under conformance/openai_responses/, then pick one sub-issue. Done means the shared vectors pass for both the gateway and sie-server.
由索引模型根据 Issue 内容生成。
描述
Summary
POST /v1/responses serves a stateless, non-streaming, text-only subset of the OpenAI Responses API on both the gateway and sie-server. Requests that use stream: true, tools, tool_choice, instructions, reasoning, image parts and several other fields get 400 unsupported_field. Clients that only speak the Responses API, such as Codex CLI with a custom model provider (wire_api = "responses"), cannot use SIE directly.
This issue tracks closing those gaps. /v1/chat/completions keeps working as it does today.
Approach
/v1/responses becomes a translation onto /v1/chat/completions, the same way /v1/messages is served (#753, #815). The request is translated into a chat body, the chat route serves it in process, and the reply, stream and errors are translated back. Every chat validation, limit and timeout applies unchanged. Both the gateway and sie-server use this approach, checked against shared vectors under conformance/openai_responses/.
Planned support
instructions, andsystem,developer,userandassistantinput messages.functiontools,tool_choice,parallel_tool_calls, andfunction_callandfunction_call_outputinput items.customtools, translated to a function with one stringinputparameter. Their grammar is not enforced.stream: truewith the typed Responses event sequence, ending inresponse.completedwith usage.reasoning.effort, mapped to chatreasoning_effort.input_imagewith a base64data:URI on vision-capable models.text.formatfor structured output, mapped toresponse_format.max_output_tokens,temperature,top_p,seed,metadata,prompt_cache_key,userandsafety_identifier.store: false, orstoreomitted.
Stays unsupported
These return 400 naming the field or part:
- Stored and stateful features:
store: true,previous_response_id,conversation,background: true. Send the full conversation ininputinstead. - Hosted tools:
web_search,file_search,code_interpreter,computer_use,mcp,local_shell,image_generation. - Remote image URLs,
file_idreferences andinput_fileparts.
reasoning.summary and include: ["reasoning.encrypted_content"] are accepted and have no effect. Model thinking is not returned on this endpoint. The retrieval, delete, cancel and input_items endpoints are not served.
Work items
- Capture the requests a pinned Codex CLI version sends and freeze the conformance vectors (#1014).
- Update the API contract and the gateway and server OpenAPI schemas (#1016, #1017).
- Gateway translation (#1017).
-
sie-servertranslation (#1016). - Python and TypeScript SDK
responses()helpers: typed tools, instructions, reasoning and images, plus a streaming variant (#1015). -
examples/coding-agent-codexwith a Responses conformance suite (#1018). -
logprobs: []onoutput_textparts and text events, andstatus: "incomplete"on the item cut off by alengthorcontent_filterfinish (vectors, gateway and sie-server in one PR, after the first gateway and server PRs; #1020).
- 主要语言
- Python
- 星标
- 3.5k
- 派生
- 328
- 平均合并
- 17 小时 8 分钟
- 30 天内合并 PR
- 108
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
superlinked/sie 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 86/100
superlinked/sie#1033 ·
维护者通常 1 天内回复
-
LoRA source resolver rejects shared cache blobs accepted by serving-artifact validation可能已有人在做 @draarivpatel-ui 于 2 天前认领。 未关闭
难度 2/5 1-3 小时 新手友好度 72/100
superlinked/sie#1001 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 42/100
superlinked/sie#969 ·
维护者通常 1 天内回复
-
难度 5/5 一周以上 新手友好度 25/100
superlinked/sie#892 ·
维护者通常 1 天内回复
-
难度 4/5 3-5 天 新手友好度 25/100
superlinked/sie#851 · 4 条评论 ·
维护者通常 1 天内回复
相似的 Issue
-
难度 1/5 1 小时以内 新手友好度 78/100
reflex-dev/reflex#8026 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 76/100
apache/ponymail-foal#365 ·
-
难度 2/5 1-3 小时 新手友好度 79/100
NousResearch/hermes-labs-plugins#116 ·
维护者通常 2 天内回复
-
难度 2/5 1-3 小时 新手友好度 77/100
gcivil-nyu-org/team-3-fall26#192 ·
维护者通常 1 天内回复
-
[Study plan] Study sessions can be rescheduled to any length (e.g. 72 hours) with no length check未关闭
难度 2/5 1-3 小时 新手友好度 78/100
gcivil-nyu-org/team-2-fall26#159 ·
维护者通常 1 天内回复