yao/neo/message
Max 5e5524293f Refactor Neo API assistant message handling and function integration
- Updated streamChat method to utilize content.Type for function handling, enhancing the interaction with function calls.
- Improved the String method in Content struct to handle function arguments more robustly, including JSON unmarshalling for completed content.
- Set default message type to "text" in NewOpenAI function, ensuring consistent message processing.

These changes enhance the flexibility and maintainability of the Neo API, paving the way for improved assistant functionalities and message management.
2025-01-15 16:35:58 +08:00
..
content.go Refactor Neo API assistant message handling and function integration 2025-01-15 16:35:58 +08:00
message.go Refactor Neo API assistant message handling and function integration 2025-01-15 16:35:58 +08:00