Spaces:
Runtime error
Runtime error
Commit History
-
fix(wave10): 8 P0 bugs from 7-agent prod audit
Frontend: - lib/models.ts: fix DEFAULT_MODEL_ID + FALLBACK_MODELS ids to match backend contract ('custom' instead of 'custom-yolo26-seg', etc). Old ids caused every inspect to 400 'Bilinmeyen model' which UI rendered as generic 'sunucu hatasi'. - lib/models.ts: localStorage migration for legacy ids — existing users with cached stale ids will self-heal on next read. - app/(app)/inspect/new/page.tsx: surface backend 5xx 'detail' message instead of generic 'sunucu hatasi' string. Backend: - main.py create_inspection: honor FORCE_SYNC_INFERENCE=1 env (was dead code) — async button now routes inline on worker-less HF deploy. - main.py _process_sync: restore aggregate_results(results) for N==1 (Wave 9 shortcut bypassed <inline> URL sanitizer, causing broken <img src='<inline>'> on frontend). - main.py _enqueue_async: use apply_async(retry=False) + safer exception handling — clearer 503 with 'Use sync mode' hint when worker absent. - scripts/entrypoint.sh: pre-fetch yolo11m…f297df3 -
fix(wave9): 10 P0 prod bugs from 5-agent audit
Backend: - main.py _process_sync: per-image try/except; single failure no longer aborts entire batch (was returning 500 on N>=2 photos with custom model). - main.py update_inspection: model_versions added to JSONB column list, was silently dropping every completed inspect's model metadata. - ml_service.py check_model_files_available: fix REGISTRY ImportError (symbol does not exist; use get_registry() public API). - ml_service.py _analyze_via_roboflow: emit canonical Inspection schema with full summary skeleton, severity object, cost stub, type_tr — was crashing frontend with undefined.level_tr / undefined.min_tl. - config.py s3_public_endpoint: default '' (was localhost:9000 leaking into prod URLs). Empty falls back to s3_endpoint (B2 host). - worker.py: detect rediss:// and set broker_use_ssl with ssl_cert_reqs=NONE (Upstash TLS Redis was 503'ing every async inspect). - main.py thumbnail_url: filter out local:// URLs from list response. Frontend: - api.ts: dynamic timeo…41449fe -
v0.3.0 — multimodal vehicle damage MVP
- Backend (FastAPI + Celery + Postgres + Redis + MinIO) with JWT auth, pre-trained model registry, 4-model dropdown API - 3 custom YOLO11 models (damage/parts/severity) trained on CarDD + CarParts-Seg + Roboflow Severity - ML pipeline: parallel detection + IoU matching + part-centric output + TR cost engine - Web (Next.js 15), Desktop (Tauri 2), Mobile (RN + Expo) - Free tier deploy: Vercel + Render + Supabase + Upstash + Cloudflare R2 - Wave 1-7 hardening: detection threshold calibration, crack low-conf flag, polling resilience, thumbnail fix, multi-foto async, SEO full setup, Lighthouse 86-92 Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>e327f0d