Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Question,how to resume a project? #1436

Open
hgftrdw45ud67is8o89 opened this issue Aug 4, 2024 · 6 comments
Open

Question,how to resume a project? #1436

hgftrdw45ud67is8o89 opened this issue Aug 4, 2024 · 6 comments

Comments

@hgftrdw45ud67is8o89
Copy link
Contributor

I have no idea how to resume a project from error.or skip a part with error.

@iorisa
Copy link
Collaborator

iorisa commented Aug 5, 2024

Are you talking about using the metagpt command?

@hgftrdw45ud67is8o89
Copy link
Contributor Author

yeah if has flag to enable.

  • I tried --recover-path and --project-path xxxx "please continue to make app ignoring design error." but it gets affected by the example "make 2048 game",lol

But from my experience pydantic error similar to #1430 will directly closes the run and fail to make the docs or etc,so its impossible to resume.

  • I tried to make a try catch at action but don't know how to save the PRD/any docs from the project manager before it crashes.

@iorisa
Copy link
Collaborator

iorisa commented Aug 5, 2024

  1. The incremental capabilities of metagpt are targeted at the requirements level, you can "write a snake game" first, and add "add moving enemy" as the incremental requirement.
  2. If you want to fix a bug, it should be a code-level bug.

Here are some examples of metagpt usages:

@hgftrdw45ud67is8o89
Copy link
Contributor Author

hgftrdw45ud67is8o89 commented Aug 5, 2024

I tried the incremental way with>metagpt "write the code based on the design" --project-path "pathtoproject"

  • I found out 2 problem.

  • 1st,the incremental target will overwrite the old target requirement,"eg make a rust calendar cli" and save into requirement.txt Which will make the alice product manager think "based on the design ,from old incomplete PRD to make calender cli" is the key and use python eg my LLM now shows "File list": [ "main.py", "settings.py".... ],

  • 2nd, my simple bug fix in ec2c1dc adding Optional in design_plan_an.py doesn't work i still receive Value error, Missing fields: {'Data structures and interfaces

I am planning to make new issues/wait bug fix to step by step fix it. I can always volunteer to test the fix and see if it works.

@iorisa
Copy link
Collaborator

iorisa commented Aug 6, 2024

Sorry, I didn't understand what you wanted to do-_-||.

  • requirement.txt is an input for metagpt, and the old and incremental user requirements are merged and saved in PRD, not in the requirement.txt.
  • The software company of metagpt is a demo of a standard operating procedure (SOP) for software development. It cannot analyze user requirements, so you must clearly state your goal, not the problem or to-do list.
  • The entire SOP of the software company includes designing and coding.
  • SOP is a fixed flow. If you want to solve flexible and changing problems, it is recommended to take a look at DI.
  • I'll recheck DO NOT FORCE VALIDATE '{'Required Python packages'}' by default #1430

@hgftrdw45ud67is8o89
Copy link
Contributor Author

hmm~ i see.I understand a bit.

So,to do flexible task without messing using the sop flow,we can directly use DI?
So,in my mind the flow is like

  • SOP->llm Answer/Code?
  • DI
  • Multi agent
  • etc?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants