AFischer1985 commited on
Commit
54a500e
·
verified ·
1 Parent(s): 58c0109

Update run.py

Browse files
Files changed (1) hide show
  1. run.py +1 -1
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 # 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))
 
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))