jjz5463 commited on
Commit
bae7d1e
1 Parent(s): e3ac915

fix error: invalid type

Browse files
Files changed (1) hide show
  1. chatbot_simulator.py +1 -1
chatbot_simulator.py CHANGED
@@ -146,7 +146,7 @@ Example Output Format:
146
  'task_completed': 'False',
147
  }}
148
  """
149
- updated_state = self._get_openai_response({'role': 'system', 'content': transform_prompt})
150
  updated_state = json_repair.loads(updated_state)
151
 
152
  try:
 
146
  'task_completed': 'False',
147
  }}
148
  """
149
+ updated_state = self._get_openai_response([{'role': 'system', 'content': transform_prompt}])
150
  updated_state = json_repair.loads(updated_state)
151
 
152
  try: