From 091f2b4851aba597a5f47e1d0532ad3cf071b32d Mon Sep 17 00:00:00 2001 From: Antonio Cheong Date: Fri, 7 Jul 2023 05:24:26 +0000 Subject: [PATCH 1/2] Update README_CN.md --- README_CN.md | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/README_CN.md b/README_CN.md index 6cb47e8..bf853c4 100644 --- a/README_CN.md +++ b/README_CN.md @@ -17,9 +17,7 @@ ### 获取PUID -PUID,就是Personal User ID。这是这个项目中一个特色,其他项目没遇到需要这个的,不过还是弄一下吧。(可能直接访问官网才要,使用或搭建的绕过WAF的代理不需要,目前第三方代理源已经可以自带绕过WAF) - -获取链接是 https://chat.openai.com/api/auth/session 打开这个URL会得到一个JSON,最前面的 ```{"user":{"id":"user-XXXX","name":"XXXX","email":"XXX",``` 这里面的 user.id 就是我要的PUID(至少我的实践是这个,我并没有找到作者具体的说明)(有可能需要PLUS用户权限,作者的说明是用于绕过CloudFlare的速率限制) +`_puid` cookie. ### 获取Access Token 目前有多种方法和原理,这部分内容可以参考 [TOKEN中文手册](docs/TOKEN_CN.md) From 2efff465a8b4802eec103c856b0e0d8f4e8db109 Mon Sep 17 00:00:00 2001 From: Antonio Cheong Date: Fri, 7 Jul 2023 15:01:34 +0000 Subject: [PATCH 2/2] Update docker-compose.yml --- docker-compose.yml | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/docker-compose.yml b/docker-compose.yml index c410aad..4e022d3 100644 --- a/docker-compose.yml +++ b/docker-compose.yml @@ -11,8 +11,5 @@ services: SERVER_HOST: 0.0.0.0 SERVER_PORT: 8080 ADMIN_PASSWORD: TotallySecurePassword - # Reverse Proxy - Available on accessToken - API_REVERSE_PROXY: https://bypass.churchless.tech/api/conversation - # If the parameter API_REVERSE_PROXY is empty, the default request URL is https://chat.openai.com/backend-api/conversation, and the PUID is required. - # You can get your PUID for Plus account from the following link: https://chat.openai.com/api/auth/session. + # If the parameter API_REVERSE_PROXY is empty, the default request URL is https://chat.openai.com/backend-api/conversation, and the PUID is equired. PUID: xxx