io.agentscope.extensions.scheduler.quartz.AgentQuartzJob#execute 方法执行时,agent运行的是一个空的Msg,代码如下:
try {
ScheduleAgentTask<io.agentscope.core.message.Msg> t = task;
// Blocking is acceptable here because Quartz jobs run in their own dedicated thread
// pool
// and are executed synchronously; we need to wait for the reactive pipeline to
// complete.
t.run().block();
} catch (Exception e) {
throw new JobExecutionException(e);
}
if (interrupted) {
return;
}
io.agentscope.extensions.scheduler.quartz.AgentQuartzJob#execute 方法执行时,agent运行的是一个空的Msg,代码如下: