Skip to content

Commit c3aff8f

Browse files
bump version to v0.1.6
1 parent 7705ee1 commit c3aff8f

File tree

6 files changed

+60
-5
lines changed

6 files changed

+60
-5
lines changed

.github/workflows/build.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@ jobs:
1919
run:
2020
shell: bash
2121
env:
22-
VERSION: 0.1.5
22+
VERSION: 0.1.6
2323
strategy:
2424
matrix:
2525
python-version: [3.9]

README.md

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,60 @@ If you are running a bot of accessing model via browser in a server, you need to
6464

6565
On the first time you start this bot, automated processes such as auto-filling of account names and passwords will be carried out, but you will still need to manually solve CAPTCHAs during the login process.
6666

67+
68+
# Helpfull Commands
69+
70+
This is a list of helpful commands to use with the bot.
71+
72+
## /role
73+
74+
The `/role` command is used to get or set the role of the bot.
75+
76+
### Set role
77+
78+
To set the role of the bot, use the following format:
79+
80+
Usage:
81+
```
82+
/role <role description>
83+
```
84+
85+
Example:
86+
```
87+
/role You are a helpful assistant
88+
```
89+
90+
### Get role
91+
92+
To get the current role of the bot, use the following command:
93+
94+
```
95+
/role
96+
```
97+
98+
The bot will respond with the current role.
99+
100+
## /reset_role
101+
102+
The `/reset_role` command is used to reset the role of the bot to the default role.
103+
104+
Usage:
105+
```
106+
/reset_role
107+
```
108+
109+
## /reset
110+
111+
The `/reset` command is used to clear the context of the bot.
112+
113+
Usage:
114+
```
115+
/reset
116+
```
117+
118+
These commands should help you better interact with the bot.
119+
120+
67121
# Acknowledgements
68122

69123
- [chatgpt-api](https://github.com/transitive-bullshit/chatgpt-api)

release.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
v0.1.5 release
2-
Added support for access openai model with API key
1+
v0.1.6 release
2+
Added support for configuring the role of the bot

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,3 +3,4 @@ pyyaml
33
mixin-python
44
cf_clearance
55
openai
6+
tiktoken

setup.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44

55
setup(
66
name="chatgpt-mixin",
7-
version="0.1.5",
7+
version="0.1.6",
88
description="ChatGPT Bot For Mixin",
99
author='learnforpractice',
1010
license="Apache 2.0",

tag.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
VERSION=v0.1.5
1+
VERSION=v0.1.6
22
TARGET=origin
33
git push $TARGET :refs/tags/$VERSION
44
git tag -d $VERSION

0 commit comments

Comments
 (0)