mirror of
https://github.com/labring/FastGPT.git
synced 2025-12-25 20:02:47 +00:00
fix: update runningUserInfo retrieval in chat completions API (#5446)
This commit is contained in:
parent
cc86aced2c
commit
ef56912e44
|
|
@ -287,7 +287,7 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
|
|||
teamId: String(app.teamId),
|
||||
tmbId: String(app.tmbId)
|
||||
},
|
||||
runningUserInfo: await getRunningUserInfoByTmbId(app.tmbId),
|
||||
runningUserInfo: await getRunningUserInfoByTmbId(tmbId),
|
||||
uid: String(outLinkUserId || tmbId),
|
||||
|
||||
chatId,
|
||||
|
|
|
|||
|
|
@ -286,7 +286,7 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
|
|||
teamId: String(app.teamId),
|
||||
tmbId: String(app.tmbId)
|
||||
},
|
||||
runningUserInfo: await getRunningUserInfoByTmbId(app.tmbId),
|
||||
runningUserInfo: await getRunningUserInfoByTmbId(tmbId),
|
||||
uid: String(outLinkUserId || tmbId),
|
||||
|
||||
chatId,
|
||||
|
|
|
|||
Loading…
Reference in New Issue