yao/agent/context
Max 27d4cd9555 Refactor context and assistant methods for improved stack management and resource cleanup
- Updated Stream and Run methods in the Assistant to use pointer receivers for context, enhancing performance and clarity.
- Introduced stack management in context handling, including initialization and cleanup of stack references.
- Enhanced the Release method in Context to ensure proper cleanup of resources, including stacks and writer references.
- Added new stack status constants and validation to improve traceability and error handling in agent operations.
- Removed the obsolete JavaScript API file to streamline the codebase.
2025-11-12 11:24:25 +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 context and assistant methods for improved stack management and resource cleanup 2025-11-12 11:24:25 +08:00
context_test.go Refactor completion request handling in context tests 2025-11-11 16:23:22 +08:00
interfaces.go Refactor context and assistant methods for improved stack management and resource cleanup 2025-11-12 11:24:25 +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 context and assistant methods for improved stack management and resource cleanup 2025-11-12 11:24:25 +08:00
openapi_test.go Refactor context and assistant methods for improved stack management and resource cleanup 2025-11-12 11:24:25 +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 Refactor context and assistant methods for improved stack management and resource cleanup 2025-11-12 11:24:25 +08:00
utils.go Remove deprecated agent API files and refactor agent loading logic 2025-11-11 11:23:20 +08:00