yao/agent/context
Max 6c295db8d5 Implement EndBlock method and enhance message lifecycle management
- Added EndBlock method to explicitly mark the end of a message block, sending a block_end event.
- Updated message handling to include lifecycle events for message start and end, improving tracking and management of message durations.
- Enhanced message metadata structure to support chunk counting and message types, facilitating better message operations.
- Improved JSAPI documentation to include new lifecycle management features, clarifying usage for developers.
2025-11-30 15:09:27 +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 Implement EndBlock method and enhance message lifecycle management 2025-11-30 15:09:27 +08:00
context_test.go Implement event message handling and enhance output capabilities 2025-11-16 10:30:55 +08:00
interfaces.go Refactor message handling to support individual message lifecycle events 2025-11-26 19:03:47 +08:00
interrupt.go Refine interrupt handling and streamline completion request validation 2025-11-24 12:01:43 +08:00
interrupt_test.go Refactor message handling to support individual message lifecycle events 2025-11-26 19:03:47 +08:00
jsapi.go Implement EndBlock method and enhance message lifecycle management 2025-11-30 15:09:27 +08:00
JSAPI.md Implement EndBlock method and enhance message lifecycle management 2025-11-30 15:09:27 +08:00
jsapi_helpers.go Refactor message handling for improved streaming and event management 2025-11-26 18:30:43 +08:00
jsapi_mcp.go Remove deprecated agent_test.go and mcp package files; refactor context and trace handling for improved functionality. 2025-11-28 19:26:33 +08:00
jsapi_mcp_test.go Remove deprecated agent_test.go and mcp package files; refactor context and trace handling for improved functionality. 2025-11-28 19:26:33 +08:00
JSAPI_OUTPUT.md Enhance streaming and grouping functionality in Assistant 2025-11-26 11:00:52 +08:00
jsapi_output_test.go Implement EndBlock method and enhance message lifecycle management 2025-11-30 15:09:27 +08:00
jsapi_release_test.go Remove deprecated agent_test.go and mcp package files; refactor context and trace handling for improved functionality. 2025-11-28 19:26:33 +08:00
jsapi_stress_test.go Enhance stress test performance assertions for CI environments 2025-11-29 20:17:28 +08:00
jsapi_test.go Refactor agent and assistant structure for improved clarity and performance 2025-11-30 11:47:25 +08:00
mcp.go Remove deprecated agent_test.go and mcp package files; refactor context and trace handling for improved functionality. 2025-11-28 19:26:33 +08:00
mcp_test.go Remove deprecated agent_test.go and mcp package files; refactor context and trace handling for improved functionality. 2025-11-28 19:26:33 +08:00
message.go Remove deprecated agent API files and refactor agent loading logic 2025-11-11 11:23:20 +08:00
message_events_test.go Implement EndBlock method and enhance message lifecycle management 2025-11-30 15:09:27 +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 EndBlock method and enhance message lifecycle management 2025-11-30 15:09:27 +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 Implement EndBlock method and enhance message lifecycle management 2025-11-30 15:09:27 +08:00
RESOURCE_MANAGEMENT.md Remove deprecated agent_test.go and mcp package files; refactor context and trace handling for improved functionality. 2025-11-28 19:26:33 +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 message handling to support individual message lifecycle events 2025-11-26 19:03:47 +08:00
types.go Implement EndBlock method and enhance message lifecycle management 2025-11-30 15:09:27 +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