mirror of
https://github.com/LLM-Red-Team/kimi-free-api.git
synced 2025-10-18 00:13:19 +00:00
请求载荷大小限制提高到100mb,增加新的异常信息
This commit is contained in:
@@ -461,6 +461,8 @@ function checkResult(result: AxiosResponse, refreshToken: string) {
|
||||
return result.data;
|
||||
if (error_type == 'auth.token.invalid')
|
||||
accessTokenMap.delete(refreshToken);
|
||||
if (error_type == 'chat.user_stream_pushing')
|
||||
throw new APIException(EX.API_CHAT_STREAM_PUSHING);
|
||||
throw new APIException(EX.API_REQUEST_FAILED, `[请求kimi失败]: ${message}`);
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user