diff --git a/metagpt/utils/cost_manager.py b/metagpt/utils/cost_manager.py index 921fbe6cd..b871cef3b 100644 --- a/metagpt/utils/cost_manager.py +++ b/metagpt/utils/cost_manager.py @@ -15,7 +15,6 @@ from metagpt.logs import logger from metagpt.utils.token_counter import FIREWORKS_GRADE_TOKEN_COSTS, TOKEN_COSTS - class Costs(NamedTuple): total_prompt_tokens: int total_completion_tokens: int @@ -145,4 +144,4 @@ class FireworksCostManager(CostManager): logger.info( f"Total running cost: ${self.total_cost:.4f}" f"Current cost: ${cost:.4f}, prompt_tokens: {prompt_tokens}, completion_tokens: {completion_tokens}" - ) \ No newline at end of file + )