mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-14 15:25:17 +02:00
Format import according to isort
This commit is contained in:
parent
b72b6adbac
commit
0722257cd8
88 changed files with 232 additions and 159 deletions
|
|
@ -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()
|
||||
|
|
|
|||
|
|
@ -7,6 +7,7 @@
|
|||
"""
|
||||
|
||||
import asyncio
|
||||
|
||||
from metagpt.config import Config
|
||||
from metagpt.roles import Searcher
|
||||
|
||||
|
|
|
|||
|
|
@ -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():
|
||||
|
|
|
|||
|
|
@ -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?")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue