What to configure my own base url
Describe the bug A clear and concise description of what the bug is.
To Reproduce Steps to reproduce the behavior:
- Go to '...'
- Click on '....'
- Scroll down to '....'
- See error
Expected behavior A clear and concise description of what you expected to happen.
Screenshots If applicable, add screenshots to help explain your problem.
Workflow yml file If it's not sensitive, consider including a paste of your full Claude workflow.yml file.
API Provider
[ ] Anthropic First-Party API (default) [ ] AWS Bedrock [ ] GCP Vertex
Additional context Add any other context about the problem here.
Can you elaborate? You shouldn't need to configure a base url.
When I want to use some other model, I really need this
You can set the environment variable ANTHROPIC_BASE_URL in the action or in the step to overwrite the default base url
...
- name: Run Claude Code
id: claude
uses: anthropics/claude-code-action@v1
env:
ANTHROPIC_BASE_URL: ${{ vars.YOUR_BASE_URL }}
with:
claude_code_oauth_token: ${{ secrets.YOUR_API_KEY }}
...