Unverified Commit e48a7546 authored by buerbaumer's avatar buerbaumer Committed by GitHub
Browse files

Update chatmol.py

The model identifier should be "gpt-3.5-turbo" to be valid for a longer period of time.
parent 2a7384f5
Loading
Loading
Loading
Loading
+1 −1
Original line number Original line Diff line number Diff line
@@ -74,7 +74,7 @@ stashed_commands = []
# Save API Key in ~/.PyMOL/apikey.txt
# Save API Key in ~/.PyMOL/apikey.txt
API_KEY_FILE = os.path.expanduser('~')+"/.PyMOL/apikey.txt"
API_KEY_FILE = os.path.expanduser('~')+"/.PyMOL/apikey.txt"
OPENAI_KEY_ENV = "OPENAI_API_KEY"
OPENAI_KEY_ENV = "OPENAI_API_KEY"
GPT_MODEL = "gpt-3.5-turbo-1106"
GPT_MODEL = "gpt-3.5-turbo"
client = None
client = None


def set_api_key(api_key):
def set_api_key(api_key):