Skip to content

fix: repoint outdated long-requests doc link in streaming-required error#1443

Open
abhicris wants to merge 1 commit intoanthropics:mainfrom
abhicris:fix/long-requests-doc-link
Open

fix: repoint outdated long-requests doc link in streaming-required error#1443
abhicris wants to merge 1 commit intoanthropics:mainfrom
abhicris:fix/long-requests-doc-link

Conversation

@abhicris
Copy link
Copy Markdown

Closes #1430.

The Streaming is required for operations that may take longer than 10 minutes. ValueError raised in src/anthropic/_base_client.py points users at:

https://github.com/anthropics/anthropic-sdk-python#long-requests

That README heading was removed in 0e40921 — the link 404s.

The same project already references the canonical location for this guidance — https://docs.anthropic.com/en/api/errors#long-requests — from src/anthropic/_exceptions.py:90 (the timeout error). This PR adopts the same URL in the streaming-required error so users hitting either path land on the same page.

Single-line change. No behavior change.


Contributed by kcolbchain.

…ror (closes anthropics#1430)

The 'Streaming is required' ValueError pointed at
https://github.com/anthropics/anthropic-sdk-python#long-requests, a README
heading removed in 0e40921. The same project already references the canonical
location for this guidance — https://docs.anthropic.com/en/api/errors#long-requests
— from src/anthropic/_exceptions.py:90 (the timeout error). Adopt the same URL
here so users hitting either path land on the same page.
@abhicris abhicris requested a review from a team as a code owner April 25, 2026 09:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

API "Streaming is required" error message is outdated

1 participant