mirror of
https://github.com/OMGeeky/gpt-pilot.git
synced 2026-02-23 15:49:50 +01:00
Added connecting dev_step/user_input/command_run with the previous step in the database
This commit is contained in:
@@ -23,6 +23,7 @@ def styled_text(project, question):
|
||||
user_input = get_user_input_from_hash_id(project, question)
|
||||
if user_input is not None and project.skip_steps:
|
||||
# if we do, use it
|
||||
project.checkpoints['last_user_input'] = user_input
|
||||
print(colored(f'Restoring user input id {user_input.id}: ', 'yellow'), end='')
|
||||
print(colored(f'{user_input.user_input}', 'yellow', attrs=['bold']))
|
||||
return user_input.user_input
|
||||
|
||||
Reference in New Issue
Block a user