yao/agent/context
Max e0f69368fb Refactor assistant creation handling and response types
- Updated the Create method in the Script type to return a structured HookCreateResponse instead of the previous ResponseHookCreate.
- Enhanced the getHookCreateResponse method to handle various response scenarios, including nil and undefined results.
- Refactored context types to introduce the new HookCreateResponse structure, which includes fields for messages, audio configuration, generation parameters, and metadata.
- Adjusted related methods in the Assistant to ensure compatibility with the new response structure.
2025-11-13 18:27:15 +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 creation handling and response types 2025-11-13 18:27:15 +08:00
utils.go Remove deprecated agent API files and refactor agent loading logic 2025-11-11 11:23:20 +08:00