diff --git a/src/anthropic/_files.py b/src/anthropic/_files.py index dce2f5a25..532a76945 100644 --- a/src/anthropic/_files.py +++ b/src/anthropic/_files.py @@ -34,7 +34,7 @@ def assert_is_file_content(obj: object, *, key: str | None = None) -> None: if not is_file_content(obj) and not is_tuple_t(obj): prefix = f"Expected entry at `{key}`" if key is not None else f"Expected file input `{obj!r}`" raise RuntimeError( - f"{prefix} to be bytes, an io.IOBase instance, PathLike or a tuple but received {type(obj)} instead. See https://github.com/anthropics/anthropic-sdk-python/tree/main#file-uploads" + f"{prefix} to be bytes, an io.IOBase instance, PathLike or a tuple but received {type(obj)} instead. See https://platform.claude.com/docs/en/cli-sdks-libraries/sdks/python#file-uploads" ) from None