任务:更新代码结构,以提高可读性和可维护性
This commit is contained in:
@@ -405,6 +405,7 @@ async def process_single(content : str):
|
||||
timeout=30
|
||||
)
|
||||
except Exception as e:
|
||||
print(f"API调用失败:{str(e)}")
|
||||
raise RuntimeError(f"API调用失败:{str(e)}") from e
|
||||
|
||||
# 4. 提取并清洗JSON
|
||||
|
||||
Reference in New Issue
Block a user