Skip to content
New issue

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

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

Already on GitHub? # to your account

《OpenAI-Chat》のトレースログにAPI_KEYが出力される可能性を無くします #20

Closed
usagi opened this issue Oct 7, 2023 · 0 comments

Comments

@usagi
Copy link
Owner

usagi commented Oct 7, 2023

提案

実行時に流れる《OpenAI-Chat》のログにAPI KEYが含まれる可能性のある出力を無くします。

提案の背景

現在は実行時オプションの --debug または環境変数によるログレベルの設定または設定ファイル log_level の設定により Trace レベルが有効な場合にはAPIへのリクエストがトレースログで出力される場合があります。

ログにAPI KEYが表示されることで、実行画面を配信したり、スクリーンショットを撮影したりした際に、ユーザーさんがAPI KEYを意図せず漏出させてしまう可能性があります。そんなのはそのユーザーが間抜けなだけとも言えますが、私自身もうっかりその間抜けなユーザーにはなりたくありません。

@usagi usagi closed this as completed in 7b757dc Oct 7, 2023
usagi added a commit that referenced this issue Oct 7, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant