mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-15 15:41:05 +00:00
fix: update runningUserInfo retrieval in chat completions API (#5446)
This commit is contained in:
@@ -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,
|
||||
|
Reference in New Issue
Block a user