Spaces:
Runtime error
Runtime error
Update run.py
Browse files
run.py
CHANGED
@@ -229,7 +229,7 @@ def response(message, history,customSysPrompt,settings):
|
|
229 |
system, # system prompt
|
230 |
rag, # RAG-component added to the system prompt
|
231 |
system2, # fictive first words of the AI (neither displayed nor stored)
|
232 |
-
historylimit=historylimit
|
233 |
removeHTML=removeHTML # remove HTML-components from History (to prevent bugs with Markdown)
|
234 |
)
|
235 |
#print("\n\nMESSAGE:"+str(message))
|
|
|
229 |
system, # system prompt
|
230 |
rag, # RAG-component added to the system prompt
|
231 |
system2, # fictive first words of the AI (neither displayed nor stored)
|
232 |
+
historylimit=historylimit,# number of past messages to consider for response to current message
|
233 |
removeHTML=removeHTML # remove HTML-components from History (to prevent bugs with Markdown)
|
234 |
)
|
235 |
#print("\n\nMESSAGE:"+str(message))
|