Skip to content

RAG optional-dependency errors point to a non-existent "cofone[...]" package/extras #285

Description

@pcbeingused333

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:

  1. There is no cofone distribution — this package is named fenn (pyproject.toml -> name = "fenn").
  2. 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

Metadata

Metadata

Labels

bugSomething isn't workingtemplatesRelates to templates

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions