Spaces:
Running
Running
fix error: invalid type
Browse files- 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:
|