yao/agent/llm
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
..
handlers Add streaming support and message handling in DefaultStreamHandler 2025-11-15 17:40:03 +08:00
providers Enhance context cancellation support in OpenAI provider and tests 2025-11-15 15:43:57 +08:00
interfaces.go Implement global uses configuration and enhance assistant capabilities 2025-11-14 19:17:21 +08:00
llm.go Implement global uses configuration and enhance assistant capabilities 2025-11-14 19:17:21 +08:00
stream.go Implement global uses configuration and enhance assistant capabilities 2025-11-14 19:17:21 +08:00