We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When debug logging is enabled, FinalRequestOptions is entirely dumped because of the following code:
FinalRequestOptions
openai-python/src/openai/_base_client.py
Lines 436 to 437 in 3d61ed4
This includes the api-key header that would be great to avoid logging
api-key
No response
WSL
Python v3.9.18
openai v1.7.2
The text was updated successfully, but these errors were encountered:
Thanks for raising, we'll look into this.
Sorry, something went wrong.
Is thera any update concerning this issue?
Are there plans to fix this soon?
this was fixed in 1.54.3!
1.54.3
RobertCraigie
Successfully merging a pull request may close this issue.
Confirm this is an issue with the Python library and not an underlying OpenAI API
Describe the bug
When debug logging is enabled,
FinalRequestOptions
is entirely dumped because of the following code:openai-python/src/openai/_base_client.py
Lines 436 to 437 in 3d61ed4
This includes the
api-key
header that would be great to avoid loggingTo Reproduce
Code snippets
No response
OS
WSL
Python version
Python v3.9.18
Library version
openai v1.7.2
The text was updated successfully, but these errors were encountered: