broadfield commited on
Commit
f1b8117
·
verified ·
1 Parent(s): cb7bc09

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +1 -0
app.py CHANGED
@@ -217,6 +217,7 @@ def agent(prompt_in,history,mod=2):
217
  com=""
218
  go=True
219
  MAX_DATA=int(clients[int(mod)]['max_tokens'])*2
 
220
  while go == True:
221
 
222
  seed = random.randint(1,9999999999999)
 
217
  com=""
218
  go=True
219
  MAX_DATA=int(clients[int(mod)]['max_tokens'])*2
220
+ if not history:history=prompt_in
221
  while go == True:
222
 
223
  seed = random.randint(1,9999999999999)