Merge pull request #24 from anthropics/update-to-use-model-parameter

Update to use model parameter in claude-code-base-action
This commit is contained in:
Lina Tawfik
2025-05-22 09:19:03 -07:00
committed by GitHub
4 changed files with 2 additions and 2 deletions

BIN
.DS_Store vendored Normal file

Binary file not shown.

View File

@@ -348,7 +348,7 @@ Both AWS Bedrock and GCP Vertex AI require OIDC authentication.
- uses: anthropics/claude-code-action@beta
with:
anthropic_model: "claude-3-7-sonnet@20250219"
model: "claude-3-7-sonnet@20250219"
use_vertex: "true"
# ... other inputs

View File

@@ -101,7 +101,7 @@ runs:
allowed_tools: ${{ env.ALLOWED_TOOLS }}
disallowed_tools: ${{ env.DISALLOWED_TOOLS }}
timeout_minutes: ${{ inputs.timeout_minutes }}
anthropic_model: ${{ inputs.model || inputs.anthropic_model }}
model: ${{ inputs.model || inputs.anthropic_model }}
mcp_config: ${{ steps.prepare.outputs.mcp_config }}
use_bedrock: ${{ inputs.use_bedrock }}
use_vertex: ${{ inputs.use_vertex }}

BIN
src/.DS_Store vendored Normal file

Binary file not shown.