mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-04-27 09:46:24 +02:00
feat: + DI args error
feat: + test case
This commit is contained in:
parent
d9f70730f7
commit
dd9b573eb4
6 changed files with 45 additions and 30 deletions
|
|
@ -16,6 +16,10 @@ from tests.metagpt.actions.test_intent_detect import DEMO1_CONTENT, DEMO_CONTENT
|
|||
[
|
||||
[Message.model_validate(i) for i in DEMO_CONTENT if i["role"] == "user"],
|
||||
[Message.model_validate(i) for i in DEMO1_CONTENT if i["role"] == "user"],
|
||||
[
|
||||
Message(role="user", content='Create a "2048 game"'),
|
||||
Message(role="user", content='"IndentationError: expected an indented block"'),
|
||||
],
|
||||
],
|
||||
)
|
||||
async def test_mgx(user_messages: List[Message]):
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue