- Introduced new API endpoints for generating custom content, chat titles, and prompts, enhancing the functionality of the Neo API. - Implemented handleGenerateCustom, handleGenerateTitle, and handleGeneratePrompts methods to process generation requests with appropriate validation and error handling. - Refactored the GenerateWithAI method to support different content types and system prompts, improving the flexibility of AI-generated responses. - Updated the API router to include the new generation routes, ensuring seamless integration with existing middleware. |
||
|---|---|---|
| .. | ||
| 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 | ||