mirror of
https://github.com/labring/FastGPT.git
synced 2025-10-19 10:07:24 +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),
|
teamId: String(app.teamId),
|
||||||
tmbId: String(app.tmbId)
|
tmbId: String(app.tmbId)
|
||||||
},
|
},
|
||||||
runningUserInfo: await getRunningUserInfoByTmbId(app.tmbId),
|
runningUserInfo: await getRunningUserInfoByTmbId(tmbId),
|
||||||
uid: String(outLinkUserId || tmbId),
|
uid: String(outLinkUserId || tmbId),
|
||||||
|
|
||||||
chatId,
|
chatId,
|
||||||
|
@@ -286,7 +286,7 @@ async function handler(req: NextApiRequest, res: NextApiResponse) {
|
|||||||
teamId: String(app.teamId),
|
teamId: String(app.teamId),
|
||||||
tmbId: String(app.tmbId)
|
tmbId: String(app.tmbId)
|
||||||
},
|
},
|
||||||
runningUserInfo: await getRunningUserInfoByTmbId(app.tmbId),
|
runningUserInfo: await getRunningUserInfoByTmbId(tmbId),
|
||||||
uid: String(outLinkUserId || tmbId),
|
uid: String(outLinkUserId || tmbId),
|
||||||
|
|
||||||
chatId,
|
chatId,
|
||||||
|
Reference in New Issue
Block a user