- Added new GET and POST endpoints for generating custom content, chat titles, and prompts, expanding the API's capabilities. - Implemented support for Server-Sent Events (SSE) in response handling, allowing for real-time updates and improved user experience. - Refactored validation and error handling to differentiate between regular and SSE requests, ensuring appropriate responses based on the request type. - Updated the GenerateWithAI method to support silent mode for regular HTTP requests, enhancing flexibility in content generation. - Improved overall structure and maintainability of the API by consolidating request handling logic. |
||
|---|---|---|
| .. | ||
| assistant | ||
| conversation | ||
| message | ||
| api.go | ||
| api_test.go | ||
| context.go | ||
| hooks.go | ||
| load.go | ||
| load_test.go | ||
| neo.go | ||
| neo_test.go | ||
| process.go | ||
| test_data.go | ||
| types.go | ||