perf: 参数

This commit is contained in:
archer
2023-03-26 15:47:30 +08:00
parent 963e590dfd
commit 888642f154

View File

@@ -151,7 +151,7 @@ export default async function handler(req: NextApiRequest, res: NextApiResponse)
// 只有使用平台的 key 才计费 // 只有使用平台的 key 才计费
!userApiKey && !userApiKey &&
pushChatBill({ pushChatBill({
modelName: model.service.chatModel, modelName: model.service.modelName,
userId, userId,
chatId, chatId,
text: promptText + responseContent text: promptText + responseContent