mirror of
https://github.com/tiennm99/DocsGPT.git
synced 2026-10-04 14:12:58 +00:00
Live /v1/responses rejects input_text for the assistant role (input[N].content[0] -> "Supported values are: 'output_text' and 'refusal'"). Revert the previous review-driven change: encode assistant turns as output_text and user/system turns as input_text. The SDK type union suggested input_* only, but the API enforces output_text per-role — confirmed against the live endpoint.