This commit is contained in:
parent
19e62be3e8
commit
979a945466
|
@ -24,4 +24,5 @@ def log_to_db(ip: str, token: str, prompt: str, response: Union[str, None], gen_
|
||||||
'is_error': is_error
|
'is_error': is_error
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
print(data)
|
||||||
r.publish('database-logger', pickle.dumps(data))
|
r.publish('database-logger', pickle.dumps(data))
|
||||||
|
|
Reference in New Issue