yao/agent/context
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
..
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 Refactor completion request handling in context tests 2025-11-11 16:23:22 +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 Enhance context handling and metadata management in assistant operations 2025-11-14 08:41:40 +08:00
openapi_test.go Enhance context handling and metadata management in assistant operations 2025-11-14 08:41:40 +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