yao/neo/message
Max 14f447c782 feat: Enhance message handling with timestamps and token management
- Introduce BeginAt and EndAt fields in Message struct to track message timing.
- Update NewText and NewType methods in Contents to accept Extra struct for better metadata handling.
- Modify ScanTokens function to manage token IDs and beginning timestamps, improving token processing accuracy.
- Refactor GenerateWithAI and streamChat methods to utilize new timestamp features, enhancing message context and flow.
2025-04-16 14:29:50 +08:00
..
contents.go feat: Enhance message handling with timestamps and token management 2025-04-16 14:29:50 +08:00
message.go feat: Enhance message handling with timestamps and token management 2025-04-16 14:29:50 +08:00