-
Notifications
You must be signed in to change notification settings - Fork 3.2k
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
support existing projects #976
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
In general I think it is good that with new agent we also create system message for that agent but if this works ok, we can skip it now
f"Please copy your project files to {project_root} and press Continue", | ||
allow_empty=False, | ||
buttons={ | ||
"continue": "Continue", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We should have Back
button also
imported_lines = sum(len(f.content.content.splitlines()) for f in imported_files) | ||
if imported_lines > MAX_PROJECT_LINES: | ||
await self.send_message( | ||
"WARNING: Your project ({imported_lines} LOC) is larger than supported and may cause issues in Pythagora." |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If i understand this correctly we don't really block users from loading bigger projects, we just show the warning. I think warning is not enough and we should check LOC before importing files and then fail importing if it is bigger project
|
||
spec = self.current_state.specification.clone() | ||
spec.description = llm_response | ||
self.next_state.specification = spec |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should we maybe also get architecture, sys dependencies and package dependencies?
Adds EXPERIMENTAL support for importing existing projects.
Demo
2024-05-29-08-36.mp4