Closed
Description
Problem Statement
The strands BedrockModel class currently only supports the converseStream
API when calling models. Certain models only support the non-streaming converse
API (see "Streaming Supported" column). This model providers should support both streaming and non streaming models.
Proposed Solution
No response
Use Case
from strands import Agent
from strands.models.bedrock import Bedrock Model
model = BedrockModel(model_id="cohere.rerank-v3-5:0", streaming=False)
agent = Agent(model=model)
agent("Hello!")
### Alternatives Solutions
_No response_
### Additional Context
_No response_