Skip to content

Conversation

@AlbumenJ
Copy link
Collaborator

@AlbumenJ AlbumenJ commented Jan 12, 2026

Ref #106

Change-Id: Id1db744799926d48875e72e9102ec74fa0e9c591
Change-Id: I53a0f25e07858c34f9db166d7c07450d27f83e3c
@AlbumenJ AlbumenJ requested review from a team and Copilot January 12, 2026 06:45
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

This PR introduces support for realtime API capabilities in AgentScope-Java, enabling live voice conversation through WebSocket connections. The implementation includes support for multiple providers (OpenAI, Gemini, DashScope), audio processing, connection management with automatic reconnection, and a Spring Boot demo application.

Changes:

  • Added live API infrastructure including LiveAgent, LiveModel implementations, and WebSocket transport layer
  • Implemented audio format handling, resampling, and streaming capabilities
  • Created comprehensive test coverage for live API components
  • Added live-demo Spring Boot application showcasing WebSocket-based voice conversation

Reviewed changes

Copilot reviewed 100 out of 104 changed files in this pull request and generated no comments.

Show a summary per file
File Description
agentscope-examples/live-demo/pom.xml Maven configuration for live demo with Spring Boot WebFlux dependencies
agentscope-examples/live-demo/src/main/resources/application.yml Spring Boot configuration for WebSocket server and DashScope API integration
agentscope-examples/live-demo/src/main/java/io/agentscope/demo/live/*.java WebSocket handler, message DTOs, and Spring configuration for live demo
agentscope-core/src/main/java/io/agentscope/core/model/transport/*.java Proxy configuration support for HTTP/SOCKS proxies
agentscope-core/src/main/java/io/agentscope/core/message/Source.java Added RawSource type to Source type hierarchy
agentscope-core/src/test/java/**/*.java Comprehensive unit tests for live API components, transport layer, and audio processing

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Change-Id: I1997f52f7dbc6b4f5ad6eb0008651844f3fa9f79
Change-Id: I651071728d84ad68a5dcbe4f5657f1d10b6e3862
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.

1 participant