Skip to content

Commit

Permalink
feat: add queue command
Browse files Browse the repository at this point in the history
  • Loading branch information
yuki committed Feb 22, 2023
1 parent 968bd1e commit 2881e64
Show file tree
Hide file tree
Showing 5 changed files with 94 additions and 784 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,4 @@ npm i kokkoro-plugin-chatgpt
OPENAI_API_KEY="xxx"
```

因为插件的定时任务是在初始化时创建的,所以如果你修改了 OPENAI_API_KEY 变量,需要使用 reload 指令将插件重新挂载才能生效。
因为插件的 Service 是在初始化时创建的,所以如果你修改了 OPENAI_API_KEY 变量,需要使用 reload 指令将插件重新挂载才能生效。
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "kokkoro-plugin-chatgpt",
"version": "1.0.1",
"version": "1.1.0",
"description": "年轻人的第一款人工智能",
"main": "lib/index.js",
"types": "lib/index.d.ts",
Expand Down Expand Up @@ -32,8 +32,8 @@
"lib"
],
"devDependencies": {
"@types/node": "^18.13.0",
"kokkoro": "2.0.0-alpha.8"
"@kokkoro/core": "^2.0.1",
"@types/node": "^18.13.0"
},
"dependencies": {
"chatgpt": "^4.4.0"
Expand Down
Loading

0 comments on commit 2881e64

Please sign in to comment.