feat: show api balance (#582)

* feat: show api balance

* Update index.ts

* 保留小数点后五位

* perf: 判断优化

---------

Co-authored-by: Redon <790348264@qq.com>
This commit is contained in:
pzcn
2023-03-17 09:21:25 +08:00
committed by GitHub
parent 116ed7b0bf
commit e46d3685a0
8 changed files with 90 additions and 6 deletions

View File

@@ -24,6 +24,7 @@
"common:cleanup": "rimraf node_modules && rimraf pnpm-lock.yaml"
},
"dependencies": {
"axios": "^1.3.4",
"chatgpt": "^5.0.10",
"dotenv": "^16.0.3",
"esno": "^0.16.3",