perf: 优化系统提示消息
This commit is contained in:
@@ -2,7 +2,8 @@ export const openaiError: Record<string, string> = {
|
||||
context_length_exceeded: '内容超长了,请重置对话',
|
||||
Unauthorized: 'API-KEY 不合法',
|
||||
rate_limit_reached: '同时访问用户过多,请稍后再试',
|
||||
'Bad Request': '上下文太多了,请重开对话~'
|
||||
'Bad Request': '上下文太多了,请重开对话~',
|
||||
'Too Many Requests': '请求次数太多了,请慢点~'
|
||||
};
|
||||
export const proxyError: Record<string, boolean> = {
|
||||
ECONNABORTED: true,
|
||||
|
||||
Reference in New Issue
Block a user