diff --git a/pilot/.env.example b/pilot/.env.example index e6611002..d53210e9 100644 --- a/pilot/.env.example +++ b/pilot/.env.example @@ -1,5 +1,5 @@ OPENAI_API_KEY= -DB_NAME=pilot +DB_NAME=gpt-pilot DB_HOST=localhost DB_PORT=5432 DB_USER=admin diff --git a/pilot/const/llm.py b/pilot/const/llm.py index 6fc84c87..ca422678 100644 --- a/pilot/const/llm.py +++ b/pilot/const/llm.py @@ -1,4 +1,4 @@ MIN_TOKENS_FOR_GPT_RESPONSE = 600 MAX_GPT_MODEL_TOKENS = 8192 -MAX_QUESTIONS = 3 +MAX_QUESTIONS = 5 END_RESPONSE = "EVERYTHING_CLEAR" diff --git a/pilot/helpers/agents/Developer.py b/pilot/helpers/agents/Developer.py index 45086185..5a23d3d6 100644 --- a/pilot/helpers/agents/Developer.py +++ b/pilot/helpers/agents/Developer.py @@ -153,7 +153,7 @@ class Developer(Agent): return user_input = '' - while user_input != 'DONE': + 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"') 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)