refactor(domains): move 15 app-root monoliths into app/domains/ + lazy cloudscraper
This commit is contained in:
parent
25e0891a0d
commit
27184c704d
63 changed files with 145 additions and 136 deletions
|
|
@ -91,7 +91,7 @@ async def ingest_via_api(collection: str, content: str, metadata: dict, doc_id:
|
|||
logger.debug(f"API unavailable ({e}), falling back to direct import")
|
||||
|
||||
# Direct import fallback
|
||||
from app.rag_service import ingest_document
|
||||
from app.domains.intelligence.rag_service import ingest_document
|
||||
|
||||
return await ingest_document(collection, content, metadata, doc_id)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue