change print to exit message

main
nebula 2024-12-15 00:07:05 -06:00
parent dcbee92160
commit 9512c28035
1 changed files with 1 additions and 1 deletions

View File

@ -22,7 +22,7 @@ try:
with open("secrets.json", "r") as f:
secrets = load(f)
except FileNotFoundError:
print("Please create secrets.json with api key(s)")
exit("Please create secrets.json with api key(s)")
llama_url = "https://llama.mcopp.com/v1/chat/completions"
llama_headers = {