PageIndex/pageindex
Ray 80493ccf62 fix: order local list_documents newest-first, matching the cloud API
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.
2026-07-22 12:28:06 +08:00
..
backend fix: delete the DB row before the files in delete_document 2026-07-21 18:03:49 +08:00
index fix: gate doc_description on node summaries in the SDK pipeline, matching legacy 2026-07-22 12:27:32 +08:00
parser fix: keep the file extension in SDK doc_name, matching legacy and cloud 2026-07-21 18:46:15 +08:00
storage fix: order local list_documents newest-first, matching the cloud API 2026-07-22 12:28:06 +08:00
__init__.py chore: drop PAGEINDEX_API_KEY from the .env comment — the library never reads it 2026-07-21 17:10:31 +08:00
agent.py fix: cancel the agent run when a local streaming query is abandoned 2026-07-21 18:03:49 +08:00
client.py fix: fail fast when CloudClient gets an empty api_key 2026-07-21 17:10:31 +08:00
cloud_api.py fix: let transport errors propagate raw from legacy cloud methods, matching 0.2.x 2026-07-22 12:27:15 +08:00
collection.py refactor: spell out collection instead of col in examples, README, and docstrings 2026-07-19 15:25:17 +08:00
config.py fix: default SDK retrieve_model to gpt-5.4 instead of following model 2026-07-16 16:09:07 +08:00
config.yaml fix: default SDK retrieve_model to gpt-5.4 instead of following model 2026-07-16 16:09:07 +08:00
errors.py fix: address max-effort review findings 2026-07-13 18:49:09 +08:00
events.py fix: enforce collection membership on cloud query doc_ids 2026-07-16 14:40:19 +08:00
page_index.py Merge commit from fork 2026-07-17 13:57:21 +08:00
page_index_md.py fix(markdown): skip empty bold headings 2026-07-16 19:36:52 +08:00
retrieve.py chore: trim fix-rationale comments, restore --model help, drop stale gitignore entry 2026-07-19 16:16:09 +08:00
tokens.py refactor(sdk): typed returns, protocol contract, parser layering 2026-07-07 12:15:34 +08:00
types.py feat: restore status and page/line counts in local get_document 2026-07-19 15:25:25 +08:00
utils.py fix: address xhigh review findings for PR #272 2026-07-16 01:31:57 +08:00