update qianfan pypi version

This commit is contained in:
betterwang 2024-02-23 12:45:06 +08:00
parent 41d6d2be1d
commit 655ba5647b
2 changed files with 3 additions and 3 deletions

View file

@ -42,7 +42,7 @@ class CostManager(BaseModel):
"""
self.total_prompt_tokens += prompt_tokens
self.total_completion_tokens += completion_tokens
if model not in TOKEN_COSTS:
if model not in self.token_costs:
logger.warning(f"Model {model} not found in TOKEN_COSTS.")
return

View file

@ -67,5 +67,5 @@ playwright>=1.26 # used at metagpt/tools/libs/web_scraping.py
anytree
ipywidgets==8.1.1
Pillow
qianfan==0.3.1
dashscope==1.14.1
qianfan==0.3.2
dashscope==1.14.1