Spaces:
Sleeping
Sleeping
Update utils/response_manager.py
Browse files
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 |
-
|
170 |
-
history
|
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:
|