Commit graph

11 commits

Author SHA1 Message Date
Max
238347c834 Refactor message handling and enhance file reading capabilities in Neo API
- Updated the message handling logic to improve error reporting and content management, ensuring more robust communication with clients.
- Introduced a new ReadBase64 method in both Local and OpenAI assistant implementations to read files and return their base64 encoded content, enhancing file handling capabilities.
- Removed the deprecated JSON message handling code, streamlining the message processing structure.
- Refactored message struct to include new fields and methods for better data management and response handling.
- Improved the chat functionality to handle attachments and user messages more effectively, ensuring a smoother user experience.
2024-12-31 16:01:48 +08:00
Max
c98a402e54 Refactor Neo API chat handling to improve AI interaction and error management. Introduce background processing for chat with AI, enhancing responsiveness and client handling. Update assistant initialization logic to streamline the creation of OpenAI assistants and ensure proper error handling. Modify message struct to support structured error responses, improving clarity in communication. Additionally, clean up unused code and enhance overall maintainability of the assistant management system. 2024-12-14 17:45:40 +08:00
Max
79ee5b75f9 Refactor error handling in Neo API to streamline message creation. Replace map-based error responses with a more concise error method in the message struct, enhancing readability and maintainability. Update related functions to ensure consistent error messaging across chat handling and response writing. 2024-12-13 19:49:54 +08:00
Max
91091b8dc2 Enhance JSON message handling with improved error reporting and response writing 2024-11-07 14:37:40 +08:00
Max
6450fd49e8 Refactor Neo message handling to use gin.ResponseWriter and improve error management 2024-11-07 08:40:15 +08:00
Max
59dfe49302 [add] neo local model support 2023-12-01 00:05:57 +08:00
Max
bd518610b9 [add] neo custom write process 2023-10-20 13:59:44 +08:00
Max
4530aeab2f Improve neo error messages 2023-05-15 19:59:35 +08:00
Max
522380511d [add] Neo studio api 2023-05-08 18:42:50 +08:00
Max
0f70639292 [add] Neo Command ( 50% ) 2023-05-05 22:07:12 +08:00
Max
0b3ebceffa [add] Neo optimizing response data 2023-05-04 04:59:17 +08:00