6 Commits
Author SHA1 Message Date
Shayne Wong e566f514c7 feat: add support for GPT Image 2.5 models with extended quality options and new UI components
- Introduced new image model picker component for selecting models and qualities.
- Updated image model utilities to handle new models and quality options.
- Implemented backend logic for validating image model options and handling requests.
- Added tests for image model selection, quality handling, and API interactions.
- Adjusted existing tests to accommodate new model features and ensure compatibility.
2026-09-10 19:23:50 +08:00
Z1rconium 417d4084b1 feat: add support for NGINX acceleration, configure aiohttp connection limits, and update Docker setup 2026-06-02 23:36:19 +08:00
Z1rconium e647997514 Refactor API URL validation and enhance image upload handling
- Updated the prompt optimizer endpoint validation to normalize the API URL.
- Refactored health API URL validation to use a new normalization function and removed unnecessary checks.
- Changed image upload validation to utilize a new header-based validation method.
- Introduced new settings for maximum JSON body size and image pixel limits.
- Enhanced the image validation process to handle Pillow image limits and added checks for unsupported formats.
- Updated request models to enforce stricter validation rules and added field length constraints.
- Improved error handling for oversized JSON requests and invalid image uploads.
- Modified Nginx configuration to include security headers and proxy settings.
- Updated Docker Compose to include new environment variables for public origin and allowed hosts.
2026-05-28 10:26:08 +08:00
Z1rconium 39f50da10a feat: implement SSE connection limits and request body size enforcement 2026-05-27 22:07:52 +08:00
Z1rconium 4b1f32dcdd feat: add version check functionality; implement latest version endpoint and caching mechanism 2026-05-17 12:29:22 +08:00
Z1rconium 9a940e1363 Add backend requirements and Nginx configuration
- Created requirements-dev.txt for development dependencies including httpx and pytest.
- Established requirements.txt for backend dependencies such as FastAPI, Uvicorn, and Pydantic.
- Added nginx.conf to configure Nginx for serving the application, including API proxying and health check handling.
2026-05-09 15:41:02 +08:00