yao/agent/llm/providers/openai
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
..
openai.go Implement event message handling and enhance output capabilities 2025-11-16 10:30:55 +08:00
openai_test.go Enhance context cancellation support in OpenAI provider and tests 2025-11-15 15:43:57 +08:00
types.go Implement stream lifecycle events in OpenAI provider 2025-11-15 15:32:49 +08:00