Skip to content

Commit

Permalink
docs(readme): fix misleading timeout example value (#489)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot authored May 3, 2024
1 parent 98fb3e6 commit b465bce
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -338,7 +338,7 @@ client = Anthropic(
)

# Override per-request:
client.with_options(timeout=5 * 1000).messages.create(
client.with_options(timeout=5.0).messages.create(
max_tokens=1024,
messages=[
{
Expand Down

0 comments on commit b465bce

Please sign in to comment.