iachat/enterprise/app/services/captain/codex
Rodribm10 d53c86df94 fix(captain): always include instructions in Codex responses body
Codex endpoint retorna HTTP 400 "Instructions are required" quando o
campo vem ausente. Agora sempre incluímos o campo — string com espaço
quando não há system message no request.

Validado end-to-end: curl → /codex/v1/chat/completions → proxy traduz
→ Codex devolve streaming SSE → proxy agrega → JSON Chat Completions.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
2026-04-22 15:27:37 -03:00
..
auth_service.rb feat(captain): Codex OAuth auth module + proxy controller 2026-04-22 15:07:01 -03:00
client.rb feat(captain): Codex OAuth auth module + proxy controller 2026-04-22 15:07:01 -03:00
translator.rb fix(captain): always include instructions in Codex responses body 2026-04-22 15:27:37 -03:00