diff --git a/app/api/utils/common.ts b/app/api/utils/common.ts index 5d8f7c3..fb07c04 100644 --- a/app/api/utils/common.ts +++ b/app/api/utils/common.ts @@ -1,6 +1,6 @@ import { type NextRequest } from 'next/server' import { APP_ID, API_KEY } from '@/config' -import { ChatClient } from 'langgenius-client' +import { ChatClient } from 'dify-client' import { v4 } from 'uuid' const userPrefix = `user_${APP_ID}:`; diff --git a/app/global.d.ts b/app/global.d.ts index 337e84b..a7606f1 100644 --- a/app/global.d.ts +++ b/app/global.d.ts @@ -1,2 +1,2 @@ -declare module 'langgenius-client'; +declare module 'dify-client'; declare module 'uuid'; diff --git a/package.json b/package.json index 8c683e5..5d1714c 100644 --- a/package.json +++ b/package.json @@ -31,7 +31,7 @@ "i18next-resources-to-backend": "^1.1.3", "immer": "^9.0.19", "js-cookie": "^3.0.1", - "langgenius-client": "1.1.1", + "dify-client": "1.1.1", "negotiator": "^0.6.3", "next": "13.2.4", "react": "18.2.0", @@ -66,4 +66,4 @@ "postcss": "^8.4.21", "tailwindcss": "^3.2.7" } -} +} \ No newline at end of file