change print to exit message
parent
dcbee92160
commit
9512c28035
2
main.py
2
main.py
|
@ -22,7 +22,7 @@ try:
|
||||||
with open("secrets.json", "r") as f:
|
with open("secrets.json", "r") as f:
|
||||||
secrets = load(f)
|
secrets = load(f)
|
||||||
except FileNotFoundError:
|
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_url = "https://llama.mcopp.com/v1/chat/completions"
|
||||||
llama_headers = {
|
llama_headers = {
|
||||||
|
|
Loading…
Reference in New Issue