Skip to content

Commit

Permalink
build: 1.10.3 完善gemini支持
Browse files Browse the repository at this point in the history
  • Loading branch information
TBXark committed Nov 14, 2024
1 parent 54bfa9a commit f419bf6
Show file tree
Hide file tree
Showing 14 changed files with 30 additions and 21 deletions.
2 changes: 1 addition & 1 deletion dist/buildinfo.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 15 additions & 6 deletions dist/index.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "chatgpt-telegram-workers",
"type": "module",
"version": "1.10.2",
"version": "1.10.3",
"description": "The easiest and quickest way to deploy your own ChatGPT Telegram bot is to use a single file and simply copy and paste it. There is no need for any dependencies, local development environment configuration, domain names, or servers.",
"author": "tbxark <[email protected]>",
"license": "MIT",
Expand Down Expand Up @@ -38,7 +38,7 @@
"deploy:workers": "pnpm run build:workers && TOML_PATH=$INIT_CWD/wrangler.toml pnpm --filter @chatgpt-telegram-workers/workers deploy",
"deploy:workersnext": "pnpm run build:workersnext && TOML_PATH=$INIT_CWD/wrangler.toml pnpm --filter @chatgpt-telegram-workers/workers-next deploy",
"deploy:vercel": "pnpm run build:vercel && vercel --prod",
"start:local": "pnpm run build && CONFIG_PATH=$INIT_CWD/config.json TOML_PATH=$INIT_CWD/wrangler.toml pnpm --filter @chatgpt-telegram-workers/local start",
"start:local": "pnpm run build:local && CONFIG_PATH=$INIT_CWD/config.json TOML_PATH=$INIT_CWD/wrangler.toml pnpm --filter @chatgpt-telegram-workers/local start",
"clean": "pnpm -r run clean",
"wrangler": "wrangler"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/interpolate/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@chatgpt-telegram-workers/interpolate",
"type": "module",
"version": "1.10.2",
"version": "1.10.3",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/local/package.docker.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@chatgpt-telegram-workers/local",
"type": "module",
"version": "1.10.2",
"version": "1.10.3",
"scripts": {
"start": "node index.js"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/local/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@chatgpt-telegram-workers/local",
"type": "module",
"version": "1.10.2",
"version": "1.10.3",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/local/src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ async function runPolling() {
}
}

if (NEXT_ENABLE) {
if (NEXT_ENABLE !== '0') {
injectNextChatAgent(CHAT_AGENTS);
}

Expand Down
2 changes: 1 addition & 1 deletion packages/apps/vercel/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@chatgpt-telegram-workers/vercel",
"type": "module",
"version": "1.10.2",
"version": "1.10.3",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/workers-next/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@chatgpt-telegram-workers/workers-next",
"type": "module",
"version": "1.10.2",
"version": "1.10.3",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/workers/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@chatgpt-telegram-workers/workers",
"type": "module",
"version": "1.10.2",
"version": "1.10.3",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/lib/core/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@chatgpt-telegram-workers/core",
"type": "module",
"version": "1.10.2",
"version": "1.10.3",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
Expand Down
4 changes: 2 additions & 2 deletions packages/lib/core/src/config/version.ts
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
export const BUILD_TIMESTAMP = 1731510288;
export const BUILD_VERSION = 'be75d39';
export const BUILD_TIMESTAMP = 1731581746;
export const BUILD_VERSION = '54bfa9a';
2 changes: 1 addition & 1 deletion packages/lib/next/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@chatgpt-telegram-workers/next",
"type": "module",
"version": "1.10.2",
"version": "1.10.3",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
Expand Down
2 changes: 1 addition & 1 deletion packages/lib/plugins/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@chatgpt-telegram-workers/plugins",
"type": "module",
"version": "1.10.2",
"version": "1.10.3",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"scripts": {
Expand Down

0 comments on commit f419bf6

Please sign in to comment.