yao/agent/context
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
..
chat.go Remove deprecated agent API files and refactor agent loading logic 2025-11-11 11:23:20 +08:00
chat_test.go Remove deprecated agent API files and refactor agent loading logic 2025-11-11 11:23:20 +08:00
context.go Add streaming support and message handling in DefaultStreamHandler 2025-11-15 17:40:03 +08:00
context_test.go Implement event message handling and enhance output capabilities 2025-11-16 10:30:55 +08:00
interfaces.go Implement stream lifecycle events in OpenAI provider 2025-11-15 15:32:49 +08:00
jsapi.go Enhance context handling and metadata management in assistant operations 2025-11-14 08:41:40 +08:00
jsapi_test.go Enhance context handling and metadata management in assistant operations 2025-11-14 08:41:40 +08:00
message.go Remove deprecated agent API files and refactor agent loading logic 2025-11-11 11:23:20 +08:00
message_test.go Remove deprecated agent API files and refactor agent loading logic 2025-11-11 11:23:20 +08:00
openapi.go Implement event message handling and enhance output capabilities 2025-11-16 10:30:55 +08:00
openapi_test.go Implement event message handling and enhance output capabilities 2025-11-16 10:30:55 +08:00
stack.go Refactor context and assistant methods for improved stack management and resource cleanup 2025-11-12 11:24:25 +08:00
stack_test.go Refactor context and assistant methods for improved stack management and resource cleanup 2025-11-12 11:24:25 +08:00
types.go Implement global uses configuration and enhance assistant capabilities 2025-11-14 19:17:21 +08:00
types_llm.go Implement stream lifecycle events in OpenAI provider 2025-11-15 15:32:49 +08:00
utils.go Remove deprecated agent API files and refactor agent loading logic 2025-11-11 11:23:20 +08:00