fix mock_completion

This commit is contained in:
Ishaan Jaff 2024-06-07 19:09:17 -07:00
parent 47538135cf
commit 3ecc077507

View file

@ -475,6 +475,8 @@ def mock_completion(
except Exception: except Exception:
# dont let setting a hidden param block a mock_respose # dont let setting a hidden param block a mock_respose
pass pass
if logging is not None:
logging.post_call( logging.post_call(
input=messages, input=messages,
api_key="my-secret-key", api_key="my-secret-key",