openAI key + model selection

added some functions to select models in command line + ability to paste the api key in command line if not set
pull/37/head
ksfi 2023-04-26 23:09:01 +02:00 zatwierdzone przez GitHub
rodzic c75cce293a
commit 45c1100243
Nie znaleziono w bazie danych klucza dla tego podpisu
ID klucza GPG: 4AEE18F83AFDEB23
1 zmienionych plików z 1 dodań i 1 usunięć

Wyświetl plik

@ -56,7 +56,7 @@ def model_choice(model):
model_choice(DEFAULT_MODEL)
with open("../prompt.txt", encoding="utf-8") as file:
with open("prompt.txt", encoding="utf-8") as file:
SYSTEM_PROMPT = file.read()