Spaces:
Running
Running
Commit History
-
fix: 15 critical/high bugs across codebase
AkshayMCRITICAL: - Wrong import path .async_worker -> ..services.async_worker (Qdrant.py) - search() called run_sync() without await (always crashed) - CancelledError leaves jobs dangling in non-terminal stage HIGH: - circuit_breaker race: state mutations outside lock - llm.py: r.text on async httpx response crashes on error - llm.py: max_tokens=0 silently overridden to 2048 - llm.py: import json inside hot SSE loop - cache.py: MemoryBackend.set() ignores ttl parameter - cache.py: get_or_compute fails on sync callables - bootstrap.py: DB init runs twice (first attempt crashes) - shutdown.py: begin_shutdown races with begin_request - document_agent.py: cost double-counts answer tokens - document_agent.py: multi-hop retrieval asks same question every hop - document_agent.py: stream_query lacks multi-hop and cost_usd - main.py: json.dumps empty list stored as None - main.py: response uses request data instead of DB data - main.py: cloudinary 'skipped' mislabels actual failures - job_queue.py: l…da3be01 -
fix upload pipeline: await add_document, pre-load model eagerly, add verbose UPLOAD/VectorStore logging; remove unused deployment configs
AkshayM90c440b
-
fix models.py: match Neon schema varchar sizes, add email unique constraint
AkshayM167c070