perf: sse response

This commit is contained in:
archer
2023-06-23 23:11:22 +08:00
parent 6787f19d78
commit 986206b691
13 changed files with 150 additions and 132 deletions

View File

@@ -163,7 +163,7 @@ export const authUser = async ({
/* random get openai api key */
export const getSystemOpenAiKey = () => {
return process.env.OPENAIKEY || '';
return process.env.ONEAPI_KEY || process.env.OPENAIKEY || '';
};
/* 获取 api 请求的 key */