yao/agent/context
Max 4abc7e41ef Enhance Options and Metadata Handling in Context and Test Cases
- Added support for a new `Metadata` field in the `Options` struct to allow passing custom data to hooks, enhancing flexibility in context management.
- Updated the `ToMap` and `OptionsFromMap` methods to include serialization and deserialization of the `Metadata` field.
- Enhanced the test case structure to include an `Options` field, allowing for per-test-case configuration, including metadata and skip options.
- Updated documentation to reflect the new `options` and `metadata` fields, providing clear examples for users on how to utilize these features in test cases.
2025-12-18 11:03:55 +08:00
..
authorized_test.go Enhance assistant initialization and context management 2025-12-11 15:17:17 +08:00
buffer.go Add assistant info retrieval and chat mode management 2025-12-10 12:15:55 +08:00
buffer_test.go Add assistant info retrieval and chat mode management 2025-12-10 12:15:55 +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 Enhance assistant initialization and context management 2025-12-11 15:17:17 +08:00
context.go Refactor history loading tests and context management 2025-12-11 15:32:06 +08:00
context_test.go Enhance assistant initialization and context management 2025-12-11 15:17:17 +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 Enhance assistant initialization and context management 2025-12-11 15:17:17 +08:00
jsapi.go Enhance Search API with New V8 Binding Methods 2025-12-13 16:11:30 +08:00
JSAPI.md Enhance JSAPI documentation for hooks and context management 2025-12-09 20:12:46 +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 Refactor context API to standardize property naming conventions 2025-12-09 19:10:06 +08:00
jsapi_output_test.go Enhance assistant initialization and context management 2025-12-11 15:17:17 +08:00
jsapi_release_test.go Refactor context API to standardize property naming conventions 2025-12-09 19:10:06 +08:00
jsapi_search.go Enhance Search API with New V8 Binding Methods 2025-12-13 16:11:30 +08:00
jsapi_search_test.go Enhance Search API with New V8 Binding Methods 2025-12-13 16:11:30 +08:00
jsapi_space_test.go Implement GetDel method for space management in JS API 2025-12-06 18:36:06 +08:00
jsapi_stress_test.go Refactor context API to standardize property naming conventions 2025-12-09 19:10:06 +08:00
jsapi_test.go Refactor context API to standardize property naming conventions 2025-12-09 19:10:06 +08:00
log.go Enhance Logging Functionality in RequestLogger 2025-12-17 12:33:34 +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 Refactor Assistant context handling to improve options management 2025-12-04 10:43:32 +08:00
message.go Implement thread-safe message and block metadata storage 2025-12-01 08:35:38 +08:00
message_events_test.go Refactor context initialization and enhance tool call handling 2025-11-30 16:40:45 +08:00
message_test.go Enhance assistant initialization and context management 2025-12-11 15:17:17 +08:00
openapi.go Add assistant info retrieval and chat mode management 2025-12-10 12:15:55 +08:00
openapi_test.go Enhance assistant initialization and context management 2025-12-11 15:17:17 +08:00
options.go Enhance Options and Metadata Handling in Context and Test Cases 2025-12-18 11:03:55 +08:00
output.go Enhance chat buffer and streaming message handling 2025-12-09 18:08:12 +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 Assistant context handling to improve options management 2025-12-04 10:43:32 +08:00
stack_test.go Enhance assistant initialization and context management 2025-12-11 15:17:17 +08:00
types.go Enhance Options and Metadata Handling in Context and Test Cases 2025-12-18 11:03:55 +08:00
types_llm.go Implement search configuration management and testing enhancements 2025-12-13 11:19:20 +08:00
utils.go Remove deprecated agent API files and refactor agent loading logic 2025-11-11 11:23:20 +08:00