Commit ef56912e by Ctrlz Committed by GitHub

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

parent cc86aced
......@@ -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,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment