agentscope-ai / agentscope-ai/agentscope-java

io.agentscope.core.ReActAgent#beforeAgentExecution 有副作用 可能会阻塞eventLoop线程

未关闭
#2,462 5 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
area/core/agent enhancement
主要语言
Java
星标
5.6k
派生
1.3k
平均合并
4 天 12 小时
30 天内合并 PR
77

描述

io.agentscope.core.agent.AgentBase#runLifecycleBody

private Mono runLifecycleBody(
List msgs,
RuntimeContext rc,
Function, Mono> doCallFn,
String requestId) {
Object scope = beforeAgentExecution(msgs, rc); // 这里如果通过redis取agentState就会产生副作用

}

贡献指南

打开贡献指南

评估

这个 Issue 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。