mirror of
https://github.com/VectifyAI/PageIndex.git
synced 2026-07-24 21:41:04 +02:00
The server's GET /docs/ returns createdAt DESC (id ASC tiebreak) and the cloud backend preserves that order, so list_documents()[0] meant the newest document on cloud but the oldest on local (ORDER BY created_at ascending). The same order also feeds _get_all_doc_ids' doc priority for multi-doc chat. rowid DESC tiebreaks same-second inserts by insertion order. |
||
|---|---|---|
| .. | ||
| __init__.py | ||
| protocol.py | ||
| sqlite.py | ||