feat: add cached homepage information and manual AI interpretations
This commit is contained in:
@@ -39,7 +39,7 @@ def public_error(exc):
|
||||
if code in (401, 403):
|
||||
return "模型服务拒绝访问,请检查 API Key 和模型权限"
|
||||
if code == 404:
|
||||
return "模型或接口不存在,请检查 Base URL、模型标识及接口协议"
|
||||
return "模型或接口不存在,请检查 Base URL、对应用途的模型名称及接口协议"
|
||||
if code == 429:
|
||||
return "模型服务限流或额度不足,请稍后重试"
|
||||
if isinstance(exc, (TimeoutError, httpx.TimeoutException)):
|
||||
|
||||
Reference in New Issue
Block a user