Documentation Index
Fetch the complete documentation index at: https://mintlify.com/badrisnarayanan/antigravity-claude-proxy/llms.txt
Use this file to discover all available pages before exploring further.
Running Tests
Run the complete test suite:Individual Test Suites
You can run specific test suites individually:Test Coverage
The test suite covers:- Thinking Signatures: Validates thinking block signatures for Claude and Gemini models
- Multi-turn Conversations: Tests tool use and multi-turn dialogue flows
- Streaming: Verifies Server-Sent Events (SSE) streaming functionality
- Interleaved Thinking: Tests thinking blocks interspersed with content
- Image Processing: Validates image input handling and conversion
- Prompt Caching: Tests cache_read_input_tokens and session ID continuity
- Account Strategies: Unit tests for sticky, round-robin, and hybrid strategies
- Cache Control: Ensures cache_control fields are properly stripped from requests
- Cross-Model Switching: Validates signature handling when switching between Claude and Gemini
- OAuth: Tests headless OAuth flow with manual code input
Test Architecture
- Tests are CommonJS files (
.cjs) located in thetests/directory - They make HTTP requests to the local proxy server
- Shared test utilities are in
tests/helpers/http-client.cjs - Test runner supports filtering:
node tests/run-all.cjs <filter>