mirror of
https://github.com/OMGeeky/gpt-pilot.git
synced 2026-01-05 19:00:22 +01:00
TEMP: Commented out user tasks, environment setup and development breakdown
This commit is contained in:
@@ -49,20 +49,20 @@ class Project:
|
||||
self.user_tasks = user_tasks
|
||||
if architecture is not None:
|
||||
self.architecture = architecture
|
||||
if development_plan is not None:
|
||||
self.development_plan = development_plan
|
||||
# if development_plan is not None:
|
||||
# self.development_plan = development_plan
|
||||
|
||||
def start(self):
|
||||
self.project_manager = ProductOwner(self)
|
||||
self.project_manager.get_project_description()
|
||||
self.user_stories = self.project_manager.get_user_stories()
|
||||
self.user_tasks = self.project_manager.get_user_tasks()
|
||||
# self.user_tasks = self.project_manager.get_user_tasks()
|
||||
|
||||
self.architect = Architect(self)
|
||||
self.architecture = self.architect.get_architecture()
|
||||
|
||||
self.tech_lead = TechLead(self)
|
||||
self.development_plan = self.tech_lead.create_development_plan()
|
||||
# self.tech_lead = TechLead(self)
|
||||
# self.development_plan = self.tech_lead.create_development_plan()
|
||||
|
||||
# TODO move to constructor eventually
|
||||
if 'skip_until_dev_step' in self.args:
|
||||
|
||||
@@ -34,7 +34,7 @@ class Architect(Agent):
|
||||
{'name': self.project.args['name'],
|
||||
'prompt': self.project.project_description,
|
||||
'user_stories': self.project.user_stories,
|
||||
'user_tasks': self.project.user_tasks,
|
||||
# 'user_tasks': self.project.user_tasks,
|
||||
'app_type': self.project.args['app_type']}, ARCHITECTURE)
|
||||
|
||||
if self.project.args.get('advanced', False):
|
||||
|
||||
@@ -49,7 +49,7 @@ class Developer(Agent):
|
||||
"app_summary": self.project.project_description,
|
||||
"clarification": [],
|
||||
"user_stories": self.project.user_stories,
|
||||
"user_tasks": self.project.user_tasks,
|
||||
# "user_tasks": self.project.user_tasks,
|
||||
"technologies": self.project.architecture,
|
||||
"array_of_objects_to_string": array_of_objects_to_string,
|
||||
"directory_tree": self.project.get_directory_tree(True),
|
||||
@@ -121,7 +121,7 @@ class Developer(Agent):
|
||||
"app_summary": self.project.project_description,
|
||||
"clarification": [],
|
||||
"user_stories": self.project.user_stories,
|
||||
"user_tasks": self.project.user_tasks,
|
||||
# "user_tasks": self.project.user_tasks,
|
||||
"technologies": self.project.architecture,
|
||||
"array_of_objects_to_string": array_of_objects_to_string,
|
||||
"directory_tree": self.project.get_directory_tree(True),
|
||||
@@ -148,7 +148,10 @@ class Developer(Agent):
|
||||
|
||||
user_input = ''
|
||||
while user_input != 'DONE':
|
||||
user_input = styled_text(self.project, 'Please set up your local environment so that the technologies above can be utilized. When you\'re done, write "DONE"', 'yellow')
|
||||
user_input = styled_text(self.project, 'Please set up your local environment so that the technologies above can be utilized. When you\'re done, write "DONE"')
|
||||
save_progress(self.project.args['app_id'], self.project.current_step, {
|
||||
"os_specific_techologies": [], "newly_installed_technologies": [], "app_data": generate_app_data(self.project.args)
|
||||
})
|
||||
return
|
||||
# ENVIRONMENT SETUP
|
||||
print(colored(f"Setting up the environment...\n", "green"))
|
||||
|
||||
@@ -39,7 +39,7 @@ class TechLead(Agent):
|
||||
"app_summary": self.project.project_description,
|
||||
"clarification": [],
|
||||
"user_stories": self.project.user_stories,
|
||||
"user_tasks": self.project.user_tasks,
|
||||
# "user_tasks": self.project.user_tasks,
|
||||
"technologies": self.project.architecture
|
||||
}, DEVELOPMENT_PLAN)
|
||||
|
||||
|
||||
@@ -18,14 +18,14 @@ Here are user stories that specify how users use "{{ name }}":
|
||||
{% for story in user_stories %}
|
||||
- {{ story }}
|
||||
{% endfor %}
|
||||
```
|
||||
```{#
|
||||
|
||||
Here are user tasks that specify what users need to do to interact with "{{ name }}":
|
||||
```
|
||||
{% for task in user_tasks %}
|
||||
- {{ task }}
|
||||
{% endfor %}
|
||||
```
|
||||
```#}
|
||||
|
||||
Now, based on the app's description, user stories and user tasks, think step by step and write up all technologies that will be used by your development team to create the app "{{ name }}". Do not write any explanations behind your choices but only a list of technologies that will be used.
|
||||
|
||||
|
||||
@@ -8,12 +8,12 @@ Here is a high level description of "{{ name }}":
|
||||
Here are user stories that specify how users use "{{ name }}":
|
||||
```{% for story in user_stories %}
|
||||
- {{ story }}{% endfor %}
|
||||
```
|
||||
```{#
|
||||
|
||||
Here are user tasks that specify what users need to do to interact with "{{ name }}":
|
||||
```{% for task in user_tasks %}
|
||||
- {{ task }}{% endfor %}
|
||||
```
|
||||
```#}
|
||||
|
||||
Here are the technologies that you need to use for this project:
|
||||
```{% for tech in technologies %}
|
||||
|
||||
Reference in New Issue
Block a user