92 Commits

Author SHA1 Message Date
Pawan Osman e02bc493a1 Update README.md 2024-08-23 18:25:51 +03:00
Pawan Osman b6148f5b5e Update README.md 2024-08-23 18:25:34 +03:00
Pawan Osman 46043c6851 Update error response and logs 2024-04-22 14:01:24 +03:00
Pawan Osman d9a36a890d Merge pull request #106 from m00nfly/main
Add access authentication by api_key
2024-04-22 13:56:32 +03:00
m00nfly 4729671c01 Merge branch 'main' of https://github.com/m00nfly/ChatGPT into main 2024-04-21 16:53:20 +08:00
Pawan Osman 4d10b10d9e Add: verification client api_key access function
set API_KEY in .env file to enable this function
Unsetting or setting API_KEY to null will keep the default of allowing anonymous access.

Changes to be committed:
	modified:   .env.example
	modified:   src/app.ts
2024-04-21 16:26:11 +08:00
Pawan Osman 21dc6ef01f Fix: return when failed to getNewSession, add 5 times retry to getNewSession 2024-04-20 23:33:22 +03:00
Pawan Osman deacb3b418 Comment error logs 2024-04-20 22:44:07 +03:00
Pawan Osman e8a7f795dd Fix: adding proof-token header to bypass the new OpenAI request validation 2024-04-20 22:39:21 +03:00
Pawan Osman da84287823 Add: more error handling 2024-04-20 02:58:18 +03:00
Pawan Osman b77b7ff02f Merge pull request #96 from MahdeenSky/fixed_notfounderror
Fix: The "file" argument must be of type string. (Cloudflared)
2024-04-19 11:00:44 +03:00
MahdeenSky 6a536cf10b fixed file error now works locally 2024-04-18 18:38:15 -04:00
Pawan Osman a44d20b27a Update Dockerfile 2024-04-15 09:41:39 +03:00
Pawan Osman 9235d190c6 Add: cloudflared tunnel 2024-04-14 21:05:48 +03:00
Pawan Osman 11908a2dda Update start.sh 2024-04-14 18:34:19 +03:00
Pawan Osman d1a817c94d Update Dockerfile 2024-04-14 18:29:59 +03:00
Pawan Osman d8f0f2cea0 Update Dockerfile 2024-04-14 14:22:21 +03:00
Pawan Osman 0ae934f89d Update Dockerfile 2024-04-14 14:20:17 +03:00
Pawan Osman 9fc6df667a Merge pull request #91 from Crescent617/fix_created
Fix response timestamp
2024-04-14 14:12:42 +03:00
Crescent617 05ce427362 fix: created should be in seconds, https://github.com/openai/openai-openapi/blob/master/openapi.yaml\#L6972 2024-04-14 17:39:34 +08:00
Pawan Osman 7d87f1f579 Merge pull request #85 from k8scat/main
optimize: copy source code in Dockerfile
2024-04-11 15:47:03 +03:00
Pawan Osman b74c115311 Add: HTTP Proxy option, which can be configured using the .env file. 2024-04-11 15:43:08 +03:00
K8sCat b0bed1ed53 optimize: copy source code in Dockerfile
Signed-off-by: K8sCat <k8scat@gmail.com>
2024-04-11 10:17:09 +08:00
Pawan Osman d6f5a0918a Update README.md 2024-04-10 11:15:43 +03:00
Pawan Osman b2e81e6e9b Update app.ts 2024-04-10 09:53:51 +03:00
Pawan Osman 31f58b8955 Update README.md 2024-04-10 09:46:19 +03:00
Pawan Osman 19a0bcecf7 Update README.md 2024-04-10 09:46:00 +03:00
Pawan Osman 20788195cf Update README.md 2024-04-10 09:16:01 +03:00
Pawan Osman 7e089b6be1 Update bettergpt-docker-publish.yml 2024-04-10 09:07:46 +03:00
Pawan Osman 6708430e16 Update README.md 2024-04-10 08:59:13 +03:00
Pawan Osman 4ed40b848f Rename dockerfile to Dockerfile 2024-04-10 08:47:52 +03:00
Pawan Osman cda3eb5257 Create bettergpt-docker-publish.yml 2024-04-10 08:47:25 +03:00
Pawan Osman 86fd0df683 Add: Docker Compose installations with third-party chat web interfaces. 2024-04-10 08:43:14 +03:00
Pawan Osman 282509ca10 Update error message to include the requested endpoint in app.ts 2024-04-10 07:11:33 +03:00
Pawan Osman 889b121e27 Add: The Discord community note. 2024-04-08 01:16:09 +03:00
Pawan Osman 4c68f7107c Fix finish_reason and usage values 2024-04-08 01:00:03 +03:00
Pawan Osman 846071b226 Merge pull request #78 from cliouo/main
fix: 🐛 Heartbeat data skipped every 15
2024-04-08 00:13:03 +03:00
cliouo f4fd7cd10f fix: 🐛 Heartbeat data skipped every 15
Fix axios library does not support http2 heartbeat data causing errors, manually skip the time string of heartbeat data
2024-04-08 04:39:16 +08:00
Pawan Osman c805729ac8 Merge pull request #77 from Alioth1017/main
feat: update the chagpt apiUrl.
2024-04-07 20:09:26 +03:00
Alioth 5e2c7bf669 feat: update the chagpt apiUrl. 2024-04-08 01:00:06 +08:00
Pawan Osman 09a8207c20 Merge pull request #74 from changchiyou/chore/update_docker_publish_github_action
feat: docker image support multi-platforms(linux/amd64, linux/arm64)
2024-04-07 19:35:26 +03:00
changchiyou 833a255612 feat: support multi-platforms(linux/amd64, linux/arm64)
(before only support linux/amd/64); refer to https://docs.docker.com/build/ci/github-actions/multi-platform/ ; style with `trunk: yamllink@1.35.1`
2024-04-06 19:22:10 +08:00
Pawan Osman 6cbb737073 Update README.md 2024-04-05 17:31:14 +03:00
Pawan Osman c59cd22e0a Update README.md 2024-04-05 17:26:30 +03:00
Pawan Osman 84ddba03a2 Update README.md 2024-04-05 17:25:43 +03:00
Pawan Osman 20edfbef1b Update docker-publish.yml 2024-04-05 17:11:51 +03:00
Pawan Osman 03a7441c05 Create docker-publish.yml 2024-04-05 17:10:32 +03:00
Pawan Osman d85b04f70a Delete .github/workflows/docker-image.yml 2024-04-05 17:09:07 +03:00
Pawan Osman ed64314196 Create docker-image.yml 2024-04-05 17:05:16 +03:00
Pawan Osman ed9cbcfd0e Create Dockerfile 2024-04-05 16:55:37 +03:00