Open florianjuengermann opened 3 months ago
Thanks for raising this, we'll take a look soon.
Any updates on this?
Sorry we let this slip. I actually think that with AWS's auth system, we won't be able to support bedrock on edge runtimes, but we'll take a look soon and let you know.
When using the
@anthropic-ai/bedrock-sdk
in nextjs/vercel edge functions, it fails withAccording to the anthropic bedrock-sdk readme, Vercel edge functions are supported.
But in bedrock-sdk/src/auth.ts#L3
fromNodeProviderChain
is imported from@aws-sdk/credential-providers
which according to their readme, is "Not available in browsers & native apps" and therefore probably not available in the edge runtime.Are there any trick to get it to run in the edge runtime?