perrf chat不请求余额

This commit is contained in:
archer
2023-03-31 14:13:00 +08:00
parent df9ac99ef2
commit a3d74ec4a6
5 changed files with 17 additions and 11 deletions

View File

@@ -40,7 +40,7 @@ export async function generateAbstract(next = false): Promise<any> {
// 获取 openapi Key
let userApiKey, systemKey;
try {
const key = await getOpenApiKey(dataItem.userId);
const key = await getOpenApiKey(dataItem.userId, true);
userApiKey = key.userApiKey;
systemKey = key.systemKey;
} catch (error: any) {