Spaces:
Running
Running
broadfield
commited on
Update app.py
Browse files
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)
|