fixbug: type error

This commit is contained in:
莘权 马 2024-04-07 13:27:10 +08:00
parent ef3563500f
commit ffa0a6223d
3 changed files with 25 additions and 8 deletions

View file

@ -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