feat: refactor chat backend
feat: introduce pre-commit hooks feat: send reply in thread fix: !gpt !chat API endpoint and API key validation logic
This commit is contained in:
parent
25fbd43a57
commit
7142045292
20 changed files with 610 additions and 600 deletions
10
.env.example
10
.env.example
|
@ -1,8 +1,6 @@
|
|||
SERVER_URL="xxxxx.xxxxxx.xxxxxxxxx"
|
||||
ACCESS_TOKEN="xxxxxxxxxxxxxxxxx"
|
||||
USERNAME="@chatgpt"
|
||||
OPENAI_API_KEY="sk-xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
||||
BING_AUTH_COOKIE="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
||||
PANDORA_API_ENDPOINT="http://pandora:8008"
|
||||
PANDORA_API_MODEL="text-davinci-002-render-sha-mobile"
|
||||
GPT_ENGINE="gpt-3.5-turbo"
|
||||
EMAIL="xxxxxx"
|
||||
PASSWORD="xxxxxxxxxxxxxx"
|
||||
OPENAI_API_KEY="xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"
|
||||
GPT_MODEL="gpt-3.5-turbo"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue