This commit is contained in:
parent
979a945466
commit
84c1ed8737
|
@ -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))
|
||||
|
|
Reference in New Issue