mirror of
https://github.com/VectifyAI/PageIndex.git
synced 2026-07-24 21:41:04 +02:00
page_index() and ConfigLoader silently dropped config.yaml after the refactor: defaults came from IndexConfig's hardcoded fields, flipping if_add_doc_description on (an extra billed LLM call per document) and discarding user-edited YAML including a custom default_path. Both now resolve explicit args > YAML > IndexConfig field defaults via IndexConfig.from_yaml, matching the CLI. The new SDK keeps its pure-code config path. import pageindex also lost the utils / page_index_md submodule attributes (pageindex.utils.print_tree raised AttributeError). A module __getattr__ now imports the shims lazily, so plain imports stay free of deprecation warnings while first use of a legacy attribute binds the module and warns. Also trims non-essential comments from the BASE_URL fix. Claude-Session: https://claude.ai/code/session_014B4HZkjdSiZXDmJtH5Jexn |
||
|---|---|---|
| .. | ||
| backend | ||
| index | ||
| parser | ||
| storage | ||
| __init__.py | ||
| agent.py | ||
| client.py | ||
| cloud_api.py | ||
| collection.py | ||
| config.py | ||
| config.yaml | ||
| errors.py | ||
| events.py | ||
| page_index.py | ||
| page_index_md.py | ||
| retrieve.py | ||
| tokens.py | ||
| types.py | ||
| utils.py | ||