Commit 885884f1 authored by Joel's avatar Joel

chore: package to dify-client

parent 0630f6f2
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}:`;
......
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"
}
}
}
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment