yao/neo/assistant
Max ffb9ede647 Refactor Neo API message handling and enhance assistant interaction
- Updated the Answer method to utilize the new withHistory function, improving message retrieval and context management.
- Refactored the chat method to accept a slice of message.Message instead of a map, enhancing type safety and clarity.
- Introduced a new withHistory function to streamline the process of retrieving chat history and user messages, improving maintainability.
- Enhanced the HookInit method to accept a gin.Context, allowing for better context handling during assistant initialization.
- Updated the assistant API interface to reflect changes in message handling, ensuring consistency across the codebase.

These changes improve the robustness and maintainability of the Neo API, paving the way for future enhancements in assistant functionalities and message management.
2025-01-13 14:47:17 +08:00
..
api.go Refactor Neo API message handling and enhance assistant interaction 2025-01-13 14:47:17 +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 Neo API message handling and enhance assistant interaction 2025-01-13 14:47:17 +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 Neo API message handling and enhance assistant interaction 2025-01-13 14:47:17 +08:00
utils.go Enhance RAG configuration and assistant loading in Neo API 2025-01-02 18:56:35 +08:00