simonw / llm-bedrock

Run prompts against models hosted on AWS Bedrock
Apache License 2.0
7 stars 0 forks source link

Error: 'BedrockRuntime' object has no attribute 'converse_stream' #6

Closed simonw closed 12 hours ago

simonw commented 12 hours ago

Got this after installing the plugin in an environment that already had an outdated version of boto3.

simonw commented 12 hours ago

Not sure which version of boto3 added that API so I'll pin to at least the very most recent: https://pypi.org/project/boto3/1.35.74/

Also that has at least one relevant change:

  • api-change:bedrock-runtime: [botocore] Added support for Async Invoke Operations Start, List and Get. Support for invocation logs with requestMetadata field in Converse, ConverseStream, Invoke and InvokeStream. Video content blocks in Converse/ConverseStream accept raw bytes or S3 URI.