Skip to content

fix(agent): when successful tool call result not empty can not suspend in ReActAgent - #493

Closed
Jamison929611 wants to merge 3 commits into
agentscope-ai:mainfrom
Jamison929611:fix/suspend_trigger_logic
Closed

Jamison929611 wants to merge 3 commits into
agentscope-ai:mainfrom
Jamison929611:fix/suspend_trigger_logic

Conversation

@Jamison929611

Copy link
Copy Markdown
Contributor

AgentScope-Java Version

[The version of AgentScope-Java you are working on, e.g. 1.0.6, check your pom.xml dependency version or run mvn dependency:tree | grep agentscope-parent:pom(only mac/linux)]

Description

[Please describe the background, purpose, changes made, and how to test this PR]

Checklist

Please check the following items before code is ready to be reviewed.

  • Code has been formatted with mvn spotless:apply
  • All tests are passing (mvn test)
  • Javadoc comments are complete and follow project conventions
  • Related documentation has been updated (e.g. links, examples, etc.)
  • Code is ready for review

@Jamison929611
Jamison929611 requested a review from a team January 9, 2026 05:46
@codecov

codecov Bot commented Jan 9, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.

📢 Thoughts on this report? Let us know!

return Mono.just(buildSuspendedMsg(pendingPairs));
}
// If no success results to process
if (successPairs.isEmpty()) {

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should not reach here by design

@Jamison929611
Jamison929611 deleted the fix/suspend_trigger_logic branch January 12, 2026 02:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants