Skip to content

feat(harness): Add the middleware function for dialogue suggestions#1977

Open
Zzzz-zmy wants to merge 2 commits into
agentscope-ai:mainfrom
Zzzz-zmy:feature-add-suggestion
Open

feat(harness): Add the middleware function for dialogue suggestions#1977
Zzzz-zmy wants to merge 2 commits into
agentscope-ai:mainfrom
Zzzz-zmy:feature-add-suggestion

Conversation

@Zzzz-zmy

@Zzzz-zmy Zzzz-zmy commented Jul 1, 2026

Copy link
Copy Markdown

AgentScope-Java Version

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

Description

  • Register the SUGGESTION_RESULT event type in AgentEvent
  • Add the SuggestionResultEvent event class to carry suggestion results
  • Implement the SuggestionMiddleware middleware to generate follow-up question suggestions
  • Add configuration options enableSuggestions and suggestionMaxItems
  • Integrate the suggestion middleware into HarnessAgent
  • Add comprehensive unit tests to verify the suggestion functionality

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

@Zzzz-zmy Zzzz-zmy requested a review from a team July 1, 2026 06:59
@CLAassistant

CLAassistant commented Jul 1, 2026

Copy link
Copy Markdown

CLA assistant check
All committers have signed the CLA.

@Zzzz-zmy

Zzzz-zmy commented Jul 1, 2026

Copy link
Copy Markdown
Author

close #1975

@codecov

codecov Bot commented Jul 1, 2026

Copy link
Copy Markdown

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