Skip to content

Commit

Permalink
Merge pull request TBXark#257 from TBXark/dev
Browse files Browse the repository at this point in the history
fix: telegram分块发送bug
  • Loading branch information
TBXark authored Jul 3, 2024
2 parents bd2c707 + a25395d commit d16e28e
Show file tree
Hide file tree
Showing 25 changed files with 246 additions and 477 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ You can customize the system initialization information so that your debugged pe
- Support for Azure OpenAI Service
- Support for Cloudflare AI (free)
- Support for streaming output
- Support for custom roles
- Support for custom command
- Support for multiple platforms deployment

## Documentation
Expand Down
2 changes: 1 addition & 1 deletion README_CN.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ ChatGPT-Telegram-Workers
- 支持Azure OpenAI服务
- 支持Cloudflare AI(免费)
- 支持流式输出
- 支持自定义角色
- 支持自定义指令
- 支持多平台部署

## 文档
Expand Down
8 changes: 4 additions & 4 deletions adapter/docker/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -255,8 +255,8 @@ cacache@^15.2.0:
unique-filename "^1.1.1"

"chatgpt-telegram-workers@github:TBXark/ChatGPT-Telegram-Workers#dev":
version "1.5.1"
resolved "https://codeload.github.com/TBXark/ChatGPT-Telegram-Workers/tar.gz/217416a36c7a7ed337b41ae357732eda308f6e18"
version "1.7.0"
resolved "https://codeload.github.com/TBXark/ChatGPT-Telegram-Workers/tar.gz/36495eb82a134f73f8eb4518bd5cca7692b3e4a5"

chownr@^1.1.1:
version "1.1.4"
Expand All @@ -274,8 +274,8 @@ clean-stack@^2.0.0:
integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==

