feat: +software company test pass

This commit is contained in:
莘权 马 2024-03-30 17:55:30 +08:00
parent e5cabbe3cd
commit cc3567a4a1
5 changed files with 15 additions and 9 deletions

View file

@ -132,7 +132,7 @@ class ToolRecommender(BaseModel):
available_tools=available_tools,
topk=topk,
)
rsp = await LLM().aask(prompt)
rsp = await LLM().aask(prompt, stream=False)
rsp = CodeParser.parse_code(block=None, text=rsp)
ranked_tools = json.loads(rsp)