Merge branch 'main' into test-dev
This commit is contained in:
26
README.md
26
README.md
@@ -297,6 +297,32 @@ go generate ./cmd/server
|
||||
|
||||
---
|
||||
|
||||
## Antigravity Support
|
||||
|
||||
Sub2API supports [Antigravity](https://antigravity.so/) accounts. After authorization, dedicated endpoints are available for Claude and Gemini models.
|
||||
|
||||
### Dedicated Endpoints
|
||||
|
||||
| Endpoint | Model |
|
||||
|----------|-------|
|
||||
| `/antigravity/v1/messages` | Claude models |
|
||||
| `/antigravity/v1beta/` | Gemini models |
|
||||
|
||||
### Claude Code Configuration
|
||||
|
||||
```bash
|
||||
export ANTHROPIC_BASE_URL="http://localhost:8080/antigravity"
|
||||
export ANTHROPIC_AUTH_TOKEN="sk-xxx"
|
||||
```
|
||||
|
||||
### Hybrid Scheduling Mode
|
||||
|
||||
Antigravity accounts support optional **hybrid scheduling**. When enabled, the general endpoints `/v1/messages` and `/v1beta/` will also route requests to Antigravity accounts.
|
||||
|
||||
> **⚠️ Warning**: Anthropic Claude and Antigravity Claude **cannot be mixed within the same conversation context**. Use groups to isolate them properly.
|
||||
|
||||
---
|
||||
|
||||
## Project Structure
|
||||
|
||||
```
|
||||
|
||||
Reference in New Issue
Block a user