mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-06-14 15:25:17 +02:00
support Message() without content param
This commit is contained in:
parent
4bf1844022
commit
64c5673d6a
7 changed files with 24 additions and 14 deletions
|
|
@ -31,8 +31,8 @@ async def search():
|
|||
role = Sales(profile="Sales", store=store)
|
||||
role._watch({Action})
|
||||
queries = [
|
||||
Message("Which facial cleanser is good for oily skin?", cause_by=Action),
|
||||
Message("Is L'Oreal good to use?", cause_by=Action),
|
||||
Message(content="Which facial cleanser is good for oily skin?", cause_by=Action),
|
||||
Message(content="Is L'Oreal good to use?", cause_by=Action),
|
||||
]
|
||||
for query in queries:
|
||||
logger.info(f"User: {query}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue