Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion config/ccs/accounts.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"nickname": "shunkakinoki",
"tokenFile": "antigravity-shunkakinoki_gmail_com.json",
"createdAt": "2026-01-17T00:00:00.000Z",
"lastUsedAt": "2026-01-17T19:28:18.251Z",
"lastUsedAt": "2026-01-17T20:19:49.880Z",
"tier": "paid"
}
}
Expand Down
11 changes: 8 additions & 3 deletions config/cliproxyapi/config.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -39,9 +39,14 @@ ampcode:
upstream-url: "https://ampcode.com"
upstream-api-key: "__AMP_UPSTREAM_API_KEY__"
restrict-management-to-localhost: false
# model-mappings:
# - from: "requested-model-name"
# to: "local-model-name"
# Map non-prefixed model names to antigravity provider's gemini-prefixed models
model-mappings:
- from: "claude-opus-4-5-thinking"
to: "gemini-claude-opus-4-5-thinking"
- from: "claude-sonnet-4-5"
to: "gemini-claude-sonnet-4-5"
- from: "claude-sonnet-4-5-thinking"
to: "gemini-claude-sonnet-4-5-thinking"
# Gemini API keys (preferred)
# gemini-api-key:
# - api-key: "AIzaSy...01"
Expand Down
4 changes: 4 additions & 0 deletions home-manager/services/cliproxyapi/scripts/start.sh
Original file line number Diff line number Diff line change
Expand Up @@ -92,6 +92,10 @@ if [ -f "$TEMPLATE" ]; then
-e "s|^ upstream-url:|# upstream-url:|" \
-e "s|^ upstream-api-key:|# upstream-api-key:|" \
-e "s|^ restrict-management-to-localhost:|# restrict-management-to-localhost:|" \
-e "s|^ # Map non-prefixed|# # Map non-prefixed|" \
-e "s|^ model-mappings:|# model-mappings:|" \
-e "s|^ - from:|# - from:|" \
-e "s|^ to:|# to:|" \
"$CONFIG"
fi
fi
Expand Down
Loading