mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-05-03 21:02:38 +02:00
fixbug: prompt format error
This commit is contained in:
parent
d7c1d9797f
commit
d79fe56a38
2 changed files with 32 additions and 32 deletions
|
|
@ -34,7 +34,7 @@ async def mock_write_teaching_plan_part():
|
|||
{
|
||||
"input": "AABBCC",
|
||||
"name": "A",
|
||||
"topic": "B",
|
||||
"topic": WriteTeachingPlanPart.COURSE_TITLE,
|
||||
"language": "C"
|
||||
},
|
||||
{
|
||||
|
|
@ -52,7 +52,7 @@ async def mock_write_teaching_plan_part():
|
|||
assert act.topic == seed.topic
|
||||
assert str(act) == seed.topic
|
||||
assert act.name == seed.name
|
||||
assert act.rsp == "prompt"
|
||||
assert act.rsp == "# prompt" if seed.topic == WriteTeachingPlanPart.COURSE_TITLE else "prompt"
|
||||
|
||||
|
||||
def test_suite():
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue