Skip to content

feat(agui): supports multimodality, expandable sessions, request context#1321

Open
DLancerC wants to merge 1 commit into
agentscope-ai:mainfrom
DLancerC:feature/augi-extension
Open

feat(agui): supports multimodality, expandable sessions, request context#1321
DLancerC wants to merge 1 commit into
agentscope-ai:mainfrom
DLancerC:feature/augi-extension

Conversation

@DLancerC
Copy link
Copy Markdown

Description

multimodality

a new content-part model (AguiContentPart / AguiTextContent / AguiImageContent with URL and data-URI sources) plus a backward-compatible AguiMessageDeserializer, letting AguiMessage and AguiMessageConverter carry and forward image inputs to the agent;

expandable sessions

a pluggable AguiSessionManager SPI with InMemoryAguiSessionManager (default, renamed from the previous in-memory impl) and SessionAwareAguiSessionManager (Spring Session based, scalable and restart-safe);

transparent request data

a new AguiRequestContext carrying thread id, headers and raw payload, propagated through AgentResolver / AguiRequestProcessor and the MVC / REST / WebFlux entry points down to the agent. The example app is updated accordingly (WebFluxCodecConfiguration raises the codec limit to 16 MB; index.html gains image upload / URL buttons, previews and inline rendering), and full unit tests are added for the new context, converter, model, adapter and both session managers. To verify: run mvn test on agentscope-extensions-agui and spring-boot-starter-agentscope-agui, then launch the agentscope-examples/agui demo and confirm plain text, image upload/URL, multi-turn session persistence and large-payload (>256KB) requests all work as expected.

Checklist

  • 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

@DLancerC DLancerC requested a review from a team April 30, 2026 08:55
@CLAassistant
Copy link
Copy Markdown

CLAassistant commented Apr 30, 2026

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.
You have signed the CLA already but the status is still pending? Let us recheck it.

… transparent transmission of request data to the agent.
@DLancerC DLancerC force-pushed the feature/augi-extension branch from b7b050c to 3e00df9 Compare May 6, 2026 06:27
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