agentscope-ai / agentscope-ai/agentscope-java

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

Open
#2,462 5 comments 0 reactions 0 assignees View on GitHub
area/core/agent enhancement
Dominant language
Java
Stars
5.6k
Forks
1.3k
Avg merge
4d 12h
Merged PRs (30d)
77

Description

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就会产生副作用

}

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.