fix???
This commit is contained in:
parent
84c1ed8737
commit
a53790ee37
|
@ -16,7 +16,7 @@ def log_to_db(ip: str, token: str, prompt: str, response: Union[str, None], gen_
|
|||
'response': response,
|
||||
'gen_time': gen_time,
|
||||
'parameters': parameters,
|
||||
'headers': headers,
|
||||
'headers': dict(headers) if headers else headers,
|
||||
'backend_response_code': backend_response_code,
|
||||
'request_url': request_url,
|
||||
'backend_url': backend_url,
|
||||
|
|
Reference in New Issue