The documented `HaikuRAG("knowledge.lancedb")` and `rag(db_path="my.lancedb")`
forms both raised `AttributeError: 'str' object has no attribute 'exists'`.
`Store.__init__` assigned its argument to a `Path`-annotated attribute without
coercing, and `resolve_db_path` returned a non-None argument unchanged. Every
runnable example wraps the path in `Path(...)`, which is why it survived.
Coerce in `Store.__init__` and `resolve_db_path`; widen the annotations on
`Store`, `HaikuRAG` and both `create_capability` factories to accept `str`.
|
||
|---|---|---|
| .. | ||
| __init__.py | ||
| agents.py | ||
| documents.py | ||
| downloads.py | ||
| exceptions.py | ||
| processing.py | ||
| rebuild.py | ||
| search.py | ||
| titles.py | ||