yao/neo/assistant
Max b01f27d70f Refactor assistant initialization and enhance context handling in Neo API
- Updated the Answer method to improve assistant initialization by directly calling the new HookInit method, streamlining the process of selecting and initializing assistants based on context.
- Introduced ResHookInit struct to encapsulate the response from the assistant initialization hook, enhancing clarity and maintainability.
- Enhanced the context package by adding a Map method to facilitate easier mapping of context data, improving the overall structure of context management.
- Refactored the assistant interface to include the new HookInit method, ensuring a consistent approach to assistant interactions.

These changes improve the robustness and maintainability of the Neo API, paving the way for future enhancements in assistant functionalities and context management.
2025-01-13 11:07:12 +08:00
..
api.go Refactor Neo API assistant functionality and enhance model capabilities 2025-01-06 11:05:38 +08:00
assistant.go Refactor Neo API assistant management and remove obsolete functions 2025-01-03 16:37:43 +08:00
attachment.go Refactor attachment handling and enhance RAG/Vision integration in tests 2025-01-06 14:04:12 +08:00
attachment_test.go Refactor attachment handling and enhance RAG/Vision integration in tests 2025-01-06 14:04:12 +08:00
cache.go Refactor assistant management and enhance storage retrieval in Neo API 2025-01-01 12:31:47 +08:00
cache_test.go Refactor assistant management and enhance storage retrieval in Neo API 2025-01-01 12:31:47 +08:00
hooks.go Refactor assistant initialization and enhance context handling in Neo API 2025-01-13 11:07:12 +08:00
load.go Update Go module dependencies and enhance assistant message handling in Neo API 2025-01-03 17:17:04 +08:00
load_test.go Refactor Neo API assistant functionality and enhance model capabilities 2025-01-06 11:05:38 +08:00
types.go Refactor assistant initialization and enhance context handling in Neo API 2025-01-13 11:07:12 +08:00
utils.go Enhance RAG configuration and assistant loading in Neo API 2025-01-02 18:56:35 +08:00