yao/neo/message
Max 1404c549a7 Refactor Neo API assistant message handling and content processing
- Enhanced message generation by introducing NewHistory and NewContent methods for improved handling of message content and history.
- Updated the withHistory method to utilize the new NewHistory method, streamlining the addition of historical messages.
- Improved the call method to conditionally save message history based on input parameters, enhancing flexibility in message management.
- Refactored the String method in the Message struct to better represent message types and properties, improving serialization consistency.

These changes enhance the maintainability and robustness of the Neo API assistant, paving the way for improved message handling and content processing.
2025-01-22 16:09:01 +08:00
..
contents.go Enhance Neo API assistant with improved content handling and hook integration 2025-01-22 11:38:37 +08:00
message.go Refactor Neo API assistant message handling and content processing 2025-01-22 16:09:01 +08:00