From 9349f2c8d14aa4cd5fd942a89815dfbe5be4d91d Mon Sep 17 00:00:00 2001 From: nightcityblade Date: Thu, 23 Apr 2026 11:16:20 +0800 Subject: [PATCH] fix: update long request docs link --- src/anthropic/_base_client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/anthropic/_base_client.py b/src/anthropic/_base_client.py index 02122c53..303407d9 100644 --- a/src/anthropic/_base_client.py +++ b/src/anthropic/_base_client.py @@ -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,