Commit 7069583b authored by Leo Gao's avatar Leo Gao
Browse files

Set dummy secret key

parent 21a1178c
...@@ -10,6 +10,8 @@ import mock ...@@ -10,6 +10,8 @@ import mock
import pickle import pickle
import hashlib import hashlib
os.environ['OPENAI_API_SECRET_KEY'] = ""
def completion(**kwargs): def completion(**kwargs):
hash = hashlib.sha256(json.dumps(kwargs, sort_keys=True).encode('utf-8')).hexdigest() hash = hashlib.sha256(json.dumps(kwargs, sort_keys=True).encode('utf-8')).hexdigest()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment