AashitaK commited on
Commit
23797db
·
verified ·
1 Parent(s): fd7364c

Update utils/response_manager.py

Browse files
Files changed (1) hide show
  1. utils/response_manager.py +2 -2
utils/response_manager.py CHANGED
@@ -166,8 +166,8 @@ class ResponseManager:
166
  max_output_tokens=max_output_tokens,
167
  max_num_results=max_num_results
168
  )
169
- logging.info("Response generated successfully.")
170
- history.append(response)
171
  return history
172
 
173
  except Exception as e:
 
166
  max_output_tokens=max_output_tokens,
167
  max_num_results=max_num_results
168
  )
169
+ # Append the user query and response to the conversation history
170
+ history += response
171
  return history
172
 
173
  except Exception as e: