aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorflu0r1ne <flu0r1ne@flu0r1ne.net>2023-05-05 14:50:15 -0500
committerflu0r1ne <flu0r1ne@flu0r1ne.net>2023-05-05 14:50:15 -0500
commita39e8267e5daf4808ce5d5e404ca84bb35e31282 (patch)
tree3e33dead6ebc30d5a40050427473d2ce8c7f5ba0 /src
parentf3e5d6c6615f1ee623fcda83da671a54fafd128c (diff)
downloadgpt-chat-cli-a39e8267e5daf4808ce5d5e404ca84bb35e31282.tar.xz
gpt-chat-cli-a39e8267e5daf4808ce5d5e404ca84bb35e31282.zip
remove dead code
Diffstat (limited to 'src')
-rw-r--r--src/gpt_chat_cli/gcli.py15
1 files changed, 0 insertions, 15 deletions
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