mirror of
https://github.com/OMGeeky/gpt-pilot.git
synced 2026-02-23 15:49:50 +01:00
fix prompts and loading of stored conversation
This commit is contained in:
@@ -21,7 +21,7 @@ def styled_select(*args, **kwargs):
|
||||
def styled_text(project, question):
|
||||
project.user_inputs_count += 1
|
||||
user_input = get_user_input_from_hash_id(project, question)
|
||||
if user_input is not None and project.skip_steps:
|
||||
if user_input is not None and user_input.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='')
|
||||
|
||||
Reference in New Issue
Block a user