This commit is contained in:
Cyberes 2023-10-05 17:58:23 -06:00
parent 979a945466
commit 84c1ed8737
1 changed files with 2 additions and 1 deletions

View File

@ -24,5 +24,6 @@ def log_to_db(ip: str, token: str, prompt: str, response: Union[str, None], gen_
'is_error': is_error
}
}
print(data)
for k, v in data['kwargs'].items():
print(k, type(v))
r.publish('database-logger', pickle.dumps(data))