Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion src/anthropic/_base_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -735,7 +735,7 @@ def _calculate_nonstreaming_timeout(self, max_tokens: int, max_nonstreaming_toke
if expected_time > default_time or (max_nonstreaming_tokens and max_tokens > max_nonstreaming_tokens):
raise ValueError(
"Streaming is required for operations that may take longer than 10 minutes. "
+ "See https://github.com/anthropics/anthropic-sdk-python#long-requests for more details",
+ "See https://docs.anthropic.com/en/api/errors#long-requests for more details",
)
return Timeout(
default_time,
Expand Down