mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-11 15:15:18 +02:00
fixbug: type error
This commit is contained in:
parent
ffa0a6223d
commit
b91905ce58
1 changed files with 1 additions and 1 deletions
|
|
@ -14,7 +14,7 @@ class MGX(DataInterpreter):
|
|||
use_intent: bool = True
|
||||
intents: Dict = {}
|
||||
|
||||
async def _detect_intent(self, user_msg: Message = None, **kwargs):
|
||||
async def _detect_intent(self, user_msg: Message, **kwargs):
|
||||
todo = DetectIntent(context=self.context)
|
||||
request_with_sop, sop_type = await todo.run(user_msg)
|
||||
logger.info(f"{sop_type} {request_with_sop}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue