mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-05 14:55:18 +02:00
fixbug: type error
This commit is contained in:
parent
ef3563500f
commit
ffa0a6223d
3 changed files with 25 additions and 8 deletions
|
|
@ -52,5 +52,5 @@ git clone 'https://github.com/spec-first/connexion' and format to MetaGPT projec
|
|||
)
|
||||
async def test_detect_intent(requirement, expected_intent_type):
|
||||
di = DetectIntent()
|
||||
_, intent_type = await di.run([Message(role="user", content=requirement)])
|
||||
_, intent_type = await di.run(Message(role="user", content=requirement))
|
||||
assert intent_type == expected_intent_type
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue