mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-29 02:46:24 +02:00
Clean up existing unused code according to flake8
This commit is contained in:
parent
0722257cd8
commit
d74215c502
68 changed files with 57 additions and 161 deletions
|
|
@ -9,7 +9,7 @@ import ast
|
|||
import inspect
|
||||
import os
|
||||
import re
|
||||
from typing import List, Tuple, Union
|
||||
from typing import List, Tuple
|
||||
|
||||
from metagpt.logs import logger
|
||||
|
||||
|
|
|
|||
|
|
@ -10,8 +10,6 @@ ref3: https://github.com/hwchase17/langchain/blob/master/langchain/chat_models/o
|
|||
"""
|
||||
import tiktoken
|
||||
|
||||
from metagpt.schema import RawMessage
|
||||
|
||||
TOKEN_COSTS = {
|
||||
"gpt-3.5-turbo": {"prompt": 0.0015, "completion": 0.002},
|
||||
"gpt-3.5-turbo-0301": {"prompt": 0.0015, "completion": 0.002},
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue