From ffce6780127ca9e8044421869ce725ce2dc72e78 Mon Sep 17 00:00:00 2001 From: Simatwa Date: Sun, 14 Jan 2024 12:52:34 +0300 Subject: [PATCH] Accept cmd_args at startup --- WebChatGPT/console.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/WebChatGPT/console.py b/WebChatGPT/console.py index 24de2a3..1aeecee 100644 --- a/WebChatGPT/console.py +++ b/WebChatGPT/console.py @@ -277,7 +277,7 @@ def output_bond( with open(save_to, "a") as fh: json.dump(text, fh, indent=4) click.secho(f"Successfuly saved to `{save_to}`", fg="green") - + def do_h(self, line): """Show help info in tabular format""" table = Table( @@ -302,7 +302,7 @@ def do_h(self, line): ) Console().print(table) click.secho(f"Submit any bug at : {__repo__}/issues/new", fg="yellow") - + @busy_bar.run(help="Ensure conversation ID is correct") def do_history(self, line): """Show conversation history"""