yao/agent/store/xun
Max 1b60feacab Refactor assistant data handling to improve JSON serialization
- Consolidate JSON serialization for assistant fields into a single function, `marshalJSONFields`, to streamline the code and improve maintainability.
- Introduce a new utility function, `isNil`, to accurately check for nil values, including typed nils in interface{} types.
- Remove redundant marshaling logic for options, tags, and modes, enhancing clarity and reducing code duplication.
- Update the `UpdateAssistant` method to utilize the new nil-checking logic for JSON fields, ensuring correct handling of nil values.
2026-03-02 14:51:13 +08:00
..
assistant.go Refactor assistant data handling to improve JSON serialization 2026-03-02 14:51:13 +08:00
assistant_test.go Enhance Assistant model with capabilities and sandbox configuration 2026-02-24 10:50:10 +08:00
chat.go Add chat metadata persistence and enhance executor goals injection tests 2026-02-28 13:57:45 +08:00
chat_test.go Add assistant info retrieval and chat mode management 2025-12-10 12:15:55 +08:00
message.go Add Feishu and DingTalk integration support in robot lifecycle</message> 2026-03-02 07:36:34 +08:00
message_test.go Add assistant info retrieval and chat mode management 2025-12-10 12:15:55 +08:00
resume.go Enhance chat filtering and management in Xun store 2025-12-09 11:18:55 +08:00
resume_test.go Enhance chat filtering and management in Xun store 2025-12-09 11:18:55 +08:00
search.go Enhance Search Result Storage and Intermediate Data Handling 2025-12-15 16:06:11 +08:00
search_test.go Enhance Search Result Storage and Intermediate Data Handling 2025-12-15 16:06:11 +08:00
utils.go Refactor assistant data handling to improve JSON serialization 2026-03-02 14:51:13 +08:00
utils_test.go Refactor assistant data handling to improve JSON serialization 2026-03-02 14:51:13 +08:00
xun.go Update sandbox integration tests and enhance JSON field parsing 2026-02-24 11:16:45 +08:00