Files
gabrielvidalandClaude Opus 5.5 f70fa1335e feat(claudeproxy): the hub proxies workers' Claude calls on the lab's logins
/proxy/claude/<account>/v1/... (outside /api; Traefik serves it without
Authelia) names the worker by its proxy token, checks it may bill the
account, swaps in the lab login's access token and streams the reply. A
worker's claudeMode is proxy (new pairings) or own (its machine's login);
claudeAccounts are the hub accounts a proxied worker may bill. Each probe
pushes the config when the worker's fingerprint differs. Replies'
rate-limit headers feed the account's live usage %.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-02 19:06:41 +01:00

3 lines
116 B
Python

"""claudeproxy: the Anthropic API proxy in front of the lab's Claude logins,
for the workers — see service.py."""