mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-10-25 09:52:25 +08:00
Add files via upload
This commit is contained in:
@@ -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}"
|
||||
)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user