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> |
||
|---|---|---|
| .. | ||
| nonStreamingHandler.js | ||
| requestDetail.js | ||
| sseToJsonHandler.js | ||
| streamingHandler.js | ||