mirror of
https://github.com/langgenius/webapp-conversation.git
synced 2025-12-08 17:32:27 +08:00
chore: package to dify-client
This commit is contained in:
@ -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}:`;
|
||||
|
||||
2
app/global.d.ts
vendored
2
app/global.d.ts
vendored
@ -1,2 +1,2 @@
|
||||
declare module 'langgenius-client';
|
||||
declare module 'dify-client';
|
||||
declare module 'uuid';
|
||||
|
||||
@ -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"
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user