yao/neo/message
Max 228e8cf482 Enhance Neo API assistant message handling and response structure
- Added nil checks for response objects in the Execute method to prevent potential nil pointer dereferences.
- Updated the streamChat method to include assistant identification details (ID, name, avatar) in the message structure, improving context for messages.
- Introduced a new field in the Message struct to mark messages as new, enhancing message tracking capabilities.

These changes improve the robustness and maintainability of the Neo API, paving the way for better message handling and assistant functionalities.
2025-01-18 11:20:55 +08:00
..
content.go Refactor Neo API assistant message handling and function integration 2025-01-15 16:35:58 +08:00
message.go Enhance Neo API assistant message handling and response structure 2025-01-18 11:20:55 +08:00