mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-21 14:05:17 +02:00
feat: +software company test pass
This commit is contained in:
parent
e5cabbe3cd
commit
cc3567a4a1
5 changed files with 15 additions and 9 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue