yao/neo/assistant
Max ca8993f4c8 Enhance Neo API assistant interaction with improved message handling and streaming support
- Added message handling in the Execute method to support input messages from the response.
- Updated the handleChatStream method to pass the context to the streamChat method, improving context management during chat streaming.
- Introduced the HookStream method to handle streaming responses, allowing for custom output and next action handling based on the assistant's response.
- Enhanced the ResHookStream struct to include silent output control and next action management, providing better flexibility in assistant interactions.

These changes improve the robustness and maintainability of the Neo API, paving the way for enhanced assistant functionalities and message management.
2025-01-13 17:11:34 +08:00
..
api.go Enhance Neo API assistant interaction with improved message handling and streaming support 2025-01-13 17:11:34 +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 Enhance Neo API assistant interaction with improved message handling and streaming support 2025-01-13 17:11:34 +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 Enhance Neo API assistant interaction with improved message handling and streaming support 2025-01-13 17:11:34 +08:00
utils.go Enhance RAG configuration and assistant loading in Neo API 2025-01-02 18:56:35 +08:00