POST /recipes/scan/stream emits live status events while cf-docuvision allocates and processes, replacing the static spinner with phase-aware labels: allocating -> scanning -> structuring -> done|error Uses asyncio.Queue bridge to route progress callbacks from the sync scanner thread to the async SSE generator. Frontend updated to consume the stream via fetch + ReadableStream (EventSource does not support POST multipart). Closes kiwi#136 (companion to the docuvision routing fix). |
||
|---|---|---|
| .. | ||
| endpoints | ||
| __init__.py | ||
| routes.py | ||