Skip to content

Commit

Permalink
bump version to v0.9.2
Browse files Browse the repository at this point in the history
  • Loading branch information
0x676e67 committed Dec 4, 2023
1 parent d4105c6 commit c642da2
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 17 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ninja"
version = "0.9.1"
version = "0.9.2"
edition = "2021"
description = "Reverse engineered ChatGPT proxy"
license = "GPL-3.0"
Expand Down
14 changes: 7 additions & 7 deletions doc/readme.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@ If the project is helpful to you, please consider [donating support](https://git
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.9.1/ninja-0.9.1-x86_64-unknown-linux-musl.tar.gz
tar -xf ninja-0.9.1-x86_64-unknown-linux-musl.tar.gz
wget https://github.com/gngpp/ninja/releases/download/v0.9.2/ninja-0.9.2-x86_64-unknown-linux-musl.tar.gz
tar -xf ninja-0.9.2-x86_64-unknown-linux-musl.tar.gz
./ninja run
```

Expand All @@ -32,11 +32,11 @@ tar -xf ninja-0.9.1-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.9.1/ninja_0.9.1_aarch64_generic.ipk
wget https://github.com/gngpp/ninja/releases/download/v0.9.1/luci-app-ninja_1.1.6-1_all.ipk
wget https://github.com/gngpp/ninja/releases/download/v0.9.1/luci-i18n-ninja-zh-cn_1.1.6-1_all.ipk
wget https://github.com/gngpp/ninja/releases/download/v0.9.2/ninja_0.9.2_aarch64_generic.ipk
wget https://github.com/gngpp/ninja/releases/download/v0.9.2/luci-app-ninja_1.1.6-1_all.ipk
wget https://github.com/gngpp/ninja/releases/download/v0.9.2/luci-i18n-ninja-zh-cn_1.1.6-1_all.ipk

opkg install ninja_0.9.1_aarch64_generic.ipk
opkg install ninja_0.9.2_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
```
Expand Down Expand Up @@ -106,7 +106,7 @@ The platform performs verification code parsing, start the parameter `--arkose-s

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.
Recently, `OpenAI` has canceled the `Arkose` verification for `GPT-3.5`. It can be used without uploading the HAR feature file (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. If you encounter `418 I'm a teapot`, you can enable `--arkose-gpt3-experiment` and upload the `HAR` feature. If there is no `GPT-3.5` feature, you can also use `GPT-4` Used; or enable the parameter `--random-chrome-ua`.

### Http Server

Expand Down
14 changes: 7 additions & 7 deletions doc/readme_zh.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,8 +22,8 @@
GitHub [Releases](https://github.com/gngpp/ninja/releases/latest) 中有预编译的 deb包,二进制文件,以Ubuntu为例:

```shell
wget https://github.com/gngpp/ninja/releases/download/v0.9.1/ninja-0.9.1-x86_64-unknown-linux-musl.tar.gz
tar -xf ninja-0.9.1-x86_64-unknown-linux-musl.tar.gz
wget https://github.com/gngpp/ninja/releases/download/v0.9.2/ninja-0.9.2-x86_64-unknown-linux-musl.tar.gz
tar -xf ninja-0.9.2-x86_64-unknown-linux-musl.tar.gz
./ninja run
```

Expand All @@ -32,11 +32,11 @@ tar -xf ninja-0.9.1-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.9.1/ninja_0.9.1_aarch64_generic.ipk
wget https://github.com/gngpp/ninja/releases/download/v0.9.1/luci-app-ninja_1.1.6-1_all.ipk
wget https://github.com/gngpp/ninja/releases/download/v0.9.1/luci-i18n-ninja-zh-cn_1.1.6-1_all.ipk
wget https://github.com/gngpp/ninja/releases/download/v0.9.2/ninja_0.9.2_aarch64_generic.ipk
wget https://github.com/gngpp/ninja/releases/download/v0.9.2/luci-app-ninja_1.1.6-1_all.ipk
wget https://github.com/gngpp/ninja/releases/download/v0.9.2/luci-i18n-ninja-zh-cn_1.1.6-1_all.ipk

opkg install ninja_0.9.1_aarch64_generic.ipk
opkg install ninja_0.9.2_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
```
Expand Down Expand Up @@ -106,7 +106,7 @@ services:

目前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不受影响.
近日,`OpenAI`取消对`GPT-3.5`进行`Arkose`验证,可以不上传HAR特征文件使用(已上传的不影响),兼容后续可能会再次开启`Arkose`验证,需要加上启动参数`--arkose-gpt3-experiment`进行开启`GPT-3.5`模型`Arkose`验证处理,WebUI不受影响。如果遇到`418 I'm a teapot`,可以开启`--arkose-gpt3-experiment`,同时需要上传`HAR`特征,如果没有`GPT-3.5`的特征,使用`GPT-4`也是可以使用的;或者开启参数`--random-chrome-ua`

### Http 服务

Expand Down
2 changes: 1 addition & 1 deletion openai/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "openai"
version = "0.9.0"
version = "0.9.2"
edition = "2021"

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
Expand Down
2 changes: 1 addition & 1 deletion openwrt/ninja/Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ include $(TOPDIR)/rules.mk

PKG_NAME:=ninja

PKG_VERSION:=0.9.1
PKG_VERSION:=0.9.2

PKG_LICENSE:=MIT
PKG_MAINTAINER:=gngpp <gngppz@gmail.com>
Expand Down

0 comments on commit c642da2

Please sign in to comment.