Skip to content

feat(provider): support ANTHROPIC_BASE_URL for custom endpoint override#283

Open
kaijianding wants to merge 1 commit into
1jehuang:masterfrom
kaijianding:master
Open

feat(provider): support ANTHROPIC_BASE_URL for custom endpoint override#283
kaijianding wants to merge 1 commit into
1jehuang:masterfrom
kaijianding:master

Conversation

@kaijianding
Copy link
Copy Markdown

Allows routing Anthropic API requests through env ANTHROPIC_BASE_URL (e.g. http://127.0.0.1:3456/v1).
When set, the messages endpoint is derived from the env var instead of the hardcoded api.anthropic.com URL. OAuth vs non-OAuth path selection is preserved.

Allows routing Anthropic API requests through a local proxy by setting
ANTHROPIC_BASE_URL (e.g. http://127.0.0.1:3456/v1). When set, the
messages endpoint is derived from the env var instead of the hardcoded
api.anthropic.com URL. OAuth vs non-OAuth path selection is preserved.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
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