Skip to content

fix(evolution): support OAuth tokens for LLM judge auth#10

Closed
electronicBlacksmith wants to merge 1 commit intomainfrom
fix/oauth-judge-auth
Closed

fix(evolution): support OAuth tokens for LLM judge auth#10
electronicBlacksmith wants to merge 1 commit intomainfrom
fix/oauth-judge-auth

Conversation

@electronicBlacksmith
Copy link
Copy Markdown
Owner

Summary

  • resolveJudgeMode(), getClient(), and isJudgeAvailable() now check ANTHROPIC_AUTH_TOKEN and CLAUDE_CODE_OAUTH_TOKEN in addition to ANTHROPIC_API_KEY
  • Enables LLM judges (critique, consolidation, evolution validation) on Max subscription deployments that use OAuth bearer tokens instead of API keys
  • Fork-only change - not intended for upstream

Test plan

  • bun run typecheck clean
  • bun run lint clean
  • 47 judge tests pass
  • Deployed to container, logs confirm: [evolution] LLM judges enabled (API key detected)

resolveJudgeMode() and judge client now check ANTHROPIC_AUTH_TOKEN and
CLAUDE_CODE_OAUTH_TOKEN in addition to ANTHROPIC_API_KEY. Enables LLM
judges on Max subscription deployments using OAuth bearer tokens.
@electronicBlacksmith
Copy link
Copy Markdown
Owner Author

Superseded by #14 (consolidated clean branch)

@electronicBlacksmith electronicBlacksmith deleted the fix/oauth-judge-auth branch April 6, 2026 23:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant