force summarization at the end
This commit is contained in:
@@ -582,7 +582,7 @@ class LocalAGI:
|
|||||||
# TODO: this needs to be optimized
|
# TODO: this needs to be optimized
|
||||||
responses = self.analyze(responses[1:],
|
responses = self.analyze(responses[1:],
|
||||||
prefix="",
|
prefix="",
|
||||||
suffix=f"Return an appropriate answer given the context above\n")
|
suffix=f"Return an appropriate answer given the context above, including a summary.\n")
|
||||||
|
|
||||||
# add responses to conversation history by extending the list
|
# add responses to conversation history by extending the list
|
||||||
conversation_history.append(
|
conversation_history.append(
|
||||||
|
|||||||
Reference in New Issue
Block a user