johann22 commited on
Commit
3f4c14b
·
1 Parent(s): eb25b77

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +2 -2
app.py CHANGED
@@ -33,7 +33,7 @@ client = InferenceClient(
33
 
34
 
35
  VERBOSE = True
36
- MAX_HISTORY = 10000
37
  #MODEL = "gpt-3.5-turbo" # "gpt-4"
38
 
39
 
@@ -231,7 +231,7 @@ def run_action(purpose, task, history, directory, action_name, action_input):
231
  return "MAIN", None, history, task
232
 
233
  def run(purpose,history):
234
-
235
  #print(purpose)
236
  #print(hist)
237
  task=None
 
33
 
34
 
35
  VERBOSE = True
36
+ MAX_HISTORY = 1000
37
  #MODEL = "gpt-3.5-turbo" # "gpt-4"
38
 
39
 
 
231
  return "MAIN", None, history, task
232
 
233
  def run(purpose,history):
234
+ purpose = format_prompt(purpose,history)
235
  #print(purpose)
236
  #print(hist)
237
  task=None