-
Notifications
You must be signed in to change notification settings - Fork 3.3k
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
create .gpt-pilot directory, save project info & chat log #175
Conversation
|
||
|
||
class Project: | ||
def __init__(self, args, name=None, description=None, user_stories=None, user_tasks=None, architecture=None, | ||
development_plan=None, current_step=None, ipc_client_instance=None): | ||
development_plan=None, current_step=None, ipc_client_instance=None, enable_dot_pilot_gpt=True): |
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.
shouldn't this be False by default?
@@ -69,6 +70,11 @@ def __init__(self, args, name=None, description=None, user_stories=None, user_ta | |||
self.architecture = architecture | |||
# if development_plan is not None: | |||
# self.development_plan = development_plan | |||
self.dot_pilot_gpt = DotGptPilot(log_chat_completions=enable_dot_pilot_gpt) |
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.
can we do this "if enable_dot_pilot_gpt" ? Just to make sure it doesn't affect regular user at all. To be more clear something like:
if enable_dot_pilot_gpt:
self.dot_pilot_gpt = DotGptPilot(log_chat_completions=enable_dot_pilot_gpt)
|
||
def set_root_path(self, root_path: str): | ||
self.root_path = root_path | ||
self.dot_pilot_gpt.with_root_path(root_path) |
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.
i would also add check if enable_dot_pilot_gpt to this line
@@ -13,6 +13,7 @@ psycopg2-binary==2.9.6 | |||
python-dotenv==1.0.0 | |||
python-editor==1.0.4 | |||
pytest==7.4.2 | |||
pyyaml==6.0.1 |
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.
why do we need this dependency now?
@@ -13,6 +13,7 @@ psycopg2-binary==2.9.6 | |||
python-dotenv==1.0.0 | |||
python-editor==1.0.4 | |||
pytest==7.4.2 | |||
pyyaml==6.0.1 |
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.
why do we need this dependency now?
As per #121
This gives a much clearer view of what's going on behind the scenes. From here we can better adjust the prompts to reduce token usage (#38) and identify the source of other issues.
I'd like to see this
.gpt-pilot/project.yaml
become the new source for resuming projects - that way people could add/edit/removeuser_stories
etc.