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