Skip to content

Commit b47fb7d

Browse files
authored
Update retry_strategy documentation for turning off retries (#522)
Co-authored-by: Mackenzie Zastrow <zastrowm@users.noreply.github.com>
1 parent e89fa13 commit b47fb7d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

docs/user-guide/concepts/agents/retry-strategies.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,7 @@ To disable automatic retries entirely:
5353
from strands import Agent, ModelRetryStrategy
5454

5555
agent = Agent(
56-
retry_strategy=ModelRetryStrategy(max_attempts=1)
56+
retry_strategy=None
5757
)
5858
```
5959

0 commit comments

Comments
 (0)