mirror of
https://github.com/FoundationAgents/MetaGPT.git
synced 2026-07-11 16:22:15 +02:00
Merge pull request #911 from garylin2099/ci_dev
fix human interact bug & add example
This commit is contained in:
commit
48f8b7d67d
2 changed files with 6 additions and 6 deletions
|
|
@ -122,7 +122,7 @@ class Planner(BaseModel):
|
|||
) # "confirm, ... (more content, such as changing downstream tasks)"
|
||||
if confirmed_and_more:
|
||||
self.working_memory.add(Message(content=review, role="user", cause_by=AskReview))
|
||||
await self.update_plan(review)
|
||||
await self.update_plan()
|
||||
|
||||
def get_useful_memories(self, task_exclude_field=None) -> list[Message]:
|
||||
"""find useful memories only to reduce context length and improve performance"""
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue