broadfield commited on
Commit
c29d4b1
·
verified ·
1 Parent(s): 1a2b67b

Update app.py

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