yao/agent/context
Max 19b4c7354f Enhance output handling and trace management in Assistant's Stream method
- Updated the Assistant's Stream method to set output for the agent node and conditionally close the output writer based on call depth, improving resource management.
- Integrated detailed trace logging for output closure events, distinguishing between root and nested calls to enhance debugging capabilities.
- Refactored trace creation in context to utilize authorized information for better trace context management.
- Introduced a lightweight persistNode structure for efficient storage of trace nodes, optimizing the save and load operations in local and store drivers.
2025-11-20 11:36:44 +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 Enhance output handling and trace management in Assistant's Stream method 2025-11-20 11:36:44 +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
interrupt.go Implement interrupt handling for context management 2025-11-19 18:41:31 +08:00
interrupt_test.go Implement interrupt handling for context management 2025-11-19 18:41:31 +08:00
jsapi.go Add trace management to context and enhance configuration options 2025-11-19 12:27:42 +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 Implement interrupt handling for context management 2025-11-19 18:41:31 +08:00
openapi_test.go Implement event message handling and enhance output capabilities 2025-11-16 10:30:55 +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 Implement interrupt handling for context management 2025-11-19 18:41:31 +08:00
types_llm.go Add Claude API configuration and enhance vision support in LLM adapters 2025-11-17 10:53:08 +08:00
utils.go Remove deprecated agent API files and refactor agent loading logic 2025-11-11 11:23:20 +08:00