mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-24 14:15:17 +02:00
rm pass
This commit is contained in:
parent
89b4361ef4
commit
eff26f5cd7
1 changed files with 0 additions and 2 deletions
|
|
@ -231,7 +231,6 @@ class OpenAIGPTAPI(BaseGPTAPI, RateLimiter):
|
|||
except Exception as e:
|
||||
logger.error("usage calculation failed!", e)
|
||||
CONFIG.calc_usage = False
|
||||
pass
|
||||
|
||||
async 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
|
||||
pass
|
||||
|
||||
def get_costs(self) -> Costs:
|
||||
return self._cost_manager.get_costs()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue