mirror of
https://github.com/OMGeeky/gpt-pilot.git
synced 2026-02-23 15:49:50 +01:00
fix loading project steps
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
import uuid
|
||||
from utils.style import yellow, green, red, blue, white, green_bold, yellow_bold, red_bold, blue_bold, white_bold
|
||||
from utils.style import green, red, green_bold, yellow_bold, red_bold, blue_bold, white_bold
|
||||
from helpers.exceptions.TokenLimitError import TokenLimitError
|
||||
from const.code_execution import MAX_COMMAND_DEBUG_TRIES
|
||||
from helpers.exceptions.TooDeepRecursionError import TooDeepRecursionError
|
||||
@@ -308,7 +308,7 @@ class Developer(Agent):
|
||||
|
||||
user_input = ''
|
||||
while user_input.lower() != '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"')
|
||||
user_input = styled_text(self.project, 'Please set up your local environment so that the technologies listed can be utilized. When you\'re done, write "DONE"')
|
||||
save_progress(self.project.args['app_id'], self.project.current_step, {
|
||||
"os_specific_technologies": [], "newly_installed_technologies": [], "app_data": generate_app_data(self.project.args)
|
||||
})
|
||||
|
||||
@@ -20,7 +20,7 @@ class ProductOwner(Agent):
|
||||
super().__init__('product_owner', project)
|
||||
|
||||
def get_project_description(self):
|
||||
self.project.app = save_app(self.project.args)
|
||||
self.project.app = save_app(self.project)
|
||||
self.project.current_step = PROJECT_DESCRIPTION_STEP
|
||||
|
||||
# If this app_id already did this step, just get all data from DB and don't ask user again
|
||||
@@ -40,7 +40,7 @@ class ProductOwner(Agent):
|
||||
|
||||
self.project.root_path = setup_workspace(self.project.args)
|
||||
|
||||
self.project.app = save_app(self.project.args)
|
||||
self.project.app = save_app(self.project)
|
||||
|
||||
main_prompt = ask_for_main_app_definition(self.project)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user