chore: fix module delcare ts problem
This commit is contained in:
parent
87286f9dad
commit
032c2841d4
3 changed files with 4 additions and 2 deletions
|
|
@ -4,7 +4,6 @@ import { ChatClient } from 'langgenius-client'
|
|||
import uuid from 'uuid'
|
||||
|
||||
const userPrefix = `user_${APP_ID}:`;
|
||||
// const uuid = require('uuid')
|
||||
|
||||
export const getInfo = (request: NextRequest) => {
|
||||
const sessionId = request.cookies.get('session_id')?.value || uuid.v4();
|
||||
|
|
|
|||
2
app/global.d.ts
vendored
Normal file
2
app/global.d.ts
vendored
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
declare module 'langgenius-client';
|
||||
declare module 'uuid';
|
||||
Loading…
Add table
Add a link
Reference in a new issue