Stephen

Results 6 comments of Stephen

Could I please clarify if I have an arm64 docker image am I able today to run this on ECS Graviton2 in any way whatsoever? Even if I manually specify...

Thanks for the note @virtualgill ! Have fixed in #23

@samuelcolvin - a couple of points to add... The [Anthropic SDK currently supports Amazon Bedrock](https://github.com/anthropics/anthropic-sdk-python/blob/main/src/anthropic/lib/bedrock/_client.py) though the [InvokeModel API](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_InvokeModel.html) with a HTTPX client and boto3 for auth. Amazon Bedrock also...

Spot on @dmenini. As a workaround we can install `boto3` and pass an instance of `AsyncAnthropicBedrock` to the `AnthropicModel` like this ``` from anthropic import AsyncAnthropicBedrock from pydantic_ai.models.anthropic import AnthropicModel...

> > To call models through aws bedrock, some models can be invoked through [invoke_model](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_InvokeModel.html) and others with [converse](https://docs.aws.amazon.com/bedrock/latest/APIReference/API_runtime_Converse.html) (for example anthropic/sonnet can only be called with converse). That is...

> I had that problem recently on a project with AWS Bedrock and had to use the converse API instead of the invoke API for anthropic models. > > ![image_20250108_113423610a7e8d-38a8-4177-971d-110f5280a057.jpg](https://private-user-images.githubusercontent.com/64038800/401111115-a432db1a-5122-4ac2-aa4a-497db975835a.jpg?jwt=eyJhbGciOiJIUzI1NiIsInR5cCI6IkpXVCJ9.eyJpc3MiOiJnaXRodWIuY29tIiwiYXVkIjoicmF3LmdpdGh1YnVzZXJjb250ZW50LmNvbSIsImtleSI6ImtleTUiLCJleHAiOjE3MzYzMzc2MjksIm5iZiI6MTczNjMzNzMyOSwicGF0aCI6Ii82NDAzODgwMC80MDExMTExMTUtYTQzMmRiMWEtNTEyMi00YWMyLWFhNGEtNDk3ZGI5NzU4MzVhLmpwZz9YLUFtei1BbGdvcml0aG09QVdTNC1ITUFDLVNIQTI1NiZYLUFtei1DcmVkZW50aWFsPUFLSUFWQ09EWUxTQTUzUFFLNFpBJTJGMjAyNTAxMDglMkZ1cy1lYXN0LTElMkZzMyUyRmF3czRfcmVxdWVzdCZYLUFtei1EYXRlPTIwMjUwMTA4VDExNTUyOVomWC1BbXotRXhwaXJlcz0zMDAmWC1BbXotU2lnbmF0dXJlPTMyMjYxMDRjNzhjMGQwNTM3MGQzNjg0OTAxMTU5ZTk2MjJhYzUwOGUwODU0MWIyN2M2NmU3Mzg3Y2E1YzViNDImWC1BbXotU2lnbmVkSGVhZGVycz1ob3N0In0.x9NMHerxXBiaghf3-hf6P5Ja6tsYhGubTmOK1OEaAlU)...