If any of the tools are excluded, PaperQA will not function. They all play a distinct and required role (paper_search to get new papers, gather_evidence to get relevant evidence, and gen_answer for answering), and none are optional.
We can either:
Validate for all required tools, leading to an explicit failure
Perhaps in the future when we add the citation traversal tool, this tool will be optional.
Validate for none of them, leading to an implicit failure, as if any tools are unspecified the agent will either get truncated or fail
If any of the tools are excluded, PaperQA will not function. They all play a distinct and required role (
paper_search
to get new papers,gather_evidence
to get relevant evidence, andgen_answer
for answering), and none are optional.We can either:
We can YAGNI on the first route, so this PR takes the second route as suggested in this PR comment: https://github.com/Future-House/paper-qa/pull/684#discussion_r1841332919