yao/agent/context
Max 73f6fae626 Refactor object registration in Context for improved lifecycle management
- Updated the objectRegister method to generate a new ID internally, simplifying the API by removing the need for an external ID parameter.
- Adjusted the NewObject method to utilize the new object registration mechanism, ensuring proper ID assignment and resource cleanup during instance creation.
2025-11-13 14:57: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 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
jsapi.go Refactor object registration in Context for improved lifecycle management 2025-11-13 14:57:52 +08:00
jsapi_test.go Add concurrent testing and object registration for JsValue function 2025-11-13 14:43: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 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 Assistant methods and context handling for improved functionality 2025-11-13 09:26:45 +08:00
utils.go Remove deprecated agent API files and refactor agent loading logic 2025-11-11 11:23:20 +08:00