Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Move to Anthropic SDK for AWS Bedrock and Vertex #4513

Open
2 tasks done
chezsmithy opened this issue Mar 6, 2025 · 0 comments
Open
2 tasks done

Move to Anthropic SDK for AWS Bedrock and Vertex #4513

chezsmithy opened this issue Mar 6, 2025 · 0 comments
Assignees
Labels
area:configuration Relates to configuration options kind:enhancement Indicates a new feature request, imrovement, or extension "needs-triage"

Comments

@chezsmithy
Copy link
Contributor

chezsmithy commented Mar 6, 2025

Validations

  • I believe this is a way to improve. I'll try to join the Continue Discord for questions
  • I'm not able to find an open issue that requests the same enhancement

Problem

I've been looking at how other AI code assistant tools seem to very quickly add support for the latest anthropic features on AWS Bedrock and have noted they are using a library provided by anthropic to accelerate their feature support. Continue is using the converse API from AWS which regularily seems to lag behind what Anthropic is offering, and it is difficult to translate the features from anthropic documentation to make it work reliably. For example, Prompt caching for AWS bedrock is in preview but we are still waiting for AWS to update the Javascript SDK to even support the features. Similar issue for thinking tags support. Finally, the tag names and use of tools as a message type are also not supported, and require extensive translation debugging etc.

Solution

I'd like to recommend we build a new provider called bedrock-anthropic that uses this SDK as the base of it's support: @anthropic-ai/bedrock-sdk.

https://www.npmjs.com/package/@anthropic-ai/bedrock-sdk
https://github.com/anthropics/anthropic-sdk-typescript/tree/main/packages/bedrock-sdk

Note, we may also want to consider using the anthropic ADK for vertex as well:

https://github.com/anthropics/anthropic-sdk-typescript/tree/main/packages/vertex-sdk

@dosubot dosubot bot added area:configuration Relates to configuration options kind:enhancement Indicates a new feature request, imrovement, or extension labels Mar 6, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area:configuration Relates to configuration options kind:enhancement Indicates a new feature request, imrovement, or extension "needs-triage"
Projects
None yet
Development

No branches or pull requests

2 participants