diff --git a/Cargo.toml b/Cargo.toml index 106de8ed0..646b4718d 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "ninja" -version = "0.8.0" +version = "0.8.1" edition = "2021" description = "Reverse engineered ChatGPT proxy" license = "GPL-3.0" diff --git a/README.md b/README.md index 17ddcacd5..2fe3ce2f7 100644 --- a/README.md +++ b/README.md @@ -46,7 +46,7 @@ Sending `GPT-4/GPT-3.5/Creating API-Key` dialog requires sending `Arkose Token` - Both solutions are used, the priority is: `HAR` > `YesCaptcha` / `CapSolver` - `YesCaptcha` / `CapSolver` is recommended to be used with HAR. When the verification code is generated, the parser is called for processing. After verification, HAR is more durable. -> Currently OpenAI has updated `Login` which requires verification of `Arkose Token`. The solution is the same as `GPT-4`. Fill in the startup parameters and specify the HAR file `--arkose-auth-har-dir`. If you don't want to upload, you can log in through the browser code, which is not required. To create an API-Key, you need to upload the HAR feature file related to the Platform. The acquisition method is the same as above. +> Currently OpenAI has updated `Login` which requires verification of `Arkose Token`. The solution is the same as `GPT-4`. Fill in the startup parameters and specify the HAR file `--arkose-auth-har-dir`. To create an API-Key, you need to upload the HAR feature file related to the Platform. The acquisition method is the same as above. > Recently, `OpenAI` has canceled the `Arkose` verification for `GPT-3.5`. It can be used without uploading HAR feature files (uploaded ones will not be affected). After compatibility, `Arkose` verification may be turned on again, and startup parameters need to be added. `--arkose-gpt3-experiment` enables the `GPT-3.5` model `Arkose` verification processing, and the WebUI is not affected. @@ -122,8 +122,8 @@ Sending `GPT-4/GPT-3.5/Creating API-Key` dialog requires sending `Arkose Token` Making [Releases](https://github.com/gngpp/ninja/releases/latest) has a precompiled deb package, binaries, in Ubuntu, for example: ```shell -wget https://github.com/gngpp/ninja/releases/download/v0.8.0/ninja-0.8.0-x86_64-unknown-linux-musl.tar.gz -tar -xf ninja-0.8.0-x86_64-unknown-linux-musl.tar.gz +wget https://github.com/gngpp/ninja/releases/download/v0.8.1/ninja-0.8.1-x86_64-unknown-linux-musl.tar.gz +tar -xf ninja-0.8.1-x86_64-unknown-linux-musl.tar.gz ./ninja run ``` @@ -132,11 +132,11 @@ tar -xf ninja-0.8.0-x86_64-unknown-linux-musl.tar.gz There are pre-compiled ipk files in GitHub [Releases](https://github.com/gngpp/ninja/releases/latest), which currently provide versions of aarch64/x86_64 and other architectures. After downloading, use opkg to install, and use nanopi r4s as example: ```shell -wget https://github.com/gngpp/ninja/releases/download/v0.8.0/ninja_0.8.0_aarch64_generic.ipk -wget https://github.com/gngpp/ninja/releases/download/v0.8.0/luci-app-ninja_1.1.6-1_all.ipk -wget https://github.com/gngpp/ninja/releases/download/v0.8.0/luci-i18n-ninja-zh-cn_1.1.6-1_all.ipk +wget https://github.com/gngpp/ninja/releases/download/v0.8.1/ninja_0.8.1_aarch64_generic.ipk +wget https://github.com/gngpp/ninja/releases/download/v0.8.1/luci-app-ninja_1.1.6-1_all.ipk +wget https://github.com/gngpp/ninja/releases/download/v0.8.1/luci-i18n-ninja-zh-cn_1.1.6-1_all.ipk -opkg install ninja_0.8.0_aarch64_generic.ipk +opkg install ninja_0.8.1_aarch64_generic.ipk opkg install luci-app-ninja_1.1.6-1_all.ipk opkg install luci-i18n-ninja-zh-cn_1.1.6-1_all.ipk ``` diff --git a/README_zh.md b/README_zh.md index 355cc1261..ed3dbb60f 100644 --- a/README_zh.md +++ b/README_zh.md @@ -46,7 +46,7 @@ - 两种方案都使用,优先级是:`HAR` > `YesCaptcha` / `CapSolver` - `YesCaptcha` / `CapSolver`推荐搭配HAR使用,出验证码则调用解析器处理,验证后HAR使用更持久 -> 目前OpenAI已经更新`登录`需要验证`Arkose Token`,解决方式同`GPT-4`,填写启动参数指定HAR文件`--arkose-auth-har-dir`。不想上传,可以通过浏览器打码登录,非必需。创建API-Key需要上传Platform相关的HAR特征文件,获取方式同上。 +> 目前OpenAI已经更新`登录`需要验证`Arkose Token`,解决方式同`GPT-4`,填写启动参数指定HAR文件`--arkose-auth-har-dir`。创建API-Key需要上传Platform相关的HAR特征文件,获取方式同上。 > 近日,`OpenAI`取消对`GPT-3.5`进行`Arkose`验证,可以不上传HAR特征文件使用(已上传的不影响),兼容后续可能会再次开启`Arkose`验证,需要加上启动参数`--arkose-gpt3-experiment`进行开启`GPT-3.5`模型`Arkose`验证处理,WebUI不受影响. @@ -122,8 +122,8 @@ GitHub [Releases](https://github.com/gngpp/ninja/releases/latest) 中有预编译的 deb包,二进制文件,以Ubuntu为例: ```shell -wget https://github.com/gngpp/ninja/releases/download/v0.8.0/ninja-0.8.0-x86_64-unknown-linux-musl.tar.gz -tar -xf ninja-0.8.0-x86_64-unknown-linux-musl.tar.gz +wget https://github.com/gngpp/ninja/releases/download/v0.8.1/ninja-0.8.1-x86_64-unknown-linux-musl.tar.gz +tar -xf ninja-0.8.1-x86_64-unknown-linux-musl.tar.gz ./ninja run ``` @@ -132,11 +132,11 @@ tar -xf ninja-0.8.0-x86_64-unknown-linux-musl.tar.gz GitHub [Releases](https://github.com/gngpp/ninja/releases/latest) 中有预编译的 ipk 文件, 目前提供了 aarch64/x86_64 等架构的版本,下载后使用 opkg 安装,以 nanopi r4s 为例: ```shell -wget https://github.com/gngpp/ninja/releases/download/v0.8.0/ninja_0.8.0_aarch64_generic.ipk -wget https://github.com/gngpp/ninja/releases/download/v0.8.0/luci-app-ninja_1.1.6-1_all.ipk -wget https://github.com/gngpp/ninja/releases/download/v0.8.0/luci-i18n-ninja-zh-cn_1.1.6-1_all.ipk +wget https://github.com/gngpp/ninja/releases/download/v0.8.1/ninja_0.8.1_aarch64_generic.ipk +wget https://github.com/gngpp/ninja/releases/download/v0.8.1/luci-app-ninja_1.1.6-1_all.ipk +wget https://github.com/gngpp/ninja/releases/download/v0.8.1/luci-i18n-ninja-zh-cn_1.1.6-1_all.ipk -opkg install ninja_0.8.0_aarch64_generic.ipk +opkg install ninja_0.8.1_aarch64_generic.ipk opkg install luci-app-ninja_1.1.6-1_all.ipk opkg install luci-i18n-ninja-zh-cn_1.1.6-1_all.ipk ``` diff --git a/openai/Cargo.toml b/openai/Cargo.toml index 4a3930053..c1c9f5bea 100644 --- a/openai/Cargo.toml +++ b/openai/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "openai" -version = "0.8.0" +version = "0.8.1" edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html diff --git a/openwrt/ninja/Makefile b/openwrt/ninja/Makefile index e61834fe3..5077ea547 100644 --- a/openwrt/ninja/Makefile +++ b/openwrt/ninja/Makefile @@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk PKG_NAME:=ninja -PKG_VERSION:=0.8.0 +PKG_VERSION:=0.8.1 PKG_LICENSE:=MIT PKG_MAINTAINER:=gngpp diff --git a/serve.toml b/serve.toml index 9efe41014..2127d32cd 100755 --- a/serve.toml +++ b/serve.toml @@ -9,6 +9,7 @@ connect_timeout = 60 tcp_keepalive = 60 pool_idle_timeout = 90 disable_webui = false +arkose_gpt3_experiment = false arkose_solver = "yescaptcha" tb_enable = false tb_store_strategy = "mem"