kenken999 commited on
Commit
4b68b67
·
1 Parent(s): 9196af1
controllers/gra_02_openInterpreter/OpenInterpreter.py CHANGED
@@ -120,9 +120,9 @@ def format_responses(chunk, full_response):
120
  # This function will format the response from the interpreter
121
  return full_response + chunk.get("content", "")
122
 
123
- def chat_with_interpreter(message, history=None, a=None, b=None, c=None, d=None):
124
 
125
- if a != 12345:
126
  yield "full_response"
127
  return "full_response", history
128
 
 
120
  # This function will format the response from the interpreter
121
  return full_response + chunk.get("content", "")
122
 
123
+ def chat_with_interpreter(message, history=None,password=None, temperature=None, max_new_tokens=None):
124
 
125
+ if password != 12345:
126
  yield "full_response"
127
  return "full_response", history
128