remove log (#3161)

This commit is contained in:
Archer 2024-11-14 20:31:01 +08:00 committed by GitHub
parent e8824987fa
commit 795904a357
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -256,11 +256,6 @@ export const dispatchChatCompletion = async (props: ChatProps): Promise<ChatResp
history: chatCompleteMessages
};
} catch (error) {
addLog.warn(`LLM response error`, {
baseUrl: user.openaiAccount?.baseUrl,
requestBody
});
if (user.openaiAccount?.baseUrl) {
return Promise.reject(`您的 OpenAI key 出错了: ${getErrText(error)}`);
}