aboutsummaryrefslogtreecommitdiff
path: root/src/gpt_chat_cli/cmd.py
diff options
context:
space:
mode:
Diffstat (limited to 'src/gpt_chat_cli/cmd.py')
-rw-r--r--src/gpt_chat_cli/cmd.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/gpt_chat_cli/cmd.py b/src/gpt_chat_cli/cmd.py
index d7aed6c..86ce0e6 100644
--- a/src/gpt_chat_cli/cmd.py
+++ b/src/gpt_chat_cli/cmd.py
@@ -12,7 +12,6 @@ from typing import Tuple, Optional
from .openai_wrappers import (
create_chat_completion,
- list_models,
OpenAIChatResponse,
OpenAIChatResponseStream,
FinishReason,
@@ -20,6 +19,8 @@ from .openai_wrappers import (
ChatMessage
)
+from .openai_wrappers import list_models as openai_list_models
+
from .argvalidation import (
Arguments,
DisplayArguments,
@@ -235,7 +236,7 @@ def version():
print(f'version {VERSION}')
def list_models():
- for model in list_models():
+ for model in openai_list_models():
print(model)
def interactive(args : Arguments):