🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
When setting the max budget, I don't want to overcome this limit
Arnaud Gelas34b3de1f863e
diff --git a/metagpt/team.py b/metagpt/team.pyindex 8fd6760f5..aad24efa0 100644--- a/metagpt/team.py+++ b/metagpt/team.py@@ -88,7 +88,7 @@ class Team(BaseModel):@staticmethoddef _check_balance():- if CONFIG.cost_manager.total_cost > CONFIG.cost_manager.max_budget:+ if CONFIG.cost_manager.total_cost >= CONFIG.cost_manager.max_budget:raise NoMoneyException(CONFIG.cost_manager.total_cost, f"Insufficient funds: {CONFIG.cost_manager.max_budget}")