Skip to content

Commit

Permalink
feat: allow user disable openai API debug log (Chanzhaoyu#1041)
Browse files Browse the repository at this point in the history
* feat: allow user disable openai API debug log

* chore: fix pnpm lock
  • Loading branch information
zcong1993 authored and HalfCoke committed Jul 6, 2023
1 parent 01653fe commit 72ef743
Show file tree
Hide file tree
Showing 5 changed files with 1,799 additions and 1,740 deletions.
1 change: 1 addition & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -161,6 +161,7 @@ pnpm dev
- `OPENAI_API_KEY``OPENAI_ACCESS_TOKEN` 二选一
- `OPENAI_API_MODEL` 设置模型,可选,默认:`gpt-3.5-turbo`
- `OPENAI_API_BASE_URL` 设置接口地址,可选,默认:`https://api.openai.com`
- `OPENAI_API_DISABLE_DEBUG` 设置接口关闭 debug 日志,可选,默认:empty 不关闭

`ACCESS_TOKEN` 可用:

Expand Down
Loading

0 comments on commit 72ef743

Please sign in to comment.