Clear availability for translation and document parsing
Translation and document parsing now show a “Not yet available” label when their processing service is not configured. The upload form explains why new files cannot be submitted.
Added
- The public
GET /api/v1/config/featuresresponse includesunavailable, an array of feature keys whose required service URL is not configured. It can containtranslateandmineru. - Upload, task event stream, and cancellation requests return HTTP 503 with
error: "feature_unavailable"when the required service URL is missing. Uploads are rejected before the application reads the file body. API clients can use this error to show that the feature is not yet available.
Changed
- Visible translation and document parsing app cards show “Not yet available” when the service is not configured. Their pages disable uploads and explain the reason.
- Task history can still be listed, downloaded, and deleted when the processing service is not configured, subject to the existing access rules. Administrator feature switches continue to apply as before.
- Pages use the public
unavailableconfiguration to explain that the required processing service is not configured. Responses withfeature_unavailabledo not trigger maintenance notifications. A configured service URL preserves the existing behavior; it does not certify that the remote service is healthy.