Skip to content

Commit

Permalink
chore(docs): fix github links (#719)
Browse files Browse the repository at this point in the history
  • Loading branch information
stainless-bot committed Nov 8, 2023
1 parent 86b263f commit a816967
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -410,7 +410,7 @@ completion = response.parse() # get the object that `chat.completions.create()`
print(completion)
```

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

### Configuring the HTTP client

Expand Down
2 changes: 1 addition & 1 deletion src/openai/_files.py
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ def assert_is_file_content(obj: object, *, key: str | None = None) -> None:
if not is_file_content(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/openai/openai-python#file-uploads"
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"
) from None


Expand Down

0 comments on commit a816967

Please sign in to comment.