Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add flag to include the cause in the exception str #137

Merged
merged 1 commit into from
Jan 6, 2023
Merged

Conversation

gdb
Copy link
Contributor

@gdb gdb commented Nov 10, 2022

No description provided.

…IConnectionError

Many libraries will only show the error string of the raised error,
not displaying its cause. Prior to this path, this would mean that
the many different kinds of connection errors get translated into a
single opaque "Error communicating with OpenAI".
borisdayma pushed a commit to borisdayma/openai-python that referenced this pull request Dec 7, 2022
* overload output type depending on stream literal (openai#142)

* Bump to v22

* [numpy] change version (openai#143)

* [numpy] change version

* update comments

* no version for numpy

* Fix timeouts (openai#137)

* Fix timeouts

* Rename to request_timeout and add to readme

* Dev/hallacy/request timeout takes tuples (openai#144)

* Add tuple typing for request_timeout

* imports

* [api_requestor] Log request_id with response (openai#145)

* Only import wandb as needed (openai#146)

Co-authored-by: Felipe Petroski Such <felipe@openai.com>
Co-authored-by: Henrique Oliveira Pinto <hponde@openai.com>
Co-authored-by: Rachel Lim <rachel@openai.com>
@hallacy hallacy merged commit 9678e15 into openai:main Jan 6, 2023
cgayapr pushed a commit to cgayapr/openai-python that referenced this pull request Dec 14, 2024
* overload output type depending on stream literal (openai#142)

* Bump to v22

* [numpy] change version (openai#143)

* [numpy] change version

* update comments

* no version for numpy

* Fix timeouts (openai#137)

* Fix timeouts

* Rename to request_timeout and add to readme

* Dev/hallacy/request timeout takes tuples (openai#144)

* Add tuple typing for request_timeout

* imports

* [api_requestor] Log request_id with response (openai#145)

* Only import wandb as needed (openai#146)

Co-authored-by: Felipe Petroski Such <felipe@openai.com>
Co-authored-by: Henrique Oliveira Pinto <hponde@openai.com>
Co-authored-by: Rachel Lim <rachel@openai.com>
cgayapr pushed a commit to cgayapr/openai-python that referenced this pull request Dec 14, 2024
…IConnectionError (openai#137)

Many libraries will only show the error string of the raised error,
not displaying its cause. Prior to this path, this would mean that
the many different kinds of connection errors get translated into a
single opaque "Error communicating with OpenAI".
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.

3 participants