Keep provider-required streaming when client prefers JSON. The Accept: application/json branch no longer flips stream back to false for forceStream providers, fixing 400 errors on stream-only providers (e.g. Command Code) for Hermes / Claude Code / other JSON clients. Fixes #2031 Co-authored-by: Cursor <cursoragent@cursor.com> |
||
|---|---|---|
| .. | ||
| config | ||
| executors | ||
| handlers | ||
| providers | ||
| rtk | ||
| services | ||
| shared | ||
| transformer | ||
| translator | ||
| utils | ||
| .npmignore | ||
| AGENTS.md | ||
| index.js | ||