Skip to content

Commit ec26a91

Browse files
friedmud0xToshii
andauthored
Increase the number of retries for Bedrock. Refs RooCodeInc#213 (RooCodeInc#4114)
* Increase the number of retries for Bedrock. Refs RooCodeInc#213 * bump --------- Co-authored-by: 0xtoshii <[email protected]>
1 parent 6a11c78 commit ec26a91

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/api/providers/bedrock.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -96,7 +96,7 @@ export class AwsBedrockHandler implements ApiHandler {
9696
this.options = options
9797
}
9898

99-
@withRetry()
99+
@withRetry({ maxRetries: 4 })
100100
async *createMessage(systemPrompt: string, messages: Anthropic.Messages.MessageParam[]): ApiStream {
101101
// cross region inference requires prefixing the model id with the region
102102
const modelId = await this.getModelId()

0 commit comments

Comments
 (0)