Skip to content

feat: DeepSeek Responses 严格 Schema 通道 / strict Schema transport - #69

Merged
yyuan308 merged 1 commit into
mainfrom
codex/deepseek-responses-schema
Aug 29, 2026
Merged

yyuan308 merged 1 commit into
mainfrom
codex/deepseek-responses-schema

Conversation

@yyuan308

Copy link
Copy Markdown
Collaborator

摘要 / Summary

  • 新增 deepseek_responses_json_schema 传输方式,将每个 packet 已绑定的 output.schema.json 直接交给 DeepSeek Responses API 的 JSON Schema 输出。
  • Adds deepseek_responses_json_schema, which sends the packet-bound output.schema.json directly to DeepSeek Responses API structured output.
  • 运行元数据和重放命令会记录传输方式及实际的 json_schema 输出格式;Responses 调用明确关闭 thinking。
  • Run metadata and replay commands record the transport and actual json_schema format; Responses calls explicitly disable thinking.

验证 / Verification

  • python -m unittest tests.benchmark.core.test_model_runner — 21 passed
  • python scripts/run_ci_tests.py core — 482 passed
  • 已确认 Data/ 仍由 Git ignore;本 PR 只包含公共 runner、CLI 与合成测试。

隐私与范围 / Privacy and scope

  • 未读取、暂存或提交学生作答、成绩、转录、gold、运行输出或任何 Data/ 内容。
  • No student work, scores, transcripts, gold, run outputs, or Data/ content is read, staged, or committed.
  • 这是执行通道改动,不包含模型调用、实验结果或准确率结论。

限制与下一步 / Limitations and next step

  • 单元测试通过 mock 验证请求形状;真实 API 兼容性仍需在本 PR 合并后,用零学生数据 probe 先确认。
  • The request shape is mock-tested; production API compatibility still needs a zero-student-data probe after merge.
  • probe 成功后,才会用已冻结的匿名开发集启动新的干净 G1 DeepSeek V4 Flash 运行;不使用 heldout。

参考 / Reference: DeepSeek Responses API.

@yyuan308
yyuan308 merged commit 3bab6bb into main Aug 29, 2026
3 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant