Format import according to isort

This commit is contained in:
hongjiongteng 2023-07-22 11:28:22 +08:00
parent b72b6adbac
commit 0722257cd8
88 changed files with 232 additions and 159 deletions

View file

@ -7,9 +7,9 @@
"""
import asyncio
from metagpt.llm import LLM, Claude
from metagpt.logs import logger
from metagpt.llm import LLM
from metagpt.llm import Claude
async def main():
llm = LLM()

View file

@ -7,6 +7,7 @@
"""
import asyncio
from metagpt.config import Config
from metagpt.roles import Searcher

View file

@ -4,10 +4,11 @@
@File : search_kb.py
"""
import asyncio
from metagpt.const import DATA_PATH
from metagpt.document_store import FaissStore
from metagpt.roles import Sales
from metagpt.logs import logger
from metagpt.roles import Sales
async def search():

View file

@ -1,8 +1,10 @@
import asyncio
from metagpt.config import Config
from metagpt.roles import Searcher
from metagpt.tools import SearchEngineType
async def main():
# Serper API
await Searcher(engine = SearchEngineType.SERPER_GOOGLE).run("What are some good sun protection products?")