yao/neo/assistant
Max 1eba627e38 Enhance Neo API assistant with improved content handling and hook integration
- Updated the Assistant methods to include a new Contents parameter in HookInit, HookStream, HookDone, and HookFail, improving message context management.
- Refactored handleChatStream to utilize the new Contents structure, enhancing the clarity and efficiency of chat interactions.
- Introduced new methods in the Contents struct for better type management and properties handling, streamlining message processing.
- Updated the Message struct to support new content types and properties, improving the overall message structure and serialization.

These changes enhance the maintainability and robustness of the Neo API assistant, paving the way for improved message handling and assistant functionalities.
2025-01-22 11:38:37 +08:00
..
api.go Enhance Neo API assistant with improved content handling and hook integration 2025-01-22 11:38:37 +08:00
assistant.go Enhance Neo API assistant with function support and improved message handling 2025-01-15 11:20:55 +08:00
attachment.go Refactor Neo API assistant to enhance vision support and message handling 2025-01-17 15:16:26 +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 Enhance Neo API assistant with improved content handling and hook integration 2025-01-22 11:38:37 +08:00
load.go Refactor Neo API assistant message handling and content structure 2025-01-19 12:23:23 +08:00
load_test.go Refactor Neo API assistant functionality and enhance model capabilities 2025-01-06 11:05:38 +08:00
types.go Enhance Neo API assistant with improved content handling and hook integration 2025-01-22 11:38:37 +08:00
utils.go Enhance RAG configuration and assistant loading in Neo API 2025-01-02 18:56:35 +08:00