Skip to content

Commit 43f4f52

Browse files
stainless-botmegamanics
authored andcommitted
chore(docs): fix github links (openai#719)
1 parent 736e633 commit 43f4f52

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

Diff for: README.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -410,7 +410,7 @@ completion = response.parse() # get the object that `chat.completions.create()`
410410
print(completion)
411411
```
412412

413-
These methods return an [`APIResponse`](https://github.com/openai/openai-python/src/openai/_response.py) object.
413+
These methods return an [`APIResponse`](https://github.com/openai/openai-python/tree/main/src/openai/_response.py) object.
414414

415415
### Configuring the HTTP client
416416

Diff for: src/openai/_files.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ def assert_is_file_content(obj: object, *, key: str | None = None) -> None:
2929
if not is_file_content(obj):
3030
prefix = f"Expected entry at `{key}`" if key is not None else f"Expected file input `{obj!r}`"
3131
raise RuntimeError(
32-
f"{prefix} to be bytes, an io.IOBase instance, PathLike or a tuple but received {type(obj)} instead. See https://github.com/openai/openai-python#file-uploads"
32+
f"{prefix} to be bytes, an io.IOBase instance, PathLike or a tuple but received {type(obj)} instead. See https://github.com/openai/openai-python/tree/main#file-uploads"
3333
) from None
3434

3535

0 commit comments

Comments
 (0)