change print to exit message
This commit is contained in:
parent
dcbee92160
commit
9512c28035
2
main.py
2
main.py
@ -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 = {
|
||||
|
Loading…
x
Reference in New Issue
Block a user