Files
GitHub Actions e3d3a63492 refactor: extract OpenAI Responses route wrapper
Keep app.main.v1_responses as the compatibility entrypoint while moving the Responses wrapper and SSE bridge into a dedicated module. This reduces app/main.py without changing the existing Responses behavior or test patch points.

Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
2026-04-22 10:13:49 +08:00

787 B

Handoff: team-exec → team-verify

  • Decided: Extracted the OpenAI Responses wrapper from app/main.py into app/http/openai_responses.py while keeping app.main.v1_responses as the compatibility route entry and preserving delegation through v1_chat_completions.
  • Rejected: No protocol behavior changes, no Responses contract expansion, and no docs drift cleanup in this phase to keep the slice compatibility-first.
  • Risks: app/main.py still intentionally re-exports some Responses helpers via imports; leave that alone unless a later compatibility pass proves it is safe to remove.
  • Files: app/main.py, app/http/openai_responses.py
  • Remaining: Independent verifier review, then mark task #32 completed and prepare the phase checkpoint commit/push.