This commit is contained in:
Cyberes 2023-10-05 18:01:08 -06:00
parent 84c1ed8737
commit a53790ee37
1 changed files with 1 additions and 1 deletions

View File

@ -16,7 +16,7 @@ def log_to_db(ip: str, token: str, prompt: str, response: Union[str, None], gen_
'response': response, 'response': response,
'gen_time': gen_time, 'gen_time': gen_time,
'parameters': parameters, 'parameters': parameters,
'headers': headers, 'headers': dict(headers) if headers else headers,
'backend_response_code': backend_response_code, 'backend_response_code': backend_response_code,
'request_url': request_url, 'request_url': request_url,
'backend_url': backend_url, 'backend_url': backend_url,