Wires the deployment's Claude Max login (OAuth token from $CLAUDE_CREDENTIALS_PATH) into ClaudeBrain/ClaudeVision. OAuth tokens authenticate as Bearer (auth_token=), not x-api-key, and only answer when the first system block is the Claude Code identity string, so the real persona moves to a second system block. Token is re-read per request so a host-side refresh is picked up without a restart. Falls back to ANTHROPIC_API_KEY when set. Verified: WSAI_BRAIN=claude returns a real Korean reply through the factory; 7 smoke tests still pass. Co-Authored-By: Claude Opus 4.7 <noreply@anthropic.com>
5.6 KiB
5.6 KiB