yao/agent/llm
Max b43929210e Implement event message handling and enhance output capabilities
- Added support for lifecycle event messages, including a new event type for tracking stream states (e.g., stream_start, stream_end).
- Introduced a NewEventMessage function to create event messages with structured properties.
- Updated the output package to include event messages in the built-in types, ensuring compatibility with CUI clients while remaining silent for OpenAI clients.
- Enhanced the DefaultStreamHandler to utilize event messages for better lifecycle tracking during streaming operations.
- Improved error handling and logging in the OpenAI provider to capture and report streaming errors effectively.
2025-11-16 10:30:55 +08:00
..
handlers Implement event message handling and enhance output capabilities 2025-11-16 10:30:55 +08:00
providers Implement event message handling and enhance output capabilities 2025-11-16 10:30:55 +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