perf: claude 的接口异常处理

This commit is contained in:
RockChinQ
2024-03-17 23:22:26 -04:00
parent 327b2509f6
commit a723c8ce37
2 changed files with 18 additions and 6 deletions
+1 -1
View File
@@ -2,4 +2,4 @@ class RequesterError(Exception):
"""Base class for all Requester errors."""
def __init__(self, message: str):
super().__init__("模型请求失败: "+message)
super().__init__("模型请求失败: "+message)