mirror of
https://github.com/lobehub/lobehub
synced 2026-04-21 17:47:27 +00:00
* 🐛 fix(fetch-sse): stop injecting contextBody into structured provider errors Structured errors (ProviderBizError etc.) already contain complete context. Spreading contextBody into their body overwrites fields like `provider` and pollutes the error structure that downstream renderers depend on. Fixes #13476 Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> * ✅ test(fetch-sse): add regression test for structured error body pollution Ensures structured provider errors (e.g. ProviderBizError) are passed through unchanged without contextBody injection, and that contextBody is only applied to unknown/unstructured errors. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com> --------- Co-authored-by: Claude Opus 4.6 (1M context) <noreply@anthropic.com> |
||
|---|---|---|
| .. | ||
| src | ||
| package.json | ||