From a39e8267e5daf4808ce5d5e404ca84bb35e31282 Mon Sep 17 00:00:00 2001 From: flu0r1ne Date: Fri, 5 May 2023 14:50:15 -0500 Subject: remove dead code --- src/gpt_chat_cli/gcli.py | 15 --------------- 1 file changed, 15 deletions(-) (limited to 'src') diff --git a/src/gpt_chat_cli/gcli.py b/src/gpt_chat_cli/gcli.py index 9df4459..8ac7ac8 100644 --- a/src/gpt_chat_cli/gcli.py +++ b/src/gpt_chat_cli/gcli.py @@ -33,21 +33,6 @@ from .color import get_color_codes #### SAVE / REPLAY #### ########################### - -# def create_chat_completion_from_args(args : CompletionArguments) \ -# -> OpenAIChatResponseStream: -# return create_chat_completion( -# model=args.model, -# messages=[{ "role": "user", "content": args.message }], -# n=args.n_completions, -# temperature=args.temperature, -# presence_penalty=args.presence_penalty, -# frequency_penalty=args.frequency_penalty, -# max_tokens=args.max_tokens, -# top_p=args.top_p, -# stream=True -# ) - def create_singleton_chat_completion( message : str, completion_args : CompletionArguments -- cgit v1.2.3