This commit is contained in:
Paul Gauthier 2025-01-28 10:49:40 -08:00
parent 8a3cc6041d
commit 6e5b2c7368

View file

@ -112,6 +112,7 @@ def send_completion(
kwargs.update(extra_params)
key = json.dumps(kwargs, sort_keys=True).encode()
# dump(kwargs)
# Generate SHA1 hash of kwargs and append it to chat_completion_call_hashes
hash_object = hashlib.sha1(key)