yao/agent/output/message
Max f0495ab990 Enhance streaming and grouping functionality in Assistant
- Introduced SendGroupStart and SendGroupEnd methods for better control over message grouping, allowing for automatic ID generation and event handling.
- Updated streamState structure to track group IDs, message sequences, and chunk counts, improving message organization during streaming.
- Refactored message handling to eliminate the 'done' field, signaling message completion through group_end events instead.
- Revised JSAPI documentation to reflect new methods and usage patterns, enhancing clarity for developers.
- Improved test cases to validate new group handling features and ensure proper functionality.
2025-11-26 11:00:52 +08:00
..
interfaces.go Refactor: Decouple Output From Context 2025-11-25 22:08:00 +08:00
types.go Enhance streaming and grouping functionality in Assistant 2025-11-26 11:00:52 +08:00