fix: update runningUserInfo retrieval in chat completions API (#5446)

This commit is contained in:
Ctrlz 2025-08-13 16:33:03 +08:00 committed by GitHub
parent cc86aced2c
commit ef56912e44
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

@ -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,