Changed so development steps are hashed by the prompt path, prompt data and an llm request number + added functionality for resuming from a specific development step

This commit is contained in:
Zvonimir Sabljic
2023-08-03 16:18:18 +02:00
parent 82bfb2bd3e
commit fec1ce48b6
4 changed files with 35 additions and 10 deletions

View File

@@ -16,6 +16,9 @@ from database.models.file_snapshot import FileSnapshot
class Project:
def __init__(self, args, name=None, description=None, user_stories=None, user_tasks=None, architecture=None, development_plan=None, current_step=None):
self.args = args
self.llm_req_num = 0
self.skip_steps = True
self.skip_until_dev_step = args['skip_until_dev_step'] if 'skip_until_dev_step' in args else None
# TODO make flexible
self.root_path = ''