mirror of
https://github.com/QuantumNous/new-api.git
synced 2026-03-30 09:55:01 +00:00
Clients like OpenClaw send input_text content blocks (a Responses API type) through /v1/messages. The Claude-to-OpenAI converter silently drops unknown types, so the message arrives empty at the upstream, causing "Invalid value: 'input_text'" errors. Map input_text to text since they share the same structure.