Clean up existing unused code according to flake8

This commit is contained in:
hongjiongteng 2023-07-22 11:55:57 +08:00
parent 0722257cd8
commit d74215c502
68 changed files with 57 additions and 161 deletions

View file

@ -12,6 +12,7 @@ from metagpt.provider.openai_api import OpenAIGPTAPI as LLM
DEFAULT_LLM = LLM()
CLAUDE_LLM = Claude()
async def ai_func(prompt):
"""使用LLM进行QA"""
return await DEFAULT_LLM.aask(prompt)