yao/agent/output/message
Max 91aa109f5b Add streaming support and message handling in DefaultStreamHandler
- Implemented a state management system for handling different streaming chunk types, including stream start, group start, text, thinking, tool calls, metadata, errors, and stream end.
- Introduced a new Send method in the context to facilitate message sending to the client.
- Enhanced the output package with message sending capabilities, including support for message groups and flushing.
- Improved error handling and message ID generation for better streaming reliability and user feedback.
2025-11-15 17:40:03 +08:00
..
interfaces.go Add streaming support and message handling in DefaultStreamHandler 2025-11-15 17:40:03 +08:00
types.go Add streaming support and message handling in DefaultStreamHandler 2025-11-15 17:40:03 +08:00