Spaces:
Running
Running
AFischer1985
commited on
Commit
•
b89481f
1
Parent(s):
beaf90e
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))
|