diff --git a/adapter/vercel/package.json b/adapter/vercel/package.json index 5e97f2aa..3c22d280 100644 --- a/adapter/vercel/package.json +++ b/adapter/vercel/package.json @@ -12,8 +12,8 @@ "author": "TBXark", "license": "MIT", "dependencies": { - "duck-duck-scrape": "^2.2.5", - "html-entities": "^2.5.2" + "html-entities": "^2.5.2", + "chatgpt-telegram-workers": "github:adolphnov/ChatGPT-Telegram-Workers#test" }, "devDependencies": { "dotenv": "^16.0.3", diff --git a/adapter/vercel/src/index.js b/adapter/vercel/src/index.js index 704bb1f7..ea2a6c13 100644 --- a/adapter/vercel/src/index.js +++ b/adapter/vercel/src/index.js @@ -1,5 +1,5 @@ /* eslint-disable no-unused-vars */ -import worker from '../../../main.js'; +import worker from 'chatgpt-telegram-workers'; import { RedisCache } from '../utils/redis.js'; import Middle from './_middleware.js'; import {duckduckgo_search} from '../utils/duckduckgo.js';