mirror of
https://github.com/router-for-me/CLIProxyAPI.git
synced 2026-09-09 01:20:13 +08:00
- Update OpenAI Responses conversion to map finish reasons (`length`/`max_tokens`/`content_filter`) to `response.incomplete` with proper `incomplete_details`. - Propagate `incomplete` status to response, message, and function/custom tool items in both streaming and non-stream paths. - Prevent premature completion of tool-call items when a stream ends without a terminal finish reason or with incomplete/partial tool arguments. Closes: #4873