When an optional RAG dependency is missing, the error messages and docstrings in fenn/agents/rag/ tell the user to run e.g. pip install "cofone[pdf]" (also cofone[web], cofone[faiss]).
These commands fail on two counts:
- There is no
cofone distribution — this package is named fenn (pyproject.toml -> name = "fenn").
- The extras are named
rag-pdf, rag-web, rag-faiss — not pdf / web / faiss.
So a user who follows the message gets ERROR: No matching distribution found for cofone[pdf].
Fix: correct the 10 occurrences in loader.py, retriever.py, rag.py to pip install "fenn[rag-pdf]" / "fenn[rag-web]" / "fenn[rag-faiss]".
(Note: there are also leftover [cofone] log-message prefixes in the same modules. I've left those out of scope to keep this focused, but happy to standardize them to [fenn] in a follow-up if desired.)
I'll open a PR for the install-instruction fix
When an optional RAG dependency is missing, the error messages and docstrings in
fenn/agents/rag/tell the user to run e.g.pip install "cofone[pdf]"(alsocofone[web],cofone[faiss]).These commands fail on two counts:
cofonedistribution — this package is namedfenn(pyproject.toml->name = "fenn").rag-pdf,rag-web,rag-faiss— notpdf/web/faiss.So a user who follows the message gets
ERROR: No matching distribution found for cofone[pdf].Fix: correct the 10 occurrences in
loader.py,retriever.py,rag.pytopip install "fenn[rag-pdf]"/"fenn[rag-web]"/"fenn[rag-faiss]".(Note: there are also leftover
[cofone]log-message prefixes in the same modules. I've left those out of scope to keep this focused, but happy to standardize them to[fenn]in a follow-up if desired.)I'll open a PR for the install-instruction fix