From 573c97b814d1bf8d0a59faf066012afa9580b384 Mon Sep 17 00:00:00 2001 From: Andrew White Date: Wed, 11 Sep 2024 08:28:50 -0700 Subject: [PATCH] More digits on cost (#364) --- paperqa/agents/tools.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/paperqa/agents/tools.py b/paperqa/agents/tools.py index ef457ee3..8577a0fa 100644 --- a/paperqa/agents/tools.py +++ b/paperqa/agents/tools.py @@ -39,7 +39,7 @@ def status(self) -> str: f"Status: Paper Count={len(self.docs.docs)} | Relevant Papers=" f"{len({c.text.doc.dockey for c in self.answer.contexts if c.score > self.RELEVANT_SCORE_CUTOFF})}" f" | Current Evidence={len([c for c in self.answer.contexts if c.score > self.RELEVANT_SCORE_CUTOFF])}" - f" | Current Cost=${self.answer.cost:.2f}" + f" | Current Cost=${self.answer.cost:.4f}" )