🌟 The Multi-Agent Framework: First AI Software Company, Towards Natural Language Programming
rm pass
hy.lieff26f5cd79b
diff --git a/metagpt/provider/openai_api.py b/metagpt/provider/openai_api.pyindex 5847a4001..25a5c700b 100644--- a/metagpt/provider/openai_api.py+++ b/metagpt/provider/openai_api.py@@ -231,7 +231,6 @@ class OpenAIGPTAPI(BaseGPTAPI, RateLimiter):except Exception as e:logger.error("usage calculation failed!", e)CONFIG.calc_usage = False- passasync def acompletion_batch(self, batch: list[list[dict]]) -> list[dict]:"""返回完整JSON"""@@ -268,7 +267,6 @@ class OpenAIGPTAPI(BaseGPTAPI, RateLimiter):except Exception as e:logger.error("updating costs failed!", e)CONFIG.calc_usage = False- passdef get_costs(self) -> Costs:return self._cost_manager.get_costs()