mirror of
https://github.com/labring/FastGPT.git
synced 2025-07-23 13:03:50 +00:00
remove log (#3161)
This commit is contained in:
@@ -256,11 +256,6 @@ export const dispatchChatCompletion = async (props: ChatProps): Promise<ChatResp
|
|||||||
history: chatCompleteMessages
|
history: chatCompleteMessages
|
||||||
};
|
};
|
||||||
} catch (error) {
|
} catch (error) {
|
||||||
addLog.warn(`LLM response error`, {
|
|
||||||
baseUrl: user.openaiAccount?.baseUrl,
|
|
||||||
requestBody
|
|
||||||
});
|
|
||||||
|
|
||||||
if (user.openaiAccount?.baseUrl) {
|
if (user.openaiAccount?.baseUrl) {
|
||||||
return Promise.reject(`您的 OpenAI key 出错了: ${getErrText(error)}`);
|
return Promise.reject(`您的 OpenAI key 出错了: ${getErrText(error)}`);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user