Commit History

  1. fix:fetch-page-image-urls-for-existing-records

    ccaa906
  2. fix:populate-page-image-urls-in-fetch-latest-endpoint

    a3a2425
  3. feat: scrape all cities every 2h add /api/scrape-all cron endpoint enable Sulphur Springs

    74a944c

  1. fix: add asyncio timeouts to prevent Vercel 502 on slow Laserfiche fetches

    3890aa9
  2. fix: 502/503 errors, add Google Vision OCR, improve geo-locate robustness

    a3716c2
  3. fix: OCR async, connector fetch_page_images, lambda closures, parsers init

    36f705a
  4. fix: force re-summarize with force parameter, remove broken _execute import

    22e3f53
  5. feat: add force parameter to fetch-latest to clear cached summaries

    b4ac2b4
  6. fix: reuse event loop across requests in ASGI bridge, make OCR.space sync to avoid loop issues

    ad6b9b4
  7. fix: combine ASGI-to-WSGI bridge with direct lifespan init for connectors/DB/summarizer

    6d83c40
  8. fix: use Mangum lifespan=auto so DB, connectors, and summarizer initialize on first request

    a52678f
  9. fix: replace Mangum with custom ASGI-to-WSGI bridge for Vercel experimentalServices

    af12bff
  10. fix: set Mangum handler to Handler.HTTP explicitly for Vercel experimentalServices

    7df68d3
  11. fix: absolute minimal WSGI entry point - imports only inside handler

    9c10afa
  12. fix: replace psycopg2-binary with pg8000 (pure Python) to avoid Vercel Lambda 250MB native dep crash

    65d006f
  13. fix: make Vercel entry point lazy-load FastAPI on first request to prevent cold-start crash

    39db043
  14. fix: wrap lifespan startup in try/except so health endpoint works even if DB init fails

    21bb921

  1. feat: Vercel-ready OpenCouncil with 3 cities connected (Paris, Sulphur Springs, Frisco)

    6ce841a

  1. Implement Three P's framework: Life-Centric categories, Big Picture TL;DR, What You Can Do

    ec586f2

  1. Add /api/minutes/seed endpoint for pushing pre-computed OCR data to HF Space PostgreSQL

    a40a869
  2. fix: make OCR work always and consistently

    7927eff
  3. fix: add direct page image download fallback when PDF generation fails on HF Spaces

    e207bf6
  4. fix: extract page_image_urls from raw_text to avoid second HTTP request

    b730e9f
  5. fix: OCR pipeline not receiving page images for summarization

    e889678
  6. Fix DeepSeek hallucination: draconian prompt, temperature 0.0, save OCR text to raw_text

    0178699
  7. Fix: reset DB endpoint, filter future dates, prevent DeepSeek hallucination

    960388b
  8. Replace GPT-4o Vision with free Tesseract OCR pipeline

    4c0742d
  9. Add GPT-4o Vision support for scanned document images; remove all agenda code; focus on minutes

    f4320f0

  1. Debug: use model_dump(mode='json') to bypass Pydantic serialization, add traceback

    7d791de
  2. Fix 500 error: wrap DB lookups in try/except, add NULL-safe json.loads and datetime parsing in _row_to_agenda and _row_to_summary

    89d75b7
  3. Fix agenda detail 500 error: deterministic IDs via SHA-256 hash, fix timezone-naive datetime fallback, add better error logging

    bb8ce2c
  4. Add minutes support: fetch, store, summarize city council minutes from Laserfiche

    9bace39
  5. fix: report actual storage backend in health endpoint (was hardcoded to sqlite)

    1125f3a
  6. fix: update comments from Railway to HF Spaces, fix DB init print message

    dc339f5
  7. Switch from experimental services to builds/routes approach, fix API_BASE to empty string

    c42f066
  8. Fix Vercel backend 500 errors

    8a15226
  9. Add Vercel experimental services monorepo config (frontend + backend)

    c9551c3
  10. Initial commit: Civic City Hub - DeepSeek API, SQLite storage, encrypted API keys, professional news site frontend

    e1ad28e