mirror of
https://github.com/Nezumi-2711/9router.git
synced 2026-09-22 20:00:47 +00:00
Some providers (e.g. xiaomi-tokenplan -claude models) return OpenAI-format responses even when request was translated to Claude. Early-return now detects choices[]. Also strip reasoning_content only when content is non-empty so thinking models keep their only output. Closes #1836 Co-authored-by: Cursor <cursoragent@cursor.com>