perf: logs

This commit is contained in:
Archer
2023-03-10 22:12:13 +08:00
parent 7fb76cde0b
commit ed9e72ec9a
14 changed files with 50 additions and 51 deletions

View File

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