APIBypass v0.5.2
What's New
Claude Code Compatibility
- Strip
cchbilling headers: automatically removescchrequest identifiers from headers to prevent billing conflicts when using Claude Code with non-Anthropic providers - CLAUDE_CODE_ATTRIBUTION_HEADER toggle: new control in the Claude Code launcher to enable or disable the
CLAUDE_CODE_ATTRIBUTION_HEADERenvironment variable
OpenAI Responses API Support
- Added proxy support for the OpenAI Responses API endpoint (
/v1/responses) - Responses API format is handled alongside Chat Completions for seamless integration
Bug Fixes & Improvements
- Fixed URL building: proxy now correctly constructs upstream URLs for providers with non-standard paths (e.g.,
/v3) - Fixed streaming error responses: upstream errors during SSE streaming are now returned in proper SSE format with correct
data:prefix and newline termination - Build warnings cleaned up: removed unused variable initialization
Changelog
- feat: add OpenAI Responses API (
/v1/responses) proxy support - feat: add RectifierModels for Claude Code billing header handling
- feat: strip
cchbilling headers in HTTPServer - feat: add CLAUDE_CODE_ATTRIBUTION_HEADER toggle in Claude Code launcher
- fix: upstream URL building for providers with non-
/v1paths - fix: SSE streaming error response format
- chore: remove unused
baseURLStringvariable - docs: update README and README_CN with v0.5.2 features
Download
Build from Source
git clone https://github.com/panando/APIBypass.git
cd APIBypass
git checkout v0.5.2
./build-app.sh
./build-dmg.shRequirements: macOS 14.0+, Swift 6.0+, Xcode 16.0+