yao/neo/assistant
Max b34f97ac2a Add file download functionality to Neo API
- Introduced a new endpoint for downloading files, enhancing the API's capabilities.
- Implemented the handleDownload method to manage download requests, including validation for required parameters (sid and file_id).
- Updated the Download method in the assistant interface to retrieve files based on file_id, ensuring proper error handling and response structure.
- Enhanced file upload logic to include file extensions in generated IDs for better file management.
- Added necessary response headers for file downloads, improving user experience during file retrieval.
2024-12-16 11:07:22 +08:00
..
base Add file download functionality to Neo API 2024-12-16 11:07:22 +08:00
openai Add file download functionality to Neo API 2024-12-16 11:07:22 +08:00
types.go Add file download functionality to Neo API 2024-12-16 11:07:22 +08:00