Skip to content

Commit

Permalink
pull from anthropic docker image; remove forked code
Browse files Browse the repository at this point in the history
  • Loading branch information
Abhishekbhagwat committed Oct 29, 2024
1 parent 552eb25 commit c8ea058
Show file tree
Hide file tree
Showing 41 changed files with 113 additions and 2,826 deletions.
105 changes: 0 additions & 105 deletions partner-models/claude/computer-use-demo/Dockerfile

This file was deleted.

7 changes: 0 additions & 7 deletions partner-models/claude/computer-use-demo/LICENSE

This file was deleted.

2 changes: 1 addition & 1 deletion partner-models/claude/computer-use-demo/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
This repository helps you get started with computer use on Claude, with reference implementations of:

* Build files to create a Docker container with all necessary dependencies
* A computer use agent loop using the Anthropic API, Bedrock, or Vertex to access the updated Claude 3.5 Sonnet model
* A computer use agent loop using the Vertex AI and GKE to access the updated Claude 3.5 Sonnet model
* Anthropic-defined computer use tools
* A streamlit app for interacting with the agent loop

Expand Down
20 changes: 14 additions & 6 deletions partner-models/claude/computer-use-demo/cloudbuild.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -37,18 +37,26 @@ steps:
--quiet
fi
- id: 'build-push-image'
- id: 'pull-tag-push-image'
name: 'gcr.io/cloud-builders/docker'
waitFor: ['setup-artifact-registry']
entrypoint: 'bash'
args:
- 'build'
- '-t'
- '${_REGION}-docker.pkg.dev/${PROJECT_ID}/${_ARTIFACT_REGISTRY_ID}/${_IMAGE_NAME}:${_IMAGE_TAG}'
- '.'
- '-c'
- |
# Pull the prebuilt image
docker pull ghcr.io/anthropics/anthropic-quickstarts:computer-use-demo-latest
# Tag for Artifact Registry
docker tag ghcr.io/anthropics/anthropic-quickstarts:computer-use-demo-latest \
${_REGION}-docker.pkg.dev/${PROJECT_ID}/${_ARTIFACT_REGISTRY_ID}/${_IMAGE_NAME}:${_IMAGE_TAG}
# Push to Artifact Registry
docker push ${_REGION}-docker.pkg.dev/${PROJECT_ID}/${_ARTIFACT_REGISTRY_ID}/${_IMAGE_NAME}:${_IMAGE_TAG}
- id: 'setup-k8s-iam'
name: 'gcr.io/google.com/cloudsdktool/cloud-sdk'
waitFor: ['build-push-image']
waitFor: ['pull-tag-push-image']
entrypoint: 'bash'
args:
- '-c'
Expand Down
Empty file.
Loading

0 comments on commit c8ea058

Please sign in to comment.