Open-source contribution
Cartethyia
AI API Gateway
Merged
TypeScript · HTTP · JSON
- Problem
- AgentRouter responses passed through a relay with compressed JSON bodies and an unusual
text/plaincontent type. The reported failure wasAgentRouter returned invalid JSON.(HTTP 502). - Contribution
- Added
node:zlibdecoding for Brotli, gzip, and deflate, rebuilt the response without its content-encoding header, and added a text-to-JSON parsing fallback. Also addedclaude-opus-5andgpt-5.6-solcatalog entries. - Evidence
- Pull request #3, authored by Brilliancoder and merged upstream. The diff and discussion document the change.