feat: AI 调用改为异步任务并支持结果重复获取
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
package com.guo.learningprogresstracker.service.impl;
|
||||
|
||||
/**
|
||||
* AI 任务执行失败(AI-02):{@code message} 是给用户看的文案,技术细节由抛出方写日志。
|
||||
*/
|
||||
public class AiTaskFailedException extends RuntimeException {
|
||||
|
||||
public AiTaskFailedException(String message) {
|
||||
super(message);
|
||||
}
|
||||
|
||||
public AiTaskFailedException(String message, Throwable cause) {
|
||||
super(message, cause);
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user