yao/agent/context
Max f0495ab990 Enhance streaming and grouping functionality in Assistant
- Introduced SendGroupStart and SendGroupEnd methods for better control over message grouping, allowing for automatic ID generation and event handling.
- Updated streamState structure to track group IDs, message sequences, and chunk counts, improving message organization during streaming.
- Refactored message handling to eliminate the 'done' field, signaling message completion through group_end events instead.
- Revised JSAPI documentation to reflect new methods and usage patterns, enhancing clarity for developers.
- Improved test cases to validate new group handling features and ensure proper functionality.
2025-11-26 11:00:52 +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 Refactor: Decouple Output From Context 2025-11-25 22:08:00 +08:00
context_test.go Implement event message handling and enhance output capabilities 2025-11-16 10:30:55 +08:00
interfaces.go Refactor: Decouple Output From Context 2025-11-25 22:08:00 +08:00
interrupt.go Refine interrupt handling and streamline completion request validation 2025-11-24 12:01:43 +08:00
interrupt_test.go Enhance interrupt test clarity by specifying empty messages for force interrupts 2025-11-24 12:15:14 +08:00
jsapi.go Enhance streaming and grouping functionality in Assistant 2025-11-26 11:00:52 +08:00
jsapi_helpers.go Enhance streaming and grouping functionality in Assistant 2025-11-26 11:00:52 +08:00
JSAPI_OUTPUT.md Enhance streaming and grouping functionality in Assistant 2025-11-26 11:00:52 +08:00
jsapi_output_test.go Enhance streaming and grouping functionality in Assistant 2025-11-26 11:00:52 +08:00
jsapi_test.go Add trace management to context and enhance configuration options 2025-11-19 12:27:42 +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 Refactor assistant settings to use 'Uses' instead of 'Use' for improved clarity 2025-11-24 18:34:00 +08:00
openapi_test.go Refactor assistant settings to use 'Uses' instead of 'Use' for improved clarity 2025-11-24 18:34:00 +08:00
output.go Refactor: Decouple Output From Context 2025-11-25 22:08:00 +08:00
stack.go Refactor trace package structure and improve trace ID validation 2025-11-18 14:09:28 +08:00
stack_test.go Refactor trace package structure and improve trace ID validation 2025-11-18 14:09:28 +08:00
types.go Refactor: Decouple Output From Context 2025-11-25 22:08:00 +08:00
types_llm.go Refactor: Decouple Output From Context 2025-11-25 22:08:00 +08:00
utils.go Remove deprecated agent API files and refactor agent loading logic 2025-11-11 11:23:20 +08:00