Merge pull request #339 from ramarivera/feat/custom-anthropic-endpoint

feat: support ANTHROPIC_BASE_URL and ANTHROPIC_AUTH_TOKEN for custom endpoints
This commit is contained in:
Web Dev Cody
2026-01-14 10:09:56 -05:00
committed by GitHub
2 changed files with 91 additions and 0 deletions

View File

@@ -22,6 +22,8 @@ import type {
// Only these vars are passed - nothing else from process.env leaks through.
const ALLOWED_ENV_VARS = [
'ANTHROPIC_API_KEY',
'ANTHROPIC_BASE_URL',
'ANTHROPIC_AUTH_TOKEN',
'PATH',
'HOME',
'SHELL',