()
| 3 | |
| 4 | |
| 5 | def init_subtask_chat(): |
| 6 | operation_history = [] |
| 7 | system_prompt = "You are a helpful AI assistant." |
| 8 | operation_history.append(["system", [{"type": "text", "text": system_prompt}]]) |
| 9 | return operation_history |
| 10 | |
| 11 | |
| 12 | def init_action_chat(): |