"cloudflare-worker-adapter@github:TBXark/cloudflare-worker-adapter":
version "1.0.0"
resolved "https://codeload.github.com/TBXark/cloudflare-worker-adapter/tar.gz/3793c6acab5886478ec7c6893201de9f679a0138"
version "1.0.1"
resolved "https://codeload.github.com/TBXark/cloudflare-worker-adapter/tar.gz/48062ba3705f5a282e9d45c85e84d8c5017231b5"
dependencies:
ioredis "^5.4.1"
node-fetch "^3.3.2"
Expand Down
2 changes: 1 addition & 1 deletion adapter/local/package.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
{
"name": "test",
"version": "1.0.0",
"description": "",
Expand Down
4 changes: 2 additions & 2 deletions adapter/local/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ clean-stack@^2.0.0:
integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==

"cloudflare-worker-adapter@github:TBXark/cloudflare-worker-adapter":
version "1.0.0"
resolved "https://codeload.github.com/TBXark/cloudflare-worker-adapter/tar.gz/3793c6acab5886478ec7c6893201de9f679a0138"
version "1.0.1"
resolved "https://codeload.github.com/TBXark/cloudflare-worker-adapter/tar.gz/48062ba3705f5a282e9d45c85e84d8c5017231b5"
dependencies:
ioredis "^5.4.1"
node-fetch "^3.3.2"
Expand Down
4 changes: 2 additions & 2 deletions adapter/render/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -160,8 +160,8 @@ clean-stack@^2.0.0:
integrity sha512-4diC9HaTE+KRAMWhDhrGOECgWZxoevMc5TlkObMqNSsVU62PYzXZ/SMTjzyGAFF1YusgxGcSWTEXBhp0CPwQ1A==

"cloudflare-worker-adapter@github:TBXark/cloudflare-worker-adapter":
version "1.0.0"
resolved "https://codeload.github.com/TBXark/cloudflare-worker-adapter/tar.gz/3793c6acab5886478ec7c6893201de9f679a0138"
version "1.0.1"
resolved "https://codeload.github.com/TBXark/cloudflare-worker-adapter/tar.gz/48062ba3705f5a282e9d45c85e84d8c5017231b5"
dependencies:
ioredis "^5.4.1"
node-fetch "^3.3.2"
Expand Down
42 changes: 21 additions & 21 deletions adapter/vercel/yarn.lock
Original file line number Diff line number Diff line change
Expand Up @@ -1818,9 +1818,9 @@
integrity sha512-nG96G3Wp6acyAgJqGasjODb+acrI7KltPiRxzHPXnP3NgI28bpQDRv53olbqGXbfcgF5aiiHmO3xpwEpS5Ld9g==

"@types/node@*":
version "20.14.5"
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.14.5.tgz#fe35e3022ebe58b8f201580eb24e1fcfc0f2487d"
integrity sha512-aoRR+fJkZT2l0aGOJhuA8frnCSoNX6W7U2mpNq63+BxBIj5BQFt8rHy627kijCmm63ijdSdwvGgpUsU6MBsZZA==
version "20.14.9"
resolved "https://registry.yarnpkg.com/@types/node/-/node-20.14.9.tgz#12e8e765ab27f8c421a1820c99f5f313a933b420"
integrity sha512-06OCtnTXtWOZBJlRApleWndH4JsRVs1pDCc8dLSQp+7PpUpX3ePdHyeNSFTeSe7FtKyQkrlPvHwJOW3SLd8Oyg==
dependencies:
undici-types "~5.26.4"

Expand Down Expand Up @@ -2432,9 +2432,9 @@ call-bind@^1.0.7:
set-function-length "^1.2.1"

caniuse-lite@^1.0.30001629:
version "1.0.30001636"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001636.tgz#b15f52d2bdb95fad32c2f53c0b68032b85188a78"
integrity sha512-bMg2vmr8XBsbL6Lr0UHXy/21m84FTxDLWn2FSqMd5PrlbMxwJlQnC2YWYxVgp66PZE+BBNF2jYQUBKCo1FDeZg==
version "1.0.30001638"
resolved "https://registry.yarnpkg.com/caniuse-lite/-/caniuse-lite-1.0.30001638.tgz#598e1f0c2ac36f37ebc3f5b8887a32ca558e5d56"
integrity sha512-5SuJUJ7cZnhPpeLHaH0c/HPAnAHZvS6ElWyHK9GSIbVOQABLzowiI2pjmpvZ1WEbkyz46iFd4UXlOHR5SqgfMQ==

chalk@^2.4.2:
version "2.4.2"
Expand Down Expand Up @@ -2479,8 +2479,8 @@ chardet@^0.7.0:
integrity sha512-mT8iDcrh03qDGRRmoA2hmBJnxpllMR+0/0qlzjqZES6NdiWDcZkCNAk4rPFZ9Q85r27unkiNNg8ZOiwZXBHwcA==

"chatgpt-telegram-workers@github:TBXark/ChatGPT-Telegram-Workers":
version "1.5.1"
resolved "https://codeload.github.com/TBXark/ChatGPT-Telegram-Workers/tar.gz/e4c3dfbaf4374ff9d16723fba0b5d23784393a6a"
version "1.7.0"
resolved "https://codeload.github.com/TBXark/ChatGPT-Telegram-Workers/tar.gz/bd2c707a6fe83f7a080b9206ed2668e4340ccbd5"

chokidar@^3.5.1:
version "3.6.0"
Expand Down Expand Up @@ -2542,8 +2542,8 @@ clone@^1.0.2:
integrity sha512-JQHZ2QMW6l3aH/j6xCqQThY/9OH4D/9ls34cgkUBiEeocRTU04tHfKPBsUK1PqZCUQM7GiA0IIXJSuXHI64Kbg==

"cloudflare-worker-adapter@github:TBXark/cloudflare-worker-adapter":
version "1.0.0"
resolved "https://codeload.github.com/TBXark/cloudflare-worker-adapter/tar.gz/3793c6acab5886478ec7c6893201de9f679a0138"
version "1.0.1"
resolved "https://codeload.github.com/TBXark/cloudflare-worker-adapter/tar.gz/48062ba3705f5a282e9d45c85e84d8c5017231b5"
dependencies:
ioredis "^5.4.1"
node-fetch "^3.3.2"
Expand Down Expand Up @@ -2882,9 +2882,9 @@ [email protected]:
integrity sha512-WMwm9LhRUo+WUaRN+vRuETqG89IgZphVSNkdFgeb6sS/E4OrDIN7t48CAewSHXc6C8lefD8KKfr5vY61brQlow==

electron-to-chromium@^1.4.796:
version "1.4.806"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.806.tgz#2cb046631cbabceb26fc72be68d273fa183e36bc"
integrity sha512-nkoEX2QIB8kwCOtvtgwhXWy2IHVcOLQZu9Qo36uaGB835mdX/h8uLRlosL6QIhLVUnAiicXRW00PwaPZC74Nrg==
version "1.4.812"
resolved "https://registry.yarnpkg.com/electron-to-chromium/-/electron-to-chromium-1.4.812.tgz#21b78709c5a13af5d5c688d135a22dcea7617acf"
integrity sha512-7L8fC2Ey/b6SePDFKR2zHAy4mbdp1/38Yk5TsARO66W3hC5KEaeKMMHoxwtuH+jcu2AYLSn9QX04i95t6Fl1Hg==

emoji-regex@^8.0.0:
version "8.0.0"
Expand Down Expand Up @@ -3738,7 +3738,7 @@ has-unicode@^2.0.1:
resolved "https://registry.yarnpkg.com/has-unicode/-/has-unicode-2.0.1.tgz#e0e6fe6a28cf51138855e086d1691e771de2a8b9"
integrity sha512-8Rf9Y83NBReMnx0gFzA8JImQACstCYWUplepDa9xprwwtmgEZUF0h/i5xSA625zB/I37EtrswSST6OXxwaaIJQ==

hasown@^2.0.0:
hasown@^2.0.0, hasown@^2.0.2:
version "2.0.2"
resolved "https://registry.yarnpkg.com/hasown/-/hasown-2.0.2.tgz#003eaf91be7adc372e84ec59dc37252cedb80003"
integrity sha512-0hJU9SCPvmMzIBdZFqNPXWa6dqh7WdH0cII9y+CyS8rG3nL48Bclra9HmKhVVUHyPWNH5Y7xDwAB7bfgSjkUMQ==
Expand Down Expand Up @@ -3971,11 +3971,11 @@ is-buffer@^2.0.0:
integrity sha512-i2R6zNFDwgEHJyQUtJEk0XFi1i0dPFn/oqjK3/vPCcDeJvW5NQ83V8QbicfF1SupOaB0h8ntgBC2YiE7dfyctQ==

is-core-module@^2.13.0:
version "2.13.1"
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.13.1.tgz#ad0d7532c6fea9da1ebdc82742d74525c6273384"
integrity sha512-hHrIjvZsftOsvKSn2TRYl63zvxsgE0K+0mYMoH6gD4omR5IWB2KynivBQczo3+wF1cCkjzvptnI9Q0sPU66ilw==
version "2.14.0"
resolved "https://registry.yarnpkg.com/is-core-module/-/is-core-module-2.14.0.tgz#43b8ef9f46a6a08888db67b1ffd4ec9e3dfd59d1"
integrity sha512-a5dFJih5ZLYlRtDc0dZWP7RiKr6xIKzmn/oAYCDvdLThadVgyJwlaoQPmRtMSpz+rk0OGAgIu+TcM9HUF0fk1A==
dependencies:
hasown "^2.0.0"
hasown "^2.0.2"

is-decimal@^2.0.0:
version "2.0.1"
Expand Down Expand Up @@ -5078,9 +5078,9 @@ object-assign@^4.1.1:
integrity sha512-rJgTQnkUnH1sFw8yT6VSU3zD3sWmu6sZhIseY8VX+GRu3P6F7Fu+JNDoXfklElbLJSnc3FUQHVe4cU5hj+BcUg==

object-inspect@^1.13.1:
version "1.13.1"
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.1.tgz#b96c6109324ccfef6b12216a956ca4dc2ff94bc2"
integrity sha512-5qoj1RUiKOMsCCNLV1CBiPYE10sziTsnmNxkAI/rZhiD63CF7IqdFGC/XzjWjpSgLf0LxXX3bDFIh0E18f6UhQ==
version "1.13.2"
resolved "https://registry.yarnpkg.com/object-inspect/-/object-inspect-1.13.2.tgz#dea0088467fb991e67af4058147a24824a3043ff"
integrity sha512-IRZSRuzJiynemAXPYtPe5BoI/RESNYR7TYm50MC5Mqbd3Jmw5y790sErYw3V6SryFJD64b74qQQs9wn5Bg/k3g==

[email protected]:
version "2.4.1"
Expand Down
2 changes: 1 addition & 1 deletion dist/buildinfo.json
Original file line number Diff line number Diff line change
@@ -1 +1 @@
{"sha": "17ebf29", "timestamp": 1718863608}
{"sha": "40b0e17", "timestamp": 1719539450}
Loading

0 comments on commit d16e28e

Please sign in to comment.