perf:提示文案;错误处理

This commit is contained in:
Archer
2023-03-13 19:48:19 +08:00
parent b204c55bd1
commit 138b607ac7
6 changed files with 13 additions and 26 deletions

View File

@@ -2,5 +2,5 @@ export const openaiError: Record<string, string> = {
context_length_exceeded: '内容超长了,请重置对话',
Unauthorized: 'API-KEY 不合法',
rate_limit_reached: '同时访问用户过多,请稍后再试',
'Bad Request': '内容太多了~'
'Bad Request': '上下文太多了,请重开对话~'
};