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