mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-05 14:55:18 +02:00
fix bug
This commit is contained in:
parent
ef4323c6b4
commit
feedafeb78
1 changed files with 1 additions and 1 deletions
|
|
@ -223,7 +223,7 @@ class OpenAILLM(BaseLLM):
|
|||
|
||||
def get_costs(self) -> Costs:
|
||||
if not self.cost_manager:
|
||||
return Costs()
|
||||
return Costs(0, 0, 0, 0)
|
||||
return self.cost_manager.get_costs()
|
||||
|
||||
def _get_max_tokens(self, messages: list[dict]):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